Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove 'now' | Andrew M. Kuchling | 2004-03-21 | 1 | -1/+1 |
| | |||||
* | Modified string.split documentation to reflect behaviour of splitting emtpy ↵ | Nicholas Bastin | 2004-03-21 | 1 | -0/+5 |
| | | | | string. Closes SF bug #811604 | ||||
* | concrete example of why retaining old objects is good | Skip Montanaro | 2004-03-21 | 1 | -1/+9 |
| | |||||
* | Removed extra period from \versionchanged entry; macro adds period | Brett Cannon | 2004-03-21 | 1 | -1/+1 |
| | | | | automatically. | ||||
* | Clarify docs on where .pth files can exist. | Brett Cannon | 2004-03-20 | 1 | -1/+2 |
| | |||||
* | SF bug #918371: hasattr()'s return type | Raymond Hettinger | 2004-03-20 | 1 | -2/+2 |
| | | | | Replace 1 and 0 with True and False. | ||||
* | Update copyright years, and change copyright.tex to use the same spelling | Tim Peters | 2004-03-20 | 2 | -2/+2 |
| | | | | | as license.tex (SF patch 795531 complained about the spelling discrepancy, although this "repairs" that flaw in a different way than the patch). | ||||
* | fix two typos that turned text into markup | Fred Drake | 2004-03-20 | 1 | -1/+1 |
| | |||||
* | Expand on the semantics of reload(). Closes #919099. | Skip Montanaro | 2004-03-19 | 1 | -2/+24 |
| | |||||
* | Add a new unicode codec: ptcp154 (Kazakh) | Hye-Shik Chang | 2004-03-19 | 1 | -0/+4 |
| | |||||
* | Add news entries for the dictionary optimizations. | Raymond Hettinger | 2004-03-18 | 1 | -1/+4 |
| | |||||
* | Fix capitalization of title for subsection 2. | Brett Cannon | 2004-03-18 | 1 | -1/+1 |
| | |||||
* | Minor grammatical fixes. | Brett Cannon | 2004-03-18 | 1 | -3/+3 |
| | |||||
* | Extremely minor typo fixed. | Brett Cannon | 2004-03-18 | 1 | -1/+1 |
| | |||||
* | The example files need to be opened with the "b" flag. | Skip Montanaro | 2004-03-17 | 1 | -2/+2 |
| | |||||
* | SF feature request #686323: Minor array module enhancements | Raymond Hettinger | 2004-03-14 | 1 | -4/+7 |
| | | | | | | | 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. | ||||
* | Use a new macro, PySequence_Fast_ITEMS to factor out code common to | Raymond Hettinger | 2004-03-12 | 1 | -0/+7 |
| | | | | | three recent optimizations. Aside from reducing code volume, it increases readability. | ||||
* | SF Patch #912462: Relocate \end tag to the right place. | Hye-Shik Chang | 2004-03-09 | 1 | -1/+2 |
| | | | | (Submitted by George Yoshida) | ||||
* | Optimize tuple_slice() and make further improvements to list_slice() | Raymond Hettinger | 2004-03-08 | 1 | -0/+3 |
| | | | | | | and list.extend(). Factoring the inner loops to remove the constant structure references and fixed offsets gives speedups ranging from 20% to 30%. | ||||
* | 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 | -3/+14 |
| | | | | | | | | (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. | ||||
* | Added license notices that are required to be included in the | Raymond Hettinger | 2004-03-03 | 1 | -1/+331 |
| | | | | documentation as well as the source code. | ||||
* | Have strftime() check its time tuple argument to make sure the tuple's values | Brett Cannon | 2004-03-02 | 1 | -1/+4 |
| | | | | | | | | | | 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. | ||||
* | Replace left(), right(), and __reversed__() with the more general purpose | Raymond Hettinger | 2004-03-01 | 1 | -15/+6 |
| | | | | | | | __getitem__() and __setitem__(). Simplifies the API, reduces the code size, adds flexibility, and makes deques work with bisect.bisect(), random.shuffle(), and random.sample(). | ||||
* | Improvements to collections.deque(): | Raymond Hettinger | 2004-02-29 | 1 | -7/+22 |
| | | | | | | | | * Add doctests for the examples in the library reference. * Add two methods, left() and right(), modeled after deques in C++ STL. * Apply the new method to asynchat.py. * Add comparison operators to make deques more substitutable for lists. * Replace the LookupErrors with IndexErrors to more closely match lists. | ||||
* | Use versionadded for new features | Neal Norwitz | 2004-02-28 | 1 | -0/+4 |
| | |||||
* | Add version changed/added to doc | Neal Norwitz | 2004-02-28 | 1 | -0/+2 |
| | |||||
* | fix typo in reference to RFC 3464 DSN MIME type | Fred Drake | 2004-02-24 | 1 | -1/+1 |
| | |||||
* | fix English usage error reported by Ken Fuchs | Fred Drake | 2004-02-24 | 1 | -2/+2 |
| | |||||
* | - "Mac OS" should always include the space | Fred Drake | 2004-02-19 | 1 | -23/+33 |
| | | | | | | | - comment out documentation for a non-existant feature (--spec-file) that the comments indicate isn't clearly needed - lots of minor markup adjustments to get a more consistent presentation | ||||
* | - according to Apple's publication style guide, yes, "Mac people" use | Fred Drake | 2004-02-19 | 1 | -2/+2 |
| | | | | | | the term Installer (always capitalized, however) - generalize the text about the term "installer" in a fairly reasonable way | ||||
* | use API documentation style for the descriptions of the additional | Fred Drake | 2004-02-19 | 1 | -40/+39 |
| | | | | | functions made available in the post-installation script run by the Windows installer | ||||
* | minor markup improvements | Fred Drake | 2004-02-19 | 1 | -9/+9 |
| | |||||
* | Implementation of patch 869468 | David Ascher | 2004-02-18 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | Allow the user to create Tkinter.Tcl objects which are just like Tkinter.Tk objects except that they do not initialize Tk. This is useful in circumstances where the script is being run on machines that do not have an X server running -- in those cases, Tk initialization fails, even if no window is ever created. Includes documentation change and tests. Tested on Linux, Solaris and Windows. Reviewed by Martin von Loewis. | ||||
* | Mention the optimization of list.extend(). | Raymond Hettinger | 2004-02-17 | 1 | -0/+2 |
| | |||||
* | markup correction | Fred Drake | 2004-02-17 | 1 | -1/+1 |
| | |||||
* | Patch #893566: Document that tp_dealloc may be called from any thread. | Martin v. Löwis | 2004-02-15 | 1 | -0/+10 |
| | |||||
* | Fine tune the speed/space trade-off for overallocating small lists. | Raymond Hettinger | 2004-02-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | The Py2.3 approach overallocated small lists by up to 8 elements. The last checkin would limited this to one but slowed down (by 20 to 30%) the creation of small lists between 3 to 8 elements. This tune-up balances the two, limiting overallocation to 3 elements (significantly reducing space consumption from Py2.3) and running faster than the previous checkin. The first part of the growth pattern (0, 4, 8, 16) neatly meshes with allocators that trigger data movement only when crossing a power of two boundary. Also, then even numbers mesh well with common data alignments. | ||||
* | Lists are measured in elements not bytes. | Raymond Hettinger | 2004-02-13 | 1 | -2/+2 |
| | |||||
* | * Note list optimizations | Raymond Hettinger | 2004-02-13 | 1 | -13/+14 |
| | | | | * Move an example out of a comment. | ||||
* | minor markup improvements | Fred Drake | 2004-02-12 | 1 | -7/+7 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 5 | -18/+18 |
| | | | | From SF patch #852334. | ||||
* | fix minor markup error: \code{for} --> \keyword{for} | Fred Drake | 2004-02-12 | 1 | -6/+7 |
| | |||||
* | SF 895560: minor typo | Raymond Hettinger | 2004-02-12 | 1 | -2/+2 |
| | |||||
* | add support for \e to the {alltt} environment | Fred Drake | 2004-02-10 | 2 | -1/+3 |
| | |||||
* | SF #894428, fix typo | Neal Norwitz | 2004-02-10 | 1 | -1/+1 |
| | |||||
* | the \file macro is no longer a good example of where \e can't be used | Fred Drake | 2004-02-09 | 1 | -4/+5 |
| | |||||
* | support \e in \file and \filenq; this is useful for Windows paths | Fred Drake | 2004-02-09 | 1 | -1/+1 |
| | |||||
* | Minor edits | Andrew M. Kuchling | 2004-02-09 | 1 | -6/+7 |
| | |||||
* | Documentation for PyDescr_NewClassMethod was missing - here's at least | Thomas Heller | 2004-02-09 | 1 | -0/+5 |
| | | | | | | the function prototype. Already backported to release23-maint. |