summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-12246-962/+926
| | | | From SF patch #852334.
* This is my patch #876198 plus a NEWS entry and a header frob.Michael W. Hudson2004-02-123-6/+5
| | | | | Remove the ability to use (from C) arbitrary objects supporting the read buffer interface as the co_code member of code objects.
* fix minor markup error: \code{for} --> \keyword{for}Fred Drake2004-02-121-6/+7
|
* SF 895560: minor typoRaymond Hettinger2004-02-121-2/+2
|
* need to initialize ob_type slot at run-time, at least on cygwinSkip Montanaro2004-02-101-1/+2
|
* add support for \e to the {alltt} environmentFred Drake2004-02-102-1/+3
|
* SF #894428, fix typoNeal Norwitz2004-02-101-1/+1
|
* remove support for missing ANSI C header files (limits.h, stddef.h, etc).Skip Montanaro2004-02-1018-139/+17
|
* Fix indentation error in testGetServByName and rewrite loop to avoid clumsySkip Montanaro2004-02-101-5/+2
| | | | sentinel variable
* Make reversed() transparent with respect to length.Raymond Hettinger2004-02-102-1/+17
|
* Give itertools.repeat() a length method.Raymond Hettinger2004-02-102-2/+21
|
* the \file macro is no longer a good example of where \e can't be usedFred Drake2004-02-091-4/+5
|
* support \e in \file and \filenq; this is useful for Windows pathsFred Drake2004-02-091-1/+1
|
* Minor editsAndrew M. Kuchling2004-02-091-6/+7
|
* Documentation for PyDescr_NewClassMethod was missing - here's at leastThomas Heller2004-02-091-0/+5
| | | | | | the function prototype. Already backported to release23-maint.
* SF patch #892821: example for urllib2 has SyntaxErrorRaymond Hettinger2004-02-081-2/+1
| | | | (Contributed by George Yoshida.)
* Fix misspelled name.Raymond Hettinger2004-02-081-1/+1
|
* Fix typoRaymond Hettinger2004-02-081-1/+1
|
* 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.