Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Exposed readline() function from the readline module. | Skip Montanaro | 2004-05-23 | 1 | -0/+5 |
| | |||||
* | SF bug #949329: sets.Set() --> set() | Raymond Hettinger | 2004-05-19 | 1 | -0/+2 |
| | |||||
* | SF patch #872326: Generator expression implementation | Raymond Hettinger | 2004-05-19 | 2 | -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 %changelog | Skip Montanaro | 2004-05-17 | 1 | -1/+1 |
| | |||||
* | Fix SF item #876278: Unbounded recursion in modulefinder. | Thomas Heller | 2004-05-11 | 1 | -0/+2 |
| | | | | Already backported to release23-maint. | ||||
* | Swap public and system ID in start_doctype_decl. Fixes #780300. | Martin v. Löwis | 2004-05-06 | 1 | -0/+3 |
| | |||||
* | SF patch #947476: Apply freelist technique to lists | Raymond Hettinger | 2004-05-05 | 1 | -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 Heller | 2004-04-22 | 1 | -1/+2 |
| | |||||
* | Two new public API functions, Py_IncRef and Py_DecRef. Useful for | Thomas Heller | 2004-04-22 | 1 | -0/+4 |
| | | | | dynamic embedders of Python. | ||||
* | SF #926075: Fixed the bug that returns a wrong pattern object for | Hye-Shik Chang | 2004-04-20 | 1 | -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 detect | Hye-Shik Chang | 2004-04-14 | 1 | -0/+3 |
| | | | | | getaddrinfo() properly if the KAME stack had SCTP support. (Submitted by SUZUKI Shinsuke) | ||||
* | note --trackcalls flag in trace module | Skip Montanaro | 2004-04-07 | 1 | -0/+3 |
| | |||||
* | Improve accuracy of sequence and mapping checks. | Raymond Hettinger | 2004-04-04 | 1 | -0/+3 |
| | |||||
* | If a file is opened with an explicit buffer size >= 1, repeated | Andrew MacIntyre | 2004-04-04 | 1 | -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 Montanaro | 2004-04-02 | 1 | -23/+11 |
| | | | | Also, move pystack comment down next to it | ||||
* | include local variables when dumping Python stack trace | Skip Montanaro | 2004-04-02 | 1 | -9/+36 |
| | |||||
* | Patch #924497: find(1) all files with /usr/local/bin/python in them. | Martin v. Löwis | 2004-03-31 | 1 | -5/+7 |
| | | | | Backported to 2.3. | ||||
* | Fixed a caching bug in platform.platform() where the argument of 'terse' was | Brett Cannon | 2004-03-25 | 1 | -1/+4 |
| | | | | not taken into consideration when caching value. | ||||
* | Enable the profiling of C functions (builtins and extensions) | Nicholas Bastin | 2004-03-24 | 1 | -0/+3 |
| | |||||
* | ...for work done at PyCon 2004 (and beyond...) | Nicholas Bastin | 2004-03-23 | 1 | -0/+1 |
| | |||||
* | Make socket.sslerror a subclass of socket.error . | Brett Cannon | 2004-03-23 | 1 | -0/+3 |
| | | | | Added socket.error to the socket module's C API. | ||||
* | Added command line options for profile.py - one for stats output file | Nicholas Bastin | 2004-03-23 | 1 | -0/+3 |
| | | | | and one for sort order when using stdout. Uses optparse. | ||||
* | Added global runctx function to profile to fix SF Bug #716587 | Nicholas Bastin | 2004-03-22 | 1 | -0/+2 |
| | |||||
* | Changed file.name to be the object passed as the 'name' argument to file() | Nicholas Bastin | 2004-03-21 | 1 | -0/+2 |
| | | | | Fixes SF Bug #773356 | ||||
* | Bug #920575: Add a workaround for GNU libc nl_langinfo()'s returning NULL. | Hye-Shik Chang | 2004-03-21 | 1 | -0/+3 |
| | | | | (Reported by Matthias Klose) | ||||
* | Update URLs | Andrew M. Kuchling | 2004-03-21 | 1 | -2/+2 |
| | |||||
* | Moved tracebackobject to traceback.h, Closes SF Bug #497067 | Nicholas Bastin | 2004-03-21 | 1 | -0/+2 |
| | |||||
* | [693255] also back out corresponding NEWS item... | Just van Rossum | 2004-03-21 | 1 | -2/+0 |
| | |||||
* | Patch #853488: Tix hlist missing entryconfigure and entrycget methods. | Martin v. Löwis | 2004-03-21 | 1 | -0/+2 |
| | |||||
* | Improve byte coding for multiple assignments. | Raymond Hettinger | 2004-03-21 | 1 | -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 to | Brett Cannon | 2004-03-20 | 1 | -0/+4 |
| | | | | isinstance() or issubclass() to the recursion limit of the interpreter. | ||||
* | Remove non-existent paths. | Brett Cannon | 2004-03-20 | 1 | -0/+2 |
| | |||||
* | Add an entry for addition of the ptcp154 codec. | Hye-Shik Chang | 2004-03-19 | 1 | -0/+2 |
| | |||||
* | Add news entries for the dictionary optimizations. | Raymond Hettinger | 2004-03-18 | 1 | -0/+4 |
| | |||||
* | SF feature request #686323: Minor array module enhancements | Raymond Hettinger | 2004-03-14 | 1 | -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 for | Raymond Hettinger | 2004-03-14 | 1 | -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.txt | Raymond Hettinger | 2004-03-13 | 1 | -1/+1 |
| | | | | (Contributed by George Yoshida.) | ||||
* | SF bug #910986: copy.copy fails for array.array | Raymond Hettinger | 2004-03-13 | 1 | -0/+2 |
| | | | | Added support for the copy module. | ||||
* | Use a new macro, PySequence_Fast_ITEMS to factor out code common to | Raymond Hettinger | 2004-03-12 | 1 | -0/+3 |
| | | | | | three recent optimizations. Aside from reducing code volume, it increases readability. | ||||
* | Make buffer objects based on mutable objects (like array) safe. | Neil Schemenauer | 2004-03-11 | 1 | -0/+5 |
| | |||||
* | SF patch #907403: Improvements to cStringIO.writelines() | Raymond Hettinger | 2004-03-08 | 1 | -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 comprehensions | Raymond Hettinger | 2004-03-07 | 1 | -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 Hettinger | 2004-03-04 | 2 | -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 strings | Skip Montanaro | 2004-03-03 | 1 | -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 values | Brett Cannon | 2004-03-02 | 1 | -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 behavior | Skip Montanaro | 2004-03-01 | 1 | -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, including | Michael W. Hudson | 2004-02-19 | 1 | -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 with | Martin v. Löwis | 2004-02-15 | 1 | -1/+38 |
| | | | | | /usr/bin/env python'%{binsuffix} Backported to 2.3. | ||||
* | Patch #711838: Allow non-anonymous ftp urls in urllib2. | Martin v. Löwis | 2004-02-15 | 1 | -0/+2 |
| | | | | Backported to 2.3. | ||||
* | * Moved the responsibility for emptying the previous list from list_fill | Raymond Hettinger | 2004-02-15 | 1 | -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. |