summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix-up error-exits on struct_unpack().Raymond Hettinger2007-04-041-13/+17
|
* Bug #1563759: struct.unpack doens't support buffer protocol objectsRaymond Hettinger2007-04-043-3/+25
|
* Bug #1686475: Support stat'ing open files on Windows again.Martin v. Löwis2007-04-043-34/+77
|
* - Fix an off-by-one bug in locale.strxfrm().Matthias Klose2007-04-032-1/+3
| | | | Patch taken from http://bugs.debian.org/416934.
* SF #1382213: Tutorial section 9.5.1 ignores MRO for new-style classesRaymond Hettinger2007-04-031-11/+20
|
* SF 1602378 Clarify docstrings for bisectRaymond Hettinger2007-04-031-4/+4
|
* Array module's buffer interface can now handle empty arrays.Raymond Hettinger2007-04-023-0/+15
|
* SF #1693079 Array module cannot pickle empty arraysRaymond Hettinger2007-04-023-6/+30
|
* Backport 54644:Neal Norwitz2007-04-012-0/+16
| | | | | | | | | | | SF #1685563, MSVCCompiler creates redundant and long PATH strings If MSVCCompiler.initialize() was called multiple times, the path would get duplicated. On Windows, this is a problem because the path is limited to 4k. There's no benefit in adding a path multiple times, so prevent that from occuring. We also normalize the path before checking for duplicates so things like /a and /a/ won't both be stored.
* Bump the patch level version of distutils since there were a few bug fixesMarc-André Lemburg2007-03-311-1/+1
| | | | | | since the 2.5.0 release. Backport of r54615.
* Bug #1655392: don't add -L/usr/lib/pythonX.Y/config to the LDFLAGSGeorg Brandl2007-03-312-1/+7
| | | | | | returned by python-config if Python was built with --enable-shared because that prevented the shared library from being used. (backport from rev. 54634)
* Backport 54594:Neal Norwitz2007-03-313-5/+21
| | | | | | Fix SF #1688393, sock.recvfrom(-24) crashes Also fix some method names that were copied incorrectly (trunk fixed).
* Add itemAndrew M. Kuchling2007-03-301-0/+11
|
* In Windows' time.clock(), when QueryPerformanceFrequency() fails,Georg Brandl2007-03-291-1/+2
| | | | | | the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC as for the POSIX implementation (thanks to #pypy). (backport from rev. 54606)
* Patch #1489771: update syntax rules in Python Reference Manual.Žiga Seilnacht2007-03-245-42/+193
| | | | | | | | | Python 2.5 added support for explicit relative import statements and yield expressions, which were missing in the manual. Also fix grammar productions that used the names from the Grammar file, markup that broke the generated grammar.txt, and wrap some lines that broke the pdf output. (backport from rev. 54559)
* Prevent creation (followed by a segfault) of array types when the sizeThomas Heller2007-03-231-3/+20
| | | | | | | overflows the valid Py_ssize_t range. Check return values of PyMem_Malloc. Backported from trunk.
* Bug #978833: Revert r50844, as it broke _socketobject.dup.Martin v. Löwis2007-03-233-5/+4
|
* Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.Martin v. Löwis2007-03-232-3/+10
|
* Explain the purpose of the b_needsfree flag. This answers NealsThomas Heller2007-03-221-1/+6
| | | | question (well, two months too late).
* Back out "Patch #1643874: memory leak in ctypes fixed."Thomas Heller2007-03-222-23/+8
| | | | | The code in this patch leaves no way to give up the ownership of a BSTR instance.
* Bug #1685704: use -m switch in timeit docs.Georg Brandl2007-03-221-1/+1
| | | | (backport from rev. 54524)
* Bug #1675967: re patterns pickled with older Python versions canŽiga Seilnacht2007-03-213-0/+15
| | | | | now be unpickled. (backport form rev. 54492)
* Test and fix fromkeys optional argument.Raymond Hettinger2007-03-212-2/+5
|
* Add NEWS entry for old itemAndrew M. Kuchling2007-03-211-1/+4
|
* Bug #1684254: webbrowser now uses shlex to split any command linesGeorg Brandl2007-03-212-1/+10
| | | | | | given to get(). It also detects when you use '&' as the last argument and creates a BackgroundBrowser then. (backport -- this is a regression from 2.4 and therefore backported)
* Patch #1684834: document some utility C API functions.Georg Brandl2007-03-211-0/+91
| | | | (backport from rev. 54483)
* Patch #1682205: a TypeError while unpacking an iterable is no longerGeorg Brandl2007-03-213-6/+7
| | | | | masked by a generic one with the message "unpack non-sequence". (backport from rev. 54480)
* Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() ↵Raymond Hettinger2007-03-204-5/+44
| | | | calls and fixing set/dict interoperability.
* Add new exampleRaymond Hettinger2007-03-201-0/+3
|
* Backport docs for recv_into and recvfrom_into.Georg Brandl2007-03-182-2/+24
|
* move note to the correct sectionGregory P. Smith2007-03-171-3/+3
|
* RFE #1670167: fix in isinstance() docs.Georg Brandl2007-03-161-2/+3
| | | | (backport from rev. 54409)
* Patch #1642547: Fix an error/crash when encountering syntax errors in ↵Collin Winter2007-03-163-14/+79
| | | | | | complex if statements. Backported from r54404.
* Patch #1462488: prevent a segfault in object_reduce_ex() by splittingŽiga Seilnacht2007-03-153-14/+82
| | | | | | the implementation for __reduce__ and __reduce_ex__ into two separate functions. Fixes bug #931877. (backport from rev. 54397)
* Also commit the patch ;)Georg Brandl2007-03-151-2/+12
|
* Patch #1681153: the wave module now closes a file object it opened ifGeorg Brandl2007-03-151-0/+3
| | | | | initialization failed. (backport from rev. 54394)
* Patch #1680978: consistently use "alive" instead of "active" in theGeorg Brandl2007-03-151-24/+20
| | | | | thread lib doc. (backport from rev. 54392)
* Patch #1559413: Fix test_cmd_line if sys.executable contains a space.Martin v. Löwis2007-03-142-1/+3
|
* Document fixed bugsBarry Warsaw2007-03-141-0/+5
|
* Patch #1680015: Don't modify __slots__ tuple if it contains an unicodeŽiga Seilnacht2007-03-143-16/+46
| | | | | | name. Remove a reference leak that happened if the name could not be converted to string. (backport from rev. 54378)
* Bug #767111: fix long-standing bug in urllib which caused anGeorg Brandl2007-03-143-0/+21
| | | | | | AttributeError instead of an IOError when the server's response didn't contain a valid HTTP status line. (backport from rev. 54376)
* doc update from HEAD. don't list "Unix, Windows" as a platform since thatGregory P. Smith2007-03-143-3/+0
| | | | covers everything now that Mac OS 9 isn't a popular issue.
* doc update from HEADGregory P. Smith2007-03-141-4/+4
|
* SF bug #1582282; decode_header() incorrectly splits not-conformant RFCBarry Warsaw2007-03-143-1/+26
| | | | | | | 2047-like headers where there is no whitespace between encoded words. This fix changes the matching regexp to include a trailing lookahead assertion that the closing ?= must be followed by whitespace, newline, or end-of-string. This also changes the regexp to add the MULTILINE flag.
* Inline PyImport_GetModulesReloading(). Backport from r54368.Collin Winter2007-03-131-10/+8
|
* Patch #1194449: correctly detect unbound methods in pydoc.Georg Brandl2007-03-131-2/+2
| | | | (backport from rev. 54365)
* Bug #1622896: fix a rare corner case where the bz2 module raised anGeorg Brandl2007-03-132-10/+14
| | | | | error in spite of a succesful compression. (backport from rev. 54336)
* Patch #1449244: Support Unicode strings inMartin v. Löwis2007-03-133-2/+14
| | | | email.message.Message.{set_charset,get_content_charset}.
* Patch #1569798: fix a bug in distutils when building Python from aGeorg Brandl2007-03-132-2/+5
| | | | | directory within sys.exec_prefix. (backport from rev. 54331)
* Patch #1542681: add entries for "with", "as" and "CONTEXTMANAGERS" toGeorg Brandl2007-03-132-0/+6
| | | | | pydoc's help keywords. (backport from rev. 54329)