summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #884022: dynamic execution profiling vs opcode predictionRaymond Hettinger2004-02-081-0/+9
| | | | | | | | | (Contributed by Andrew I MacIntyre.) disables opcode prediction when dynamic execution profiling is in effect, so the profiling counters at the top of the main interpreter loop in eval_frame() are updated for each opcode.
* SF patch #880552: Fix typo in usage message(prechm.py)Raymond Hettinger2004-02-081-3/+3
| | | | | | (Contributed by George Yoshida.) * Also convert tabs to spaces.
* SF patch #875689: >100k alloc wasted on startupRaymond Hettinger2004-02-082-1/+2
| | | | | | | (Contributed by Mike Pall.) Make sure fill_free_list() is called only once rather than 106 times when pre-allocating small ints.
* SF bug #892854: typo in textwrap doc pageRaymond Hettinger2004-02-081-1/+1
| | | | (Reported by Drew Perttula.)
* SF bug #892492: Multiple close() for asyncore.dispatcher.Raymond Hettinger2004-02-081-0/+1
| | | | | | (Contributed by Alexey Klimkin.) Don't keep the file descriptor after the channel is deleted.
* Revert improvement to list.append() checked in before it was ready.Raymond Hettinger2004-02-081-1/+0
|
* Let reversed() work with itself.Raymond Hettinger2004-02-083-1/+17
|
* Fixed a bug in object.__reduce_ex__ (reduce_2) when using protocolJim Fulton2004-02-082-0/+5
| | | | | 2. Failure to clear the error when attempts to get the __getstate__ attribute fail caused intermittent errors and odd behavior.
* Make deque.rotate() smarter. Beef-up related tests.Raymond Hettinger2004-02-082-13/+54
|
* Patch #868499, adds -T option for code coverage. The implementation is aBarry Warsaw2004-02-071-30/+51
| | | | | | fairly simpleminded adaptation of Zope3's test.py -T flag. I also changed some booleans to use True/False where appropriate.
* * Incorporate Skip's suggestions for documentation (explain the word dequeRaymond Hettinger2004-02-073-26/+98
| | | | | comes from and show the differences from lists). * Add a rotate() method.
* no longer support linux1 platformSkip Montanaro2004-02-072-247/+0
|
* no longer support sunos4 platformSkip Montanaro2004-02-074-119/+0
|
* Remove support for --without-universal-newlines (see PEP 11).Skip Montanaro2004-02-0711-128/+7
|
* Remove support for systems defining Py_PTHREAD_D[467] inSkip Montanaro2004-02-071-72/+0
| | | | Python/thread_pthread.h.
* Remove HAVE_STRPTIME - no longer necessary with the pure Python version ofSkip Montanaro2004-02-076-13/+2
| | | | time.strptime().
* a couple other sunos4 support items removedSkip Montanaro2004-02-072-7/+2
|
* Use collection.deque() instead of a list for a FIFO queue.Raymond Hettinger2004-02-071-5/+10
|
* * Fix ref counting in extend() and extendleft().Raymond Hettinger2004-02-074-7/+101
| | | | * Let deques support reversed().
* Lists work better when popping from the right.Raymond Hettinger2004-02-071-3/+4
|
* Have deques support high volume loads.Raymond Hettinger2004-02-063-25/+104
|
* SF patch #864059: optimize eval_frameRaymond Hettinger2004-02-061-5/+6
| | | | | | Simplified version of Neal Norwitz's patch which adds gotos for opcodes that set "why". This skips a number of tests where the outcome of the tests are known in advance.
* Fix test failure message (from SF patch #885008)Walter Dörwald2004-02-061-1/+1
|
* Back rev 1.3 out per Raymond's request.Hye-Shik Chang2004-02-061-1/+6
|
* added notes about weakref changesFred Drake2004-02-061-0/+15
|
* Simple is better than complex.Hye-Shik Chang2004-02-061-6/+1
|
* Fix reallocation bug in unicode.translate(): The code was comparingWalter Dörwald2004-02-052-1/+2
| | | | characters instead of character pointers to determine space requirements.
* Allocating a new weakref object can cause existing weakref objects forFred Drake2004-02-042-3/+48
| | | | | | | | | the same object to be collected by the cyclic GC support if they are only referenced by a cycle. If the weakref being collected was one of the weakrefs without callbacks, some local variables for the constructor became invalid and have to be re-computed. The test caused a segfault under a debug build without the fix applied.
* minor markup adjustmentsFred Drake2004-02-031-2/+2
|
* - add tests that exercise fixes for the PyWeakref_NewRef() andFred Drake2004-02-031-0/+41
| | | | | PyWeakref_NewProxy() constructors from the C API - elaborate the getweakrefcount() and getweakrefs() tests slightly
* Fix bug in interpretation of the "callback" argument in the constructors forFred Drake2004-02-031-1/+5
| | | | | weakref ref and proxy objects; None was not being treated as identical to NULL, though it was documented as equivalent.
* Clarify minor point about the ref() and proxy() constructors.Fred Drake2004-02-031-1/+2
| | | | This matches what is already documented for corresponding feature of the C API.
* Fix input() builtin function to respect compiler flags.Hye-Shik Chang2004-02-023-1/+20
| | | | (SF patch 876178, patch by mwh, unittest by perky)
* Add FreeBSD support for bluetooth sockets. (SF Patch #888148)Hye-Shik Chang2004-02-021-0/+4
|
* Add FreeBSD support for bluetooth sockets.Hye-Shik Chang2004-02-024-17/+47
| | | | (SF Patch #888148, reviewed by loewis)
* Add collectionsmodule.c.Martin v. Löwis2004-02-011-2/+3
| | | | Don't link with largeint.lib anymore.
* Patch #874083: Bluetooth support for socket module.Martin v. Löwis2004-01-317-63/+126
|
* update dependency informationFred Drake2004-01-291-0/+1
|
* Add documentation for collections.deque().Raymond Hettinger2004-01-291-0/+1
|
* Fix spelling.Raymond Hettinger2004-01-291-2/+2
|
* Add documentation for collections.deque().Raymond Hettinger2004-01-291-0/+88
|
* * Move collections.deque() in from the sandboxRaymond Hettinger2004-01-2915-56/+982
| | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
* Add missed entry for cjkcodecs._iso_2022_kr.Hye-Shik Chang2004-01-281-0/+1
|
* fix whitespace style (inconsistent with the rest of the docs)Fred Drake2004-01-271-17/+17
|
* Removed two unneeded lines from PyObject_Compare().Brett Cannon2004-01-271-2/+0
| | | | Closes bug #885293 (thanks, Josiah Carlson).
* update signature of the socket constructorFred Drake2004-01-271-5/+7
| | | | (could someone backport this to Python 2.3.x please?)
* Two forgotten Py_DECREF() for two out-of-memory conditions.Armin Rigo2004-01-271-2/+6
|
* add hotshotmain refSkip Montanaro2004-01-271-0/+3
|
* add hotshotmain.py refSkip Montanaro2004-01-271-0/+1
|
* The bagpipe didn't say "no" (*), so here's a main program script useful forSkip Montanaro2004-01-261-0/+54
| | | | | | | running an application under hotshot's control. Only slightly embellished from what Walter Dörwald posted to python-dev. (*) http://www.icdc.com/~roadkill/silverstein/turtle.html