summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #825679: Clarify semantics of .isfoo on empty strings.Martin v. Löwis2003-10-183-27/+31
| | | | Backported to 2.3.
* Patch #809535: Mention behaviour of seek on text files. Backported to 2.3.Martin v. Löwis2003-10-182-2/+9
|
* Implemented non-recursive SRE matching.Gustavo Niemeyer2003-10-179-472/+842
|
* Typo found by Lokasz Pankowski:Thomas Heller2003-10-161-1/+1
| | | | dir_created -> directory_created
* Fix typo found by Neal Norwitz.Raymond Hettinger2003-10-161-1/+1
|
* Let library modules use the new keyword arguments for list.sort().Raymond Hettinger2003-10-167-24/+18
|
* * list.sort() now supports three keyword arguments: cmp, key, and reverse.Raymond Hettinger2003-10-164-86/+366
| | | | | | | key provides C support for the decorate-sort-undecorate pattern. reverse provide a stable sort of the list with the comparisions reversed. * Amended the docs to guarantee sort stability.
* Added Bjorn Pettersen for initial conversion of Lib/platform.py's docstring ↵Brett Cannon2003-10-141-0/+1
| | | | to LaTeX.
* Initial checkin of docs for Lib/platform.py .Brett Cannon2003-10-142-0/+224
| | | | | | Closes patch #785752 and bug #726911. Should be backported after correctness and such has been verified by Fred.
* Open results files, which contain binary pickles, in binary mode.Jeremy Hylton2003-10-141-4/+2
| | | | | Remove fallback code that tries to read marshal data from a results file, since this module never writes marshal data.
* SF bug #821701: reduce docs neglect a very important piece of information.Raymond Hettinger2003-10-131-1/+3
| | | | Add a note showing which argument is the accumulator.
* SF #822262, Typo in Doc/api/intro.texNeal Norwitz2003-10-131-1/+1
|
* Add test__locale to expected skip list for Darwin.Brett Cannon2003-10-131-0/+1
|
* fix for bug [819860]: make sure the buffer gets emptied, even if WEInsert() ↵Just van Rossum2003-10-121-4/+8
| | | | fails
* Simplify and speedup uses of Py_BuildValue():Raymond Hettinger2003-10-1225-75/+71
| | | | | | * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a)
* Extended tuple's C API to include a new function, PyTuple_Pack() that isRaymond Hettinger2003-10-124-1/+37
| | | | | useful for rapidly building argument tuples without having to invoke the more sophisticated machinery of Py_BuildValue().
* Patch #810914: Return absolute path for mkstemp. Fixes #810408.Martin v. Löwis2003-10-123-2/+10
| | | | | This should not be backported to 2.3, as it might break backwards compatibility.
* Minor fixup. "Random" was listed twice in __all__.Raymond Hettinger2003-10-121-2/+1
|
* Add mention of urlparse becoming RFC 2396 compliant.Brett Cannon2003-10-121-0/+2
|
* (revision purely to add comment)Brett Cannon2003-10-120-0/+0
| | | | | Make urlparse RFC 2396 compliant. Closes bug #450225 (thanks Michael Stone).
* (just for comment to fix previous commit comment)Brett Cannon2003-10-120-0/+0
| | | | | Add Michael Stone for helping with bug #450225 (making urlparse RFC 2396 compliant).
* See rev. 1.250 for log messageBrett Cannon2003-10-121-0/+1
|
* See rev. 1.42 for log messageBrett Cannon2003-10-121-6/+2
|
* see rev. 1.13 for log messageBrett Cannon2003-10-121-5/+2
|
* SF patch #819955: Erroneous \seemodule in tarfile docsRaymond Hettinger2003-10-121-1/+1
| | | | (Contributed by Johannes Gijsbers.)
* Use the simpler and faster PyArg_UnpackTuple() instead ofRaymond Hettinger2003-10-111-24/+24
| | | | PyArg_ParseTuple() where possible.
* SF bug #820397: __nonzero__() returns 1/0Raymond Hettinger2003-10-111-1/+15
| | | | | | Altered to return a PyBool instead of a PyInt. Backport candidate.
* add some information about using graphics with the Python documentFred Drake2003-10-111-0/+93
| | | | classes
* Ouch. Remove debug code containing obscenities. :-)Guido van Rossum2003-10-101-3/+0
|
* The fullmodname() function chopped off the first character if theGuido van Rossum2003-10-101-1/+8
| | | | | module existed in the current directory. Fix this. Backport candidate (I presume).
* To build on windows, the manual editing of the python_nt.rc file toThomas Heller2003-10-105-34/+162
| | | | | | | | | change the version number is no longer required. Instead, a make_versioninfo.exe is compiled, which spits out an include file for python_nt.rc. Will backport to 2.3
* TCPServer: Fixed typo in class docstring.Barry Warsaw2003-10-091-1/+1
|
* TCPServer: Fixed typo in class docstring.Barry Warsaw2003-10-091-1/+1
| | | | Backport candidate.
* Return a bool rather than an int from proxy_has_key().Guido van Rossum2003-10-091-1/+4
|
* Fix leak introduced by previous typeobject.c checkin.Guido van Rossum2003-10-091-4/+3
|
* SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net):Guido van Rossum2003-10-083-2/+8
| | | | make obj.__contains__() returns True/False instead of 1/0.
* Fix a typo, discovered by Joonas Paalasmaa.Thomas Heller2003-10-081-2/+2
| | | | Backported to 2.3
* Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3.Martin v. Löwis2003-10-061-1/+4
|
* SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__Jeremy Hylton2003-10-061-1/+5
| | | | Not sure if this fix is great, but it's probably a small improvement.
* Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.Jeremy Hylton2003-10-062-1/+8
|
* Adopt Christian Stork's suggested argument order for the logic quantifiers.Raymond Hettinger2003-10-052-15/+15
| | | | Adopt Jeremy Fincher's suggested function name, "any", instead of "some".
* SF bug #812202: randint is always evenRaymond Hettinger2003-10-055-10/+196
| | | | | | | * Added C coded getrandbits(k) method that runs in linear time. * Call the new method from randrange() for ranges >= 2**53. * Adds a warning for generators not defining getrandbits() whenever they have a call to randrange() with too large of a population.
* two bugfixesAnthony Baxter2003-10-041-0/+4
|
* made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both theAnthony Baxter2003-10-041-4/+7
| | | | SGI compiler and GCC seem to need this.
* FreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don'tAnthony Baxter2003-10-042-1/+13
| | | | | define _XOPEN_EXTENDED_SOURCE, the bug isn't triggered. Testing on FreeBSD shows that nothing is broken by this change.
* GNUTranslations._parse(): Initialize local variable k so that if theBarry Warsaw2003-10-041-1/+1
| | | | | | | first line of a header section isn't an RFC-ish header, it's just ignored instead of throwing an UnboundLocalError. Backport candidate.
* A helper to dump info about the current frame,Jeremy Hylton2003-10-031-0/+9
| | | | assuming it is the variable f.
* Check for TclError when reading variables. Fixes #807314.Martin v. Löwis2003-10-031-5/+9
| | | | Backported to 2.3.
* - don't re-write a SourceForge authenticated CVS root into theFred Drake2003-10-031-4/+7
| | | | | anonymous flavor unless the user asks for it on the command line - decompose SourceForge authenticated CVS roots correctly
* forgot the NEWS blurb about the change to csv.DictReaderSkip Montanaro2003-10-031-0/+4
|