summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added command line options for profile.py - one for stats output fileNicholas Bastin2004-03-231-0/+9
| | | | and one for sort order when using stdout. Uses optparse.
* Added global runctx function to profile to fix SF Bug #716587Nicholas Bastin2004-03-221-1/+7
|
* Modified string.split documentation to reflect behaviour of splitting emtpy ↵Nicholas Bastin2004-03-211-0/+5
| | | | string. Closes SF bug #811604
* concrete example of why retaining old objects is goodSkip Montanaro2004-03-211-1/+9
|
* Removed extra period from \versionchanged entry; macro adds periodBrett Cannon2004-03-211-1/+1
| | | | automatically.
* Clarify docs on where .pth files can exist.Brett Cannon2004-03-201-1/+2
|
* SF bug #918371: hasattr()'s return typeRaymond Hettinger2004-03-201-2/+2
| | | | Replace 1 and 0 with True and False.
* Expand on the semantics of reload(). Closes #919099.Skip Montanaro2004-03-191-2/+24
|
* Add a new unicode codec: ptcp154 (Kazakh)Hye-Shik Chang2004-03-191-0/+4
|
* Fix capitalization of title for subsection 2.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.
* SF Patch #912462: Relocate \end tag to the right place.Hye-Shik Chang2004-03-091-1/+2
| | | | (Submitted by George Yoshida)
* SF #904720: dict.update should take a 2-tuple sequence like dict.__init_Raymond Hettinger2004-03-041-3/+10
| | | | | | | | (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.
* 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
|
* 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.
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-4/+4
| | | | From SF patch #852334.
* SF patch #892821: example for urllib2 has SyntaxErrorRaymond Hettinger2004-02-081-2/+1
| | | | (Contributed by George Yoshida.)
* 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.
* Add documentation for collections.deque().Raymond Hettinger2004-01-291-0/+1
|
* Add documentation for collections.deque().Raymond Hettinger2004-01-291-0/+88
|
* * Move collections.deque() in from the sandboxRaymond Hettinger2004-01-292-21/+0
| | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
* fix whitespace style (inconsistent with the rest of the docs)Fred Drake2004-01-271-17/+17
|
* update signature of the socket constructorFred Drake2004-01-271-5/+7
| | | | (could someone backport this to Python 2.3.x please?)
* add missing periodFred Drake2004-01-261-1/+1
|
* fix markupFred Drake2004-01-261-1/+1
|
* add references between getopt and optparse docsSkip Montanaro2004-01-262-0/+8
|
* fix method name in example codeFred Drake2004-01-231-2/+2
|
* add direct link to the article in DDJFred Drake2004-01-211-1/+2
| | | | closes SF bug #871402
* expand on notion of row object typeSkip Montanaro2004-01-211-3/+10
|
* typoSkip Montanaro2004-01-211-1/+1
|
* Add a Guido inspired example for groupby().Raymond Hettinger2004-01-201-1/+14
|
* Add CJK codecs support as discussed on python-dev. (SF #873597)Hye-Shik Chang2004-01-171-9/+81
| | | | | Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
* - add warning that hotshot doesn't work well with threadsFred Drake2004-01-161-3/+9
| | | | - fix some markup
* minor markup improvementsFred Drake2004-01-161-6/+6
|
* markup changesFred Drake2004-01-131-93/+107
|
* [Bug #873205] Update URLAndrew M. Kuchling2004-01-111-1/+1
|
* The format of the string data used in the imageop module is describedSjoerd Mullender2004-01-101-0/+12
| | | | | | | | | | | | | | | | | | as "This is the same format as used by gl.lrectwrite() and the imgfile module." This implies a certain byte order in multi-byte pixel formats. However, the code was originally written on an SGI (big-endian) and *uses* the fact that bytes are stored in a particular order in ints. This means that the code uses and produces different byte order on little-endian systems. This fix adds a module-level flag "backward_compatible" (default not set, and if not set, behaves as if set to 1--i.e. backward compatible) that can be used on a little-endian system to use the same byte order as the SGI. Using this flag it is then possible to prepare SGI-compatible images on a little-endian system. This patch is the result of a (small) discussion on python-dev and was submitted to SourceForge as patch #874358.
* Fix some digicool addresses I noticedAndrew M. Kuchling2004-01-084-5/+5
|