summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Exposed readline() function from the readline module.Skip Montanaro2004-05-231-0/+5
|
* SF bug #949329: sets.Set() --> set()Raymond Hettinger2004-05-191-0/+2
|
* SF patch #872326: Generator expression implementationRaymond Hettinger2004-05-192-0/+3
| | | | | | | | | | | | | | (Code contributed by Jiwon Seo.) The documentation portion of the patch is being re-worked and will be checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's rationale for the design decisions on binding behavior (as described in in his patch comments and in discussions on python-dev). The test file, test_genexps.py, is written in doctest format and is meant to exercise all aspects of the the patch. Further additions are welcome from everyone. Please stress test this new feature as much as possible before the alpha release.
* date typo in %changelogSkip Montanaro2004-05-171-1/+1
|
* Fix SF item #876278: Unbounded recursion in modulefinder.Thomas Heller2004-05-111-0/+2
| | | | Already backported to release23-maint.
* Swap public and system ID in start_doctype_decl. Fixes #780300.Martin v. Löwis2004-05-061-0/+3
|
* SF patch #947476: Apply freelist technique to listsRaymond Hettinger2004-05-051-0/+3
| | | | | Re-use list object bodies. Saves calls to malloc() and free() for faster list instantiation and deallocation.
* Forgot to mention the SF number, and that Bob Ippolito provided the patch.Thomas Heller2004-04-221-1/+2
|
* Two new public API functions, Py_IncRef and Py_DecRef. Useful forThomas Heller2004-04-221-0/+4
| | | | dynamic embedders of Python.
* SF #926075: Fixed the bug that returns a wrong pattern object forHye-Shik Chang2004-04-201-0/+4
| | | | | a string or unicode object in sre.compile() when a different type pattern with the same value exists.
* Bug #934635: Fix a bug where the configure script couldn't detectHye-Shik Chang2004-04-141-0/+3
| | | | | getaddrinfo() properly if the KAME stack had SCTP support. (Submitted by SUZUKI Shinsuke)
* note --trackcalls flag in trace moduleSkip Montanaro2004-04-071-0/+3
|
* Improve accuracy of sequence and mapping checks.Raymond Hettinger2004-04-041-0/+3
|
* If a file is opened with an explicit buffer size >= 1, repeatedAndrew MacIntyre2004-04-041-0/+4
| | | | | | | | close() calls would attempt to free() the buffer already free()ed on the first close(). [bug introduced with patch #788249] Making sure that the buffer is free()ed in file object deallocation is a belt-n-braces bit of insurance against a memory leak.
* It would help if I deleted the old pystack!Skip Montanaro2004-04-021-23/+11
| | | | Also, move pystack comment down next to it
* include local variables when dumping Python stack traceSkip Montanaro2004-04-021-9/+36
|
* Patch #924497: find(1) all files with /usr/local/bin/python in them.Martin v. Löwis2004-03-311-5/+7
| | | | Backported to 2.3.
* Fixed a caching bug in platform.platform() where the argument of 'terse' wasBrett Cannon2004-03-251-1/+4
| | | | not taken into consideration when caching value.
* Enable the profiling of C functions (builtins and extensions)Nicholas Bastin2004-03-241-0/+3
|
* ...for work done at PyCon 2004 (and beyond...)Nicholas Bastin2004-03-231-0/+1
|
* Make socket.sslerror a subclass of socket.error .Brett Cannon2004-03-231-0/+3
| | | | Added socket.error to the socket module's C API.
* Added command line options for profile.py - one for stats output fileNicholas Bastin2004-03-231-0/+3
| | | | and one for sort order when using stdout. Uses optparse.
* Added global runctx function to profile to fix SF Bug #716587Nicholas Bastin2004-03-221-0/+2
|
* Changed file.name to be the object passed as the 'name' argument to file()Nicholas Bastin2004-03-211-0/+2
| | | | Fixes SF Bug #773356
* Bug #920575: Add a workaround for GNU libc nl_langinfo()'s returning NULL.Hye-Shik Chang2004-03-211-0/+3
| | | | (Reported by Matthias Klose)
* Update URLsAndrew M. Kuchling2004-03-211-2/+2
|
* Moved tracebackobject to traceback.h, Closes SF Bug #497067Nicholas Bastin2004-03-211-0/+2
|
* [693255] also back out corresponding NEWS item...Just van Rossum2004-03-211-2/+0
|
* Patch #853488: Tix hlist missing entryconfigure and entrycget methods.Martin v. Löwis2004-03-211-0/+2
|
* Improve byte coding for multiple assignments.Raymond Hettinger2004-03-211-0/+3
| | | | Gives 30% speedup on "a,b=1,2" and 25% on "a,b,c=1,2,3".
* Limit the nesting depth of a tuple passed as the second argument toBrett Cannon2004-03-201-0/+4
| | | | isinstance() or issubclass() to the recursion limit of the interpreter.
* Remove non-existent paths.Brett Cannon2004-03-201-0/+2
|
* Add an entry for addition of the ptcp154 codec.Hye-Shik Chang2004-03-191-0/+2
|
* Add news entries for the dictionary optimizations.Raymond Hettinger2004-03-181-0/+4
|
* SF feature request #686323: Minor array module enhancementsRaymond Hettinger2004-03-141-1/+3
| | | | | | | array.extend() now accepts iterable arguments implements as a series of appends. Besides being a user convenience and matching the behavior for lists, this the saves memory and cycles that would be used to create a temporary array object.
* Update the array overallocation scheme to match the approach used forRaymond Hettinger2004-03-141-1/+3
| | | | | | | | lists. Speeds append() operations and reduces memory requirements (because of more conservative overallocation). Paves the way for the feature request for array.extend() to support arbitrary iterable arguments.
* SF patch #911431: robot.txt must be robots.txtRaymond Hettinger2004-03-131-1/+1
| | | | (Contributed by George Yoshida.)
* SF bug #910986: copy.copy fails for array.arrayRaymond Hettinger2004-03-131-0/+2
| | | | Added support for the copy module.
* Use a new macro, PySequence_Fast_ITEMS to factor out code common toRaymond Hettinger2004-03-121-0/+3
| | | | | three recent optimizations. Aside from reducing code volume, it increases readability.
* Make buffer objects based on mutable objects (like array) safe.Neil Schemenauer2004-03-111-0/+5
|
* SF patch #907403: Improvements to cStringIO.writelines()Raymond Hettinger2004-03-081-0/+5
| | | | | | | The writelines() method now accepts any iterable argument and writes the lines one at a time rather than using ''.join(lines) followed by a single write. Results in considerable memory savings and makes the method suitable for use with generator expressions.
* SF patch #910929: Optimize list comprehensionsRaymond Hettinger2004-03-071-0/+4
| | | | | Add a new opcode, LIST_APPEND, and apply it to the code generation for list comprehensions. Reduces the per-loop overhead by about a third.
* SF #904720: dict.update should take a 2-tuple sequence like dict.__init_Raymond Hettinger2004-03-042-0/+5
| | | | | | | | (Championed by Bob Ippolito.) The update() method for mappings now accepts all the same argument forms as the dict() constructor. This includes item lists and/or keyword arguments.
* * explain flags in doc stringsSkip Montanaro2004-03-031-0/+5
| | | | | * reverse order of files on the command line in pickle2db.py to make it symmetrical with db2pickle.py in the two-arg case (src, then dest)
* Have strftime() check its time tuple argument to make sure the tuple's valuesBrett Cannon2004-03-021-0/+7
| | | | | | | | | | are within proper boundaries as specified in the docs. This can break possible code (datetime module needed changing, for instance) that uses 0 for values that need to be greater 1 or greater (month, day, and day of year). Fixes bug #897625.
* Add pystack definition to Misc/gdbinit with some explanation of its behaviorSkip Montanaro2004-03-011-0/+23
| | | | | and add flag comments to ceval.c and main.c alerting people to the coupling between pystack and the layout of those files.
* "Fix" (for certain configurations of the planets, includingMichael W. Hudson2004-02-191-0/+4
| | | | | | | | | | | recent gcc on Linux/x86) [ 899109 ] 1==float('nan') by implementing rich comparisons for floats. Seems to make comparisons involving NaNs somewhat less surprising when the underlying C compiler actually implements C99 semantics.
* Patch #892673: Replace /usr/local/bin/python withMartin v. Löwis2004-02-151-1/+38
| | | | | /usr/bin/env python'%{binsuffix} Backported to 2.3.
* Patch #711838: Allow non-anonymous ftp urls in urllib2.Martin v. Löwis2004-02-151-0/+2
| | | | Backported to 2.3.
* * Moved the responsibility for emptying the previous list from list_fillRaymond Hettinger2004-02-151-0/+5
| | | | | | | | | | | | | | | | | | | | | to list_init. * Replaced the code in list_extend with the superior code from list_fill. * Eliminated list_fill. Results: * list.extend() no longer creates an intermediate tuple except to handle the special case of x.extend(x). The saves memory and time. * list.extend(x) runs about the same x is a list or tuple, a little faster when x is an iterable not defining __len__, and twice as fast when x is an iterable defining __len__. * the code is about 15 lines shorter and no longer duplicates functionality.