Fred Drake
4c12ee866b
Another name!
2000-12-07 00:06:46 +00:00
Fred Drake
fd4d29cf5d
Typo caught by Jim Tittsler <jwt@onjapan.net>: They --> The
2000-12-07 00:03:24 +00:00
Fred Drake
b62966c175
Note that, as of Python 1.6, the .returns_unicode attribute on parser
...
objects can be modified at any point with the expected results.
2000-12-07 00:00:21 +00:00
Guido van Rossum
37da22b3f4
The C+ compiler is called $(CXX) these days, not CCC.
...
This fixes SF Bug #124478 .
2000-12-06 23:46:29 +00:00
Barry Warsaw
23f26ce813
Fix `credits' to credit the Jython developers when running under that
...
interpreter. Update and reword the credits for CPython. Closes SF
patch #102665 .
2000-12-06 22:20:07 +00:00
Barry Warsaw
b6a54d2a2c
_getframe(): New sys module function for getting at the stack frame.
...
Implements and closes SF patch #102106 , with Guido's suggested
documentation changes.
2000-12-06 21:47:46 +00:00
Fred Drake
e63544f872
posix_getlogin(): Be more cautious about interpreting a NULL from
...
getlogin() -- it is not clear that a NULL is always
an error.
2000-12-06 21:45:33 +00:00
Fred Drake
a30680b240
posix_getlogin(): Handle the possibility that getlogin() can return
...
NULL without setting errno; observed on Linux
Mandrake 7.2 by an anonymous user.
This closes bug #124758 .
2000-12-06 21:24:28 +00:00
Fred Drake
49312a52ec
Jeffrey D. Collins <tokeneater@users.sourceforge.net>:
...
Fix type of the self parameter to some string object methods.
This closes patch #102670 .
2000-12-06 14:27:49 +00:00
Sjoerd Mullender
f7e84e12b3
Two changes:
...
- Use new Error class (subclass of RuntimeError so is backward
compatible) which is raised when RuntimeError used to be raised.
- Report original attribute name in error messages instead of name
mangled with namespace URL.
2000-12-06 10:37:57 +00:00
Fred Drake
21e4dd0492
Two typos caught by /F; thanks!
2000-12-04 22:29:17 +00:00
Fred Drake
e119c8fc61
Added a comment for ContentHandler.characters() explaining how to migrate
...
SAX1 code to SAX2, based on bug #123695 .
2000-12-04 22:04:15 +00:00
Fred Drake
3d5f7e83c7
Add test cases for ConfigParser.remove_option() behavior. This includes
...
coverage to ensure bug #124324 does not re-surface.
2000-12-04 16:30:40 +00:00
Fred Drake
ff4a23bbcb
remove_option(): Use the right variable name for the option name!
...
This closes bug #124324 .
2000-12-04 16:29:13 +00:00
Neil Schemenauer
cc343caf41
Make isinstance() more permissive in what types of arguments it
...
accepts. Clarify exception messages for isinstance() and
issubclass(). Closes bug #124106 .
2000-12-04 15:42:11 +00:00
Jack Jansen
24342d96c5
Updated for the current state of the main Python source tree.
2000-12-03 22:43:45 +00:00
Jack Jansen
a49bdc0179
These have been replaced by the new generated projects.
2000-12-03 22:43:05 +00:00
Jack Jansen
420c4aa9bc
The new generated plugin projects. Checked in in XML form, so cvs diffs should work.
2000-12-03 22:41:57 +00:00
Jack Jansen
0eba959ed3
Added an extraexportsymbols option, to allow (you guessed it:-) extra export symbols to be specified.
2000-12-03 22:39:09 +00:00
Jack Jansen
aee9d6b73e
Allow recursive searh entries by ending the pathname in ":*".
2000-12-03 22:38:34 +00:00
Jack Jansen
cb9b1ebe6c
Don't generate SYM files by default.
2000-12-03 22:37:32 +00:00
Jack Jansen
a5d384dedf
Updated for the new project names.
2000-12-03 22:36:42 +00:00
Jack Jansen
6c502d7a81
Got it working for all important plugins, and moved it from Build to scripts.
2000-12-03 22:31:50 +00:00
Moshe Zadka
afb17fc7b2
Call of _cmp had wrong number of paramereters.
...
Fixed definition of _cmp.
2000-12-03 20:48:07 +00:00
Martin v. Löwis
1d99433a58
Convert Unicode strings to byte strings before passing them into specific
...
protocols. Closes bug #119822 .
2000-12-03 18:30:10 +00:00
Fred Drake
57657bce94
Update Moshe Zadka's email address to one works and might last a while.
2000-12-01 15:25:23 +00:00
Guido van Rossum
e4dad905d4
Patch by Michael Hudson to clarify the error message from
...
getsockaddrarg when the address is not a tuple.
2000-12-01 13:13:11 +00:00
Guido van Rossum
60a1e7fc99
Clarified some of the error messages, esp. "read-only character
...
buffer" replaced by "string or read-only character buffer".
2000-12-01 12:59:05 +00:00
Tim Peters
9940b800a4
Made the description of %[udxXo] formats of negative longs in 2.1 more accurate.
...
I suggested to Guido that %u be deprecated (it seems useless in Python to me).
2000-12-01 07:59:35 +00:00
Moshe Zadka
5725d1eb03
Backing out my changes.
...
Improved version coming soon to a Source Forge near you!
2000-11-30 19:30:21 +00:00
Andrew M. Kuchling
1221e6df3d
Only use getline() when compiling using glibc
2000-11-30 18:27:50 +00:00
Moshe Zadka
1a62750eda
Added .first{item,value,key}() to dictionaries.
...
Complete with docos and tests.
OKed by Guido.
2000-11-30 12:31:03 +00:00
Fred Drake
827bb9fb3c
Adjust to allow an explanation of the changes to be included in the
...
notification message.
2000-11-30 07:38:59 +00:00
Fred Drake
e463f8e4cd
A few small refinements to the table building code.
2000-11-30 07:17:27 +00:00
Fred Drake
c01f6e691b
Use a table to describe the keys to the locale information dictionary;
...
this is slightly easier to read than the list environment that had been
used.
2000-11-30 07:13:58 +00:00
Fred Drake
e0b9deb3ce
Use small tables instead of bare \item markers to describe the contents
...
of return tuples. The bare \item took advantage of an implementation
detail when formatting in LaTeX, and was just wrong when generating HTML.
It also broke the XML conversion scripts, since there was no enclosing
list-like environment to contain them.
2000-11-30 07:12:54 +00:00
Fred Drake
1aaf5855f7
Added name.
2000-11-30 07:09:59 +00:00
Tim Peters
a3a3a030af
Fox for SF bug #123859 : %[duxXo] long formats inconsistent.
2000-11-30 05:22:44 +00:00
Andrew M. Kuchling
469d5bb0b4
Clarify two comments
2000-11-30 01:57:18 +00:00
Fred Drake
6b3f3f2861
In the first discussion showing how to handle exceptions from C, make the
...
Python equivalent actually equivalent to the C code. Also, in the C code,
place the "goto" statements on a line by themselves for better visibility
of statements that affect control flow.
This closes bug #123398 .
2000-11-29 15:48:22 +00:00
Guido van Rossum
15ffc71c0f
Slight improvement to Unicode test suite, inspired by patch #102563 :
...
also test join method of 8-bit strings.
Also changed the test() function to (1) compare the types of the
expected and actual result, and (2) in verbose mode, print the repr()
of the output.
2000-11-29 12:13:59 +00:00
Jack Jansen
b5ec5e4b41
Contributed code that converts Python source files to any combination of tabs/spaces for indenting.
2000-11-29 10:02:22 +00:00
Fred Drake
f65ab1bf10
Added entries reflecting the separation of the abstract DOM documentation
...
and the implementation docs for xml.dom.minidom.
2000-11-29 06:11:29 +00:00
Fred Drake
eaf57aa44a
Substantial re-organization of the DOM documentation. The abstract API
...
is now separated from the supplied standard implementation. Not all
interfaces are documented yet, but the structure is better set up to do
so.
There is still a lot to do here, but the shape of the documentation is
coming into line.
2000-11-29 06:10:22 +00:00
Fred Drake
4a6f1df48c
Fix broken backslashes in Unicode strings section.
...
This closes bug #123730 .
2000-11-29 06:03:45 +00:00
Tim Peters
657ebef2ae
Partial fix for SF bug 123730: extra backslash in tutorial.
2000-11-29 05:51:59 +00:00
Andrew M. Kuchling
4b2b445f28
Patch #102469 : Use glibc's getline() extension when reading unbounded lines
2000-11-29 02:53:22 +00:00
Andrew M. Kuchling
78a14423af
Patch #102469 : Check for glibc's getline() extension
2000-11-29 02:44:05 +00:00
Fred Drake
ee814bf2c9
Added documentation for the Py_InitModule*() family of functions.
2000-11-28 22:34:32 +00:00
Fred Drake
83ff4af1a3
Added information on the use of Unicode with the StringIO and cStringIO
...
modules, otherwise the behavior is just plain confusing.
2000-11-28 16:24:28 +00:00