Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #1433694: minidom's .normalize() failed to set .nextSibling for last element. | Andrew M. Kuchling | 2008-02-23 | 1 | -0/+1 |
| | | | | Fix by Malte Helmert | ||||
* | #2067: file.__exit__() now calls subclasses' close() method. | Georg Brandl | 2008-02-23 | 1 | -1/+3 |
| | |||||
* | Issue 1089358. Adds the siginterrupt() function, that is just a | Facundo Batista | 2008-02-23 | 1 | -0/+1 |
| | | | | | | wrapper around the system call with the same name. Also added test cases, doc changes and NEWS entry. Thanks Jason and Ralf Schmitt. | ||||
* | #1492: allow overriding BaseHTTPServer's content type for error messages. | Georg Brandl | 2008-02-23 | 1 | -0/+3 |
| | |||||
* | Patch #1759: Backport of PEP 3129 class decorators | Christian Heimes | 2008-02-23 | 1 | -0/+2 |
| | | | | with some help from Georg | ||||
* | Issue 1781. Now ConfigParser.add_section does not let you add a | Facundo Batista | 2008-02-23 | 1 | -0/+3 |
| | | | | | DEFAULT section any more, because it duplicated sections with the rest of the machinery. Thanks Tim Lesher and Manuel Kaufmann. | ||||
* | Issue 1881. Increased the stack limit from 500 to 1500. Also added | Facundo Batista | 2008-02-23 | 1 | -0/+3 |
| | | | | | | a test for this (and because of this test you'll see in stderr a message that parser.c sends before raising MemoryError). Thanks Ralf Schmitt. | ||||
* | Added future_builtins, which contains PEP 3127 compatible versions of hex() ↵ | Eric Smith | 2008-02-23 | 1 | -0/+8 |
| | | | | and oct(). | ||||
* | Document itertools.product(). | Raymond Hettinger | 2008-02-22 | 1 | -0/+3 |
| | |||||
* | Fix a few typos and layout glitches (more work is needed). | Guido van Rossum | 2008-02-21 | 2 | -2141/+2144 |
| | | | | Move 2.5 news to Misc/HISTORY. | ||||
* | Removed uses of dict.has_key() from distutils, and uses of | Guido van Rossum | 2008-02-21 | 1 | -0/+5 |
| | | | | | | callable() from copy_reg.py, so the interpreter now starts up without warnings when '-3' is given. More work like this needs to be done in the rest of the stdlib. | ||||
* | Remove news about float repr() -- issue 1580 is still in limbo. | Guido van Rossum | 2008-02-21 | 1 | -4/+0 |
| | |||||
* | Trim leading zeros from a floating point exponent, per C99. See issue 1600. ↵ | Eric Smith | 2008-02-20 | 1 | -0/+7 |
| | | | | As far as I know, this only affects Windows. Add float type 'n' to PyOS_ascii_formatd (see PEP 3101 for 'n' description). | ||||
* | Added PEP 3101. | Eric Smith | 2008-02-19 | 1 | -0/+6 |
| | |||||
* | Issue 1224. Now we support again the double slash in the URL. | Facundo Batista | 2008-02-18 | 1 | -0/+2 |
| | | | | Thanks Anthony Lenton. | ||||
* | Issue #1916. Added isgenerator() and isgeneratorfunction() to | Facundo Batista | 2008-02-18 | 1 | -0/+2 |
| | | | | | inspect.py. Thanks Javi Mansilla for patch review and corrections. | ||||
* | Issue 2112. mmap does not raises EnvironmentError no more, but | Facundo Batista | 2008-02-17 | 1 | -0/+3 |
| | | | | a subclass of it. Thanks John Lenton. | ||||
* | Now we handle different the backup copy, because of security | Facundo Batista | 2008-02-17 | 1 | -0/+5 |
| | | | | issues regarding user/group and permissions. Fixes 1050828. | ||||
* | Move test_logging over to doctest. | Brett Cannon | 2008-02-17 | 2 | -0/+3 |
| | | | | Thanks to Christopher White from GHOP. | ||||
* | Prevent a crash with nested scopes, again caused by calling Py_DECREF when ↵ | Amaury Forgeot d'Arc | 2008-02-16 | 1 | -0/+3 |
| | | | | | | the pointer is still present in the containing structure. | ||||
* | Issue #2115: __slot__ attributes setting was 10x slower. | Amaury Forgeot d'Arc | 2008-02-15 | 1 | -0/+4 |
| | | | | | | | | Also correct a possible crash using ABCs. This change is exactly the same as an optimisation done 5 years ago, but on slot *access*: http://svn.python.org/view?view=rev&rev=28297 | ||||
* | Two new functions: | Skip Montanaro | 2008-02-15 | 1 | -3/+25 |
| | | | | | | | | * place_summary_first copies the regrtest summary to the front of the file making it easier to scan quickly for problems. * count_failures gets the actual count of the number of failing tests, not just a 1 (some failures) or 0 (no failures). | ||||
* | Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ | Christian Heimes | 2008-02-15 | 1 | -0/+2 |
| | | | | Thanks to Thomas Herve for the fix. | ||||
* | Fixed repr() and str() of complex numbers. Complex suffered from the same ↵ | Christian Heimes | 2008-02-15 | 1 | -0/+3 |
| | | | | problem as floats but I forgot to test and fix them. | ||||
* | Implemented Martin's suggestion to clear the free lists during the garbage ↵ | Christian Heimes | 2008-02-14 | 1 | -0/+4 |
| | | | | collection of the highest generation. | ||||
* | Add pickle support to ctypes types. | Thomas Heller | 2008-02-13 | 1 | -0/+3 |
| | |||||
* | #2063: correct order of utime and stime in os.times() | Georg Brandl | 2008-02-13 | 1 | -0/+2 |
| | | | | result on Windows. | ||||
* | Patch #1966: Break infinite loop in httplib when the servers | Martin v. Löwis | 2008-02-12 | 1 | -0/+3 |
| | | | | | implements the chunked encoding incorrectly. Will backport to 2.5. | ||||
* | Patch #1736: Fix file name handling of _msi.FCICreate. | Martin v. Löwis | 2008-02-12 | 1 | -0/+2 |
| | |||||
* | Rename rational.Rational to fractions.Fraction, to avoid name clash | Mark Dickinson | 2008-02-10 | 1 | -0/+4 |
| | | | | with numbers.Rational. See issue #1682 for related discussion. | ||||
* | Complete an open todo on pickletools -- add a pickle optimizer. | Raymond Hettinger | 2008-02-10 | 1 | -0/+3 |
| | |||||
* | Add missing NEWS entry for r60695 | Nick Coghlan | 2008-02-10 | 1 | -0/+4 |
| | |||||
* | Issue #1706: Require Windows 2000+ | Christian Heimes | 2008-02-09 | 1 | -0/+4 |
| | | | | | | Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too Added -d option to build.bat (same as -c Debug) and fixed warning about /build option Updated Windows related readme.txt files | ||||
* | Update big5hkscs codec to conform to the HKSCS:2004 revision. | Hye-Shik Chang | 2008-02-08 | 1 | -0/+2 |
| | |||||
* | issue 2045: Infinite recursion when printing a subclass of defaultdict, | Amaury Forgeot d'Arc | 2008-02-08 | 1 | -0/+3 |
| | | | | | | if default_factory is set to a bound method. Will backport. | ||||
* | Deallocate content of the dict free list on interpreter shutdown | Christian Heimes | 2008-02-08 | 1 | -0/+3 |
| | |||||
* | Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in ↵ | Raymond Hettinger | 2008-02-07 | 1 | -0/+3 |
| | | | | collections.Sequence. | ||||
* | Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaN | Mark Dickinson | 2008-02-06 | 1 | -0/+3 |
| | | | | raise InvalidOperation (and return False if InvalidOperation is trapped). | ||||
* | Unified naming convention for free lists and their limits. All free lists | Christian Heimes | 2008-02-06 | 1 | -0/+4 |
| | | | | | | | | in Object/ are named ``free_list``, the counter ``numfree`` and the upper limit is a macro ``PyName_MAXFREELIST`` inside an #ifndef block. The chances should make it easier to adjust Python for platforms with less memory, e.g. mobile phones. | ||||
* | Limit free list of method and builtin function objects to 256 entries each. | Christian Heimes | 2008-02-06 | 1 | -0/+3 |
| | |||||
* | * Use the same code to profile for test_profile and test_cprofile. | Georg Brandl | 2008-02-05 | 1 | -0/+2 |
| | | | | | | | | * Convert both to unittest. * Use the same unit testing code. * Include the expected output in both test files. * Make it possible to regenerate the expected output by running the file as a script with an '-r' argument. | ||||
* | Issue #2004: Use mode 0700 for temporary directories and default | Lars Gustäbel | 2008-02-05 | 1 | -0/+3 |
| | | | | | | permissions for missing directories. (will backport to 2.5) | ||||
* | sync with most recent version from python-mode sf project | Skip Montanaro | 2008-02-05 | 1 | -215/+353 |
| | |||||
* | #1750076: Debugger did not step on every iteration of a while statement. | Amaury Forgeot d'Arc | 2008-02-04 | 1 | -0/+4 |
| | | | | | | | | | | | | The mapping between bytecode offsets and source lines (lnotab) did not contain an entry for the beginning of the loop. Now it does, and the lnotab can be a bit larger: in particular, several statements on the same line generate several entries. However, this does not bother the settrace function, which will trigger only one 'line' event. The lnotab seems to be exactly the same as with python2.4. | ||||
* | Correct quotes in NEWS file | Amaury Forgeot d'Arc | 2008-02-04 | 1 | -2/+2 |
| | |||||
* | Patch #1953 | Christian Heimes | 2008-02-04 | 1 | -1/+5 |
| | | | | | I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers. The patch also renames sys._cleartypecache to sys._clear_type_cache | ||||
* | Ensure that PySet_Add() operates on a newly created frozenset, like ↵ | Amaury Forgeot d'Arc | 2008-02-03 | 1 | -0/+6 |
| | | | | | | | | PyTuple_SetItem does. Add PyFrozenSet_Check(), which was not needed before; The list of Py*Set_Check* macros seems to be complete now. Add missing NEWS entries about all this. | ||||
* | Ignore leaky warnings from test_asynchat | Neal Norwitz | 2008-02-03 | 1 | -1/+1 |
| | |||||
* | Add an entry for r60537. | Brett Cannon | 2008-02-03 | 1 | -0/+4 |
| | |||||
* | Merge this fix from the pybsddb tree: | Gregory P. Smith | 2008-02-03 | 1 | -0/+3 |
| | | | | | | | r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines Solved memory leak when using cursors with databases without environment. |