summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Backport of r51379 from trunk:Thomas Heller2006-09-061-0/+16
| | | | | | | | | Add asserts to check for 'impossible' NULL values, with comments. In one place where I'm not 1000% sure about the non-NULL, raise a RuntimeError for safety. This should fix the klocwork issues that Neal sent me. If so, it should be applied to the release25-maint branch also.
* Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl2006-09-063-28/+25
| | | | | | Also make sure that every exception class has __module__ set to 'exceptions'. (backport)
* Bug #1550983: emit better error messages for erroneous relativeGeorg Brandl2006-09-062-2/+6
| | | | | imports (if not in package and if beyond toplevel package). (backport from rev. 51765)
* Bug #1551427: fix a wrong NULL pointer check in the win32 versionGeorg Brandl2006-09-062-1/+4
| | | | | of os.urandom(). (backport from rev. 51762)
* Revert 51759 because it broke all the buildbotsNeal Norwitz2006-09-063-48/+8
|
* Backporting fix for bug #1531862, committed in 51758, into 2.5,Gustavo Niemeyer2006-09-063-8/+48
| | | | making subprocess not close standard file descriptors.
* Fixing an improperly escaped grep in .spec file, pointed out by Neal Norwitz.Sean Reifscheider2006-09-051-1/+1
|
* Rearrange example a bit, and show rpartition() when separator is not foundAndrew M. Kuchling2006-09-051-2/+4
|
* Bug #1552618: change docs of dict.has_key() to reflect recommendationGeorg Brandl2006-09-051-5/+5
| | | | | to use "in". (backport from rev. 51740)
* Add another NEWS entry for a fix already in 2.5c1Neal Norwitz2006-09-051-0/+2
|
* Add some NEWS for fixes already in 2.5c1Neal Norwitz2006-09-051-0/+4
|
* Backport 51669: Make sure memory is properly cleaned up in file_init (even ↵Neal Norwitz2006-09-051-1/+1
| | | | though this should not be able to happen since we already parsed the args)
* Bug #1520864 (again): unpacking singleton tuples in list comprehensions andNeal Norwitz2006-09-054-5/+23
| | | | | | | generator expressions (x for x, in ... ) works again. Sigh, I only fixed for loops the first time, not list comps and genexprs too. I couldn't find any more unpacking cases where there is a similar bug lurking.
* Patch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34].Neal Norwitz2006-09-055-5/+7
|
* Backport fix from 51683.Neal Norwitz2006-09-052-0/+6
|
* Backport fix for SF bug #1550714, itertools.tee raises SystemErrorNeal Norwitz2006-09-053-2/+13
|
* Fix str.rpartition(sep) when sep is not found in str.Neal Norwitz2006-09-056-11/+14
| | | | Partially from SF patch #1551339, but also taken from head.
* This was found by Guido AFAIK on p3yk (sic) branch.Neal Norwitz2006-09-052-1/+8
|
* Fix SF bug #1546288, crash in dict_equalNeal Norwitz2006-09-053-2/+22
|
* Fix SF #1552093, eval docstring typo (3 ps in mapping)Neal Norwitz2006-09-051-1/+1
|
* i_divmod(): As discussed on Python-Dev, changed the overflowTim Peters2006-09-052-4/+13
| | | | | checking to live happily with recent gcc optimizations that assume signed integer arithmetic never overflows.
* SF patch #1551340 ] Updated spec file for 2.5 release (c2)Neal Norwitz2006-09-051-15/+25
|
* Backport docosNeal Norwitz2006-09-031-2/+2
|
* Backport docoNeal Norwitz2006-09-031-1/+1
|
* NEWS entry for decimal module changesNick Coghlan2006-09-031-0/+3
|
* Backport of decimal module context management updates from rev 51694 to 2.5 ↵Nick Coghlan2006-09-035-74/+108
| | | | release branch
* Backport 51663:Neal Norwitz2006-09-031-2/+2
| | | | Doc fix: hashlib objects don't always return a digest of 16 bytes.
* SF #1547931, fix typo (missing and). Backport candidate for 2.3/2.4 tooNeal Norwitz2006-09-021-1/+1
|
* evalfile() should be execfile().Georg Brandl2006-09-011-1/+1
| | | | (backport from rev. 51677)
* - SF patch #1550263: Enhance and correct unittest docsFred Drake2006-09-011-32/+70
| | | | - various minor cleanups for improved consistency
* Patch #1545507: Exclude ctypes package in Win64 MSI file.Martin v. Löwis2006-08-252-0/+10
|
* Alexander Belopolsky pointed out that pos is a size_tNeal Norwitz2006-08-221-1/+1
|
* patch for documentation for recent uuid changes (from ping)Anthony Baxter2006-08-221-15/+15
|
* - Patch #1541585: fix buffer overrun when performing repr() onNeal Norwitz2006-08-214-12/+37
| | | | | | a unicode string in a build with wide unicode (UCS-4) support. I will forward port to 2.6. Can someone backport to 2.4?
* Backport 51443:Neal Norwitz2006-08-211-0/+5
| | | | | | Handle a few more error conditions. Klocwork 301 and 302. Will backport.
* Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-devNeal Norwitz2006-08-212-2/+2
|
* Backport 51432:Neal Norwitz2006-08-213-3/+23
| | | | | Fix bug #1543303, tarfile adds padding that breaks gunzip. Patch # 1543897. (remove the padding)
* Patch #1542948: fix urllib2 header casing issue. With new test.Georg Brandl2006-08-203-22/+87
| | | | (backport from rev. 51416)
* SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macroNeal Norwitz2006-08-192-5/+8
|
* Move initialization of interned strings to before allocating theNeal Norwitz2006-08-191-11/+15
| | | | | | object so we don't leak op. (Fixes an earlier patch to this code) Klockwork #350
* Move assert to after NULL check, otherwise we deref NULL in the assert.Neal Norwitz2006-08-191-1/+1
| | | | Klocwork #307
* Minor editsAndrew M. Kuchling2006-08-182-3/+3
|
* Typo in tp_clear docs.Georg Brandl2006-08-181-1/+1
| | | | (backport from rev. 51368)
* Bug #1541682: Fix example in the "Refcount details" API docs.Georg Brandl2006-08-184-23/+31
| | | | | | Additionally, remove a faulty example showing PySequence_SetItem applied to a newly created list object and add notes that this isn't a good idea. (backport from rev. 51364)
* Bug #1541863: uuid.uuid1 failed to generate unique identifiersMartin v. Löwis2006-08-183-3/+9
| | | | on systems with low clock resolution.
* Invoke debug mk1mf.pl after running Configure.Martin v. Löwis2006-08-172-4/+17
|
* Leave tk build directory to restore original path.Martin v. Löwis2006-08-171-0/+1
|
* Tagging for release of Python 2.5c1Anthony Baxter2006-08-171-0/+1
|
* Branching release25-maint. All further 2.5 releases (including the release ↵v2.5c1Anthony Baxter2006-08-170-0/+0
| | | | | | candidates, the final release and all bugfix releases) will be from this branch, not the trunk.
* Fix a bug in the ``compiler`` package that caused invalid code to beNeil Schemenauer2006-08-165-9/+26
| | | | generated for generator expressions.