summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Fix capitalization of title for subsection 2.Brett Cannon2004-03-181-1/+1
|
* Minor grammatical fixes.Brett Cannon2004-03-181-3/+3
|
* Extremely minor typo fixed.Brett Cannon2004-03-181-1/+1
|
* The example files need to be opened with the "b" flag.Skip Montanaro2004-03-171-2/+2
|
* SF feature request #686323: Minor array module enhancementsRaymond Hettinger2004-03-141-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 toRaymond Hettinger2004-03-121-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 Chang2004-03-091-1/+2
| | | | (Submitted by George Yoshida)
* Optimize tuple_slice() and make further improvements to list_slice()Raymond Hettinger2004-03-081-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 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-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 theRaymond Hettinger2004-03-031-1/+331
| | | | documentation as well as the source code.
* Have strftime() check its time tuple argument to make sure the tuple's valuesBrett Cannon2004-03-021-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 purposeRaymond Hettinger2004-03-011-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 Hettinger2004-02-291-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 featuresNeal Norwitz2004-02-281-0/+4
|
* Add version changed/added to docNeal Norwitz2004-02-281-0/+2
|
* fix typo in reference to RFC 3464 DSN MIME typeFred Drake2004-02-241-1/+1
|
* fix English usage error reported by Ken FuchsFred Drake2004-02-241-2/+2
|
* - "Mac OS" should always include the spaceFred Drake2004-02-191-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" useFred Drake2004-02-191-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 additionalFred Drake2004-02-191-40/+39
| | | | | functions made available in the post-installation script run by the Windows installer
* minor markup improvementsFred Drake2004-02-191-9/+9
|
* Implementation of patch 869468David Ascher2004-02-181-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 Hettinger2004-02-171-0/+2
|
* markup correctionFred Drake2004-02-171-1/+1
|
* Patch #893566: Document that tp_dealloc may be called from any thread.Martin v. Löwis2004-02-151-0/+10
|
* Fine tune the speed/space trade-off for overallocating small lists.Raymond Hettinger2004-02-141-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 Hettinger2004-02-131-2/+2
|
* * Note list optimizationsRaymond Hettinger2004-02-131-13/+14
| | | | * Move an example out of a comment.
* minor markup improvementsFred Drake2004-02-121-7/+7
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-125-18/+18
| | | | From SF patch #852334.
* fix minor markup error: \code{for} --> \keyword{for}Fred Drake2004-02-121-6/+7
|
* SF 895560: minor typoRaymond Hettinger2004-02-121-2/+2
|
* add support for \e to the {alltt} environmentFred Drake2004-02-102-1/+3
|
* SF #894428, fix typoNeal Norwitz2004-02-101-1/+1
|
* 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 #880552: Fix typo in usage message(prechm.py)Raymond Hettinger2004-02-081-3/+3
| | | | | | (Contributed by George Yoshida.) * Also convert tabs to spaces.
* SF bug #892854: typo in textwrap doc pageRaymond Hettinger2004-02-081-1/+1
| | | | (Reported by Drew Perttula.)
* * Incorporate Skip's suggestions for documentation (explain the word dequeRaymond Hettinger2004-02-071-22/+42
| | | | | comes from and show the differences from lists). * Add a rotate() method.
* a couple other sunos4 support items removedSkip Montanaro2004-02-071-2/+1
|
* * Fix ref counting in extend() and extendleft().Raymond Hettinger2004-02-071-1/+3
| | | | * Let deques support reversed().
* Have deques support high volume loads.Raymond Hettinger2004-02-061-2/+18
|
* minor markup adjustmentsFred Drake2004-02-031-2/+2
|
* 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.