summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* #1433694: minidom's .normalize() failed to set .nextSibling for last element.Andrew M. Kuchling2008-02-231-0/+1
| | | | Fix by Malte Helmert
* #2067: file.__exit__() now calls subclasses' close() method.Georg Brandl2008-02-231-1/+3
|
* Issue 1089358. Adds the siginterrupt() function, that is just aFacundo Batista2008-02-231-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 Brandl2008-02-231-0/+3
|
* Patch #1759: Backport of PEP 3129 class decoratorsChristian Heimes2008-02-231-0/+2
| | | | with some help from Georg
* Issue 1781. Now ConfigParser.add_section does not let you add aFacundo Batista2008-02-231-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 addedFacundo Batista2008-02-231-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 Smith2008-02-231-0/+8
| | | | and oct().
* Document itertools.product().Raymond Hettinger2008-02-221-0/+3
|
* Fix a few typos and layout glitches (more work is needed).Guido van Rossum2008-02-212-2141/+2144
| | | | Move 2.5 news to Misc/HISTORY.
* Removed uses of dict.has_key() from distutils, and uses ofGuido van Rossum2008-02-211-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 Rossum2008-02-211-4/+0
|
* Trim leading zeros from a floating point exponent, per C99. See issue 1600. ↵Eric Smith2008-02-201-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 Smith2008-02-191-0/+6
|
* Issue 1224. Now we support again the double slash in the URL.Facundo Batista2008-02-181-0/+2
| | | | Thanks Anthony Lenton.
* Issue #1916. Added isgenerator() and isgeneratorfunction() toFacundo Batista2008-02-181-0/+2
| | | | | inspect.py. Thanks Javi Mansilla for patch review and corrections.
* Issue 2112. mmap does not raises EnvironmentError no more, butFacundo Batista2008-02-171-0/+3
| | | | a subclass of it. Thanks John Lenton.
* Now we handle different the backup copy, because of securityFacundo Batista2008-02-171-0/+5
| | | | issues regarding user/group and permissions. Fixes 1050828.
* Move test_logging over to doctest.Brett Cannon2008-02-172-0/+3
| | | | Thanks to Christopher White from GHOP.
* Prevent a crash with nested scopes, again caused by calling Py_DECREF when ↵Amaury Forgeot d'Arc2008-02-161-0/+3
| | | | | | the pointer is still present in the containing structure.
* Issue #2115: __slot__ attributes setting was 10x slower.Amaury Forgeot d'Arc2008-02-151-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 Montanaro2008-02-151-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_READChristian Heimes2008-02-151-0/+2
| | | | Thanks to Thomas Herve for the fix.
* Fixed repr() and str() of complex numbers. Complex suffered from the same ↵Christian Heimes2008-02-151-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 Heimes2008-02-141-0/+4
| | | | collection of the highest generation.
* Add pickle support to ctypes types.Thomas Heller2008-02-131-0/+3
|
* #2063: correct order of utime and stime in os.times()Georg Brandl2008-02-131-0/+2
| | | | result on Windows.
* Patch #1966: Break infinite loop in httplib when the serversMartin v. Löwis2008-02-121-0/+3
| | | | | implements the chunked encoding incorrectly. Will backport to 2.5.
* Patch #1736: Fix file name handling of _msi.FCICreate.Martin v. Löwis2008-02-121-0/+2
|
* Rename rational.Rational to fractions.Fraction, to avoid name clashMark Dickinson2008-02-101-0/+4
| | | | with numbers.Rational. See issue #1682 for related discussion.
* Complete an open todo on pickletools -- add a pickle optimizer.Raymond Hettinger2008-02-101-0/+3
|
* Add missing NEWS entry for r60695Nick Coghlan2008-02-101-0/+4
|
* Issue #1706: Require Windows 2000+Christian Heimes2008-02-091-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 Chang2008-02-081-0/+2
|
* issue 2045: Infinite recursion when printing a subclass of defaultdict,Amaury Forgeot d'Arc2008-02-081-0/+3
| | | | | | if default_factory is set to a bound method. Will backport.
* Deallocate content of the dict free list on interpreter shutdownChristian Heimes2008-02-081-0/+3
|
* Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in ↵Raymond Hettinger2008-02-071-0/+3
| | | | collections.Sequence.
* Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaNMark Dickinson2008-02-061-0/+3
| | | | raise InvalidOperation (and return False if InvalidOperation is trapped).
* Unified naming convention for free lists and their limits. All free listsChristian Heimes2008-02-061-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 Heimes2008-02-061-0/+3
|
* * Use the same code to profile for test_profile and test_cprofile.Georg Brandl2008-02-051-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 defaultLars Gustäbel2008-02-051-0/+3
| | | | | | permissions for missing directories. (will backport to 2.5)
* sync with most recent version from python-mode sf projectSkip Montanaro2008-02-051-215/+353
|
* #1750076: Debugger did not step on every iteration of a while statement.Amaury Forgeot d'Arc2008-02-041-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 fileAmaury Forgeot d'Arc2008-02-041-2/+2
|
* Patch #1953Christian Heimes2008-02-041-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'Arc2008-02-031-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_asynchatNeal Norwitz2008-02-031-1/+1
|
* Add an entry for r60537.Brett Cannon2008-02-031-0/+4
|
* Merge this fix from the pybsddb tree:Gregory P. Smith2008-02-031-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.