summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clarify that the output of TextCalendar.formatmonth() andWalter Dörwald2008-02-071-8/+10
| | | | | TextCalendar.formatyear() for custom instances won't be influenced by calls to the module global setfirstweekday() function. Fixes #2018.
* Fixes Issue 1401. When redirected, a possible POST get convertedFacundo Batista2008-02-072-1/+13
| | | | | | to GET, so it loses its payload. So, it also must lose the headers related to the payload (if it has no content any more, it shouldn't indicate content length and type).
* Added some statistics code to dict and list object code. I wanted to test ↵Christian Heimes2008-02-072-0/+54
| | | | how a larger freelist affects the reusage of freed objects. Contrary to my gut feelings 80 objects is more than fine for small apps. I haven't profiled a large app yet.
* Fixes issue 2026. Tests converted to unittest. ThanksFacundo Batista2008-02-071-151/+164
| | | | Giampaolo Rodola.
* Update URLAndrew M. Kuchling2008-02-071-1/+1
|
* Remove unnecessary curly braces around an int literal.Brett Cannon2008-02-071-2/+2
|
* Cast a struct to a void pointer so as to do a type-safe pointer comparisonBrett Cannon2008-02-071-3/+3
| | | | (mistmatch found by clang).
* Merge r60628, r60631, and r60633. Register UserList and UserString will the ↵Raymond Hettinger2008-02-073-45/+14
| | | | appropriate ABCs.
* Merge 60627.Raymond Hettinger2008-02-071-1/+6
|
* Return ints instead of longs for tuple.count() and tuple.index().Raymond Hettinger2008-02-071-2/+2
|
* IEEE 754 should be IEEE 854; give precise reference forMark Dickinson2008-02-071-6/+6
| | | | comparisons involving NaNs.
* Fix broken link in decimal documentation.Mark Dickinson2008-02-071-1/+1
|
* Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in ↵Raymond Hettinger2008-02-073-0/+119
| | | | collections.Sequence.
* Revert accidental changes to test_queue in r60605.Georg Brandl2008-02-061-20/+16
|
* Remove incorrect usage of :const: in documentation.Mark Dickinson2008-02-061-2/+2
|
* Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaNMark Dickinson2008-02-064-40/+145
| | | | raise InvalidOperation (and return False if InvalidOperation is trapped).
* Fixed refcounts and error handling.Thomas Heller2008-02-061-8/+12
| | | | Should not be merged to py3k branch.
* Fixes issue 1959. Converted tests to unittest.Facundo Batista2008-02-061-119/+97
| | | | Thanks Giampaolo Rodola.
* Remove month parameter from Calendar.yeardatescalendar(),Walter Dörwald2008-02-061-9/+9
| | | | | | | Calendar.yeardays2calendar() and Calendar.yeardayscalendar() as the methods don't have such a parameter. Fixes issue #2017. Rewrap content to 80 chars.
* Unified naming convention for free lists and their limits. All free listsChristian Heimes2008-02-069-84/+99
| | | | | | | | 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-063-8/+38
|
* Sync-up with Py3k work.Raymond Hettinger2008-02-061-0/+13
|
* * Use the same code to profile for test_profile and test_cprofile.Georg Brandl2008-02-056-416/+400
| | | | | | | | * 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.
* correct object nameSkip Montanaro2008-02-051-1/+1
|
* Actually run the test.Georg Brandl2008-02-051-2/+2
|
* Issue 1951. Converts wave test cases to unittest.Facundo Batista2008-02-051-24/+37
|
* Fix unittest conversion breakage.Georg Brandl2008-02-051-29/+30
|
* In the experimental 'Scanner' feature, the group count was set wrong.Guido van Rossum2008-02-051-1/+1
|
* Update PEP URL.Andrew M. Kuchling2008-02-052-3/+3
| | | | | | | (This code is duplicated between pydoc and DocXMLRPCServer; maybe it should be refactored as a GHOP project.) 2.5.2 backport candidate.
* Keep distutils Python 2.1 compatible (or even Python 2.4 in this case).Marc-André Lemburg2008-02-051-2/+6
|
* Convert external links to internal links. Fixes #2010.Georg Brandl2008-02-056-6/+9
|
* Issue #2004: Use mode 0700 for temporary directories and defaultLars Gustäbel2008-02-052-9/+12
| | | | | | permissions for missing directories. (will backport to 2.5)
* sync with most recent version from python-mode sf projectSkip Montanaro2008-02-051-215/+353
|
* Change r60575 broke test_compile:Amaury Forgeot d'Arc2008-02-052-0/+12
| | | | there is no need to emit co_lnotab item when both offsets are zeros.
* #1750076: Debugger did not step on every iteration of a while statement.Amaury Forgeot d'Arc2008-02-043-17/+67
| | | | | | | | | | | | 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
|
* Small adjustments for test compact freelist test. It's no passing on Windows ↵Christian Heimes2008-02-041-5/+5
| | | | as well.
* Increase debugging to investige failing tests on some build botsChristian Heimes2008-02-041-0/+3
|
* Patch #1953Christian Heimes2008-02-0411-42/+160
| | | | | 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
* Make int() and long() fall back to __trunc__(). See issue 2002.Jeffrey Yasskin2008-02-045-3/+232
|
* Let test_socketserver pass on win32, which does not have AF_UNIX sockets.Amaury Forgeot d'Arc2008-02-031-7/+8
|
* Correct test_mailbox on win32: since the test sets a custom 'colon' attributeAmaury Forgeot d'Arc2008-02-031-0/+1
| | | | to the main mailbox, copy it to secondary mailbox instances.
* Nasty typo in setobject.hAmaury Forgeot d'Arc2008-02-031-1/+1
|
* Ensure that PySet_Add() operates on a newly created frozenset, like ↵Amaury Forgeot d'Arc2008-02-034-2/+24
| | | | | | | | 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.
* Another int -> pid_t caseChristian Heimes2008-02-031-1/+2
|
* Ignore leaky warnings from test_asynchatNeal Norwitz2008-02-031-1/+1
|
* Fixed paths to Windows build directories in build_ext.pyChristian Heimes2008-02-034-17/+17
| | | | Use vsbuild instead of devenv in build.bat and _bsddb.vcproj
* #2003: fix sentence.Georg Brandl2008-02-031-1/+1
|
* Add an entry for r60537.Brett Cannon2008-02-031-0/+4
|
* remove a repeated occurance of a hardcoded berkeleydb library version numberGregory P. Smith2008-02-031-2/+2
|