Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added command line options for profile.py - one for stats output file | Nicholas Bastin | 2004-03-23 | 1 | -0/+9 |
| | | | | 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 | -1/+7 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | Fix capitalization of title for subsection 2. | 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. | ||||
* | SF Patch #912462: Relocate \end tag to the right place. | Hye-Shik Chang | 2004-03-09 | 1 | -1/+2 |
| | | | | (Submitted by George Yoshida) | ||||
* | SF #904720: dict.update should take a 2-tuple sequence like dict.__init_ | Raymond Hettinger | 2004-03-04 | 1 | -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 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 |
| | |||||
* | 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. | ||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -4/+4 |
| | | | | From SF patch #852334. | ||||
* | SF patch #892821: example for urllib2 has SyntaxError | Raymond Hettinger | 2004-02-08 | 1 | -2/+1 |
| | | | | (Contributed by George Yoshida.) | ||||
* | SF bug #892854: typo in textwrap doc page | Raymond Hettinger | 2004-02-08 | 1 | -1/+1 |
| | | | | (Reported by Drew Perttula.) | ||||
* | * Incorporate Skip's suggestions for documentation (explain the word deque | Raymond Hettinger | 2004-02-07 | 1 | -22/+42 |
| | | | | | comes from and show the differences from lists). * Add a rotate() method. | ||||
* | a couple other sunos4 support items removed | Skip Montanaro | 2004-02-07 | 1 | -2/+1 |
| | |||||
* | * Fix ref counting in extend() and extendleft(). | Raymond Hettinger | 2004-02-07 | 1 | -1/+3 |
| | | | | * Let deques support reversed(). | ||||
* | Have deques support high volume loads. | Raymond Hettinger | 2004-02-06 | 1 | -2/+18 |
| | |||||
* | minor markup adjustments | Fred Drake | 2004-02-03 | 1 | -2/+2 |
| | |||||
* | Clarify minor point about the ref() and proxy() constructors. | Fred Drake | 2004-02-03 | 1 | -1/+2 |
| | | | | This matches what is already documented for corresponding feature of the C API. | ||||
* | Add documentation for collections.deque(). | Raymond Hettinger | 2004-01-29 | 1 | -0/+1 |
| | |||||
* | Add documentation for collections.deque(). | Raymond Hettinger | 2004-01-29 | 1 | -0/+88 |
| | |||||
* | * Move collections.deque() in from the sandbox | Raymond Hettinger | 2004-01-29 | 2 | -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 Drake | 2004-01-27 | 1 | -17/+17 |
| | |||||
* | update signature of the socket constructor | Fred Drake | 2004-01-27 | 1 | -5/+7 |
| | | | | (could someone backport this to Python 2.3.x please?) | ||||
* | add missing period | Fred Drake | 2004-01-26 | 1 | -1/+1 |
| | |||||
* | fix markup | Fred Drake | 2004-01-26 | 1 | -1/+1 |
| | |||||
* | add references between getopt and optparse docs | Skip Montanaro | 2004-01-26 | 2 | -0/+8 |
| | |||||
* | fix method name in example code | Fred Drake | 2004-01-23 | 1 | -2/+2 |
| | |||||
* | add direct link to the article in DDJ | Fred Drake | 2004-01-21 | 1 | -1/+2 |
| | | | | closes SF bug #871402 | ||||
* | expand on notion of row object type | Skip Montanaro | 2004-01-21 | 1 | -3/+10 |
| | |||||
* | typo | Skip Montanaro | 2004-01-21 | 1 | -1/+1 |
| | |||||
* | Add a Guido inspired example for groupby(). | Raymond Hettinger | 2004-01-20 | 1 | -1/+14 |
| | |||||
* | Add CJK codecs support as discussed on python-dev. (SF #873597) | Hye-Shik Chang | 2004-01-17 | 1 | -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 threads | Fred Drake | 2004-01-16 | 1 | -3/+9 |
| | | | | - fix some markup | ||||
* | minor markup improvements | Fred Drake | 2004-01-16 | 1 | -6/+6 |
| | |||||
* | markup changes | Fred Drake | 2004-01-13 | 1 | -93/+107 |
| | |||||
* | [Bug #873205] Update URL | Andrew M. Kuchling | 2004-01-11 | 1 | -1/+1 |
| | |||||
* | The format of the string data used in the imageop module is described | Sjoerd Mullender | 2004-01-10 | 1 | -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 noticed | Andrew M. Kuchling | 2004-01-08 | 4 | -5/+5 |
| |