summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Replaced some tabs with spaces in verbatim section.Vinay Sajip2004-07-071-7/+7
|
* Demonstrate how to round final result.Raymond Hettinger2004-07-061-17/+17
|
* Expand examples to show polymorphismRaymond Hettinger2004-07-051-2/+14
|
* Simplify examples.Raymond Hettinger2004-07-051-5/+2
|
* Doc tested the recipes.Raymond Hettinger2004-07-051-5/+10
|
* Fix typoRaymond Hettinger2004-07-051-1/+1
|
* * Added missing info on construction from a tuple.Raymond Hettinger2004-07-051-16/+136
| | | | * Added a recipe section.
* Add decimal docs to the core.Raymond Hettinger2004-07-052-0/+883
|
* Textual change to make the doc reflect realityNicholas Bastin2004-07-041-1/+1
|
* Moved example section up to just after the section on Logger objects, and ↵Vinay Sajip2004-07-031-52/+118
| | | | changed it to use the new basicConfig() API
* Make weak references subclassable:Fred Drake2004-07-021-2/+41
| | | | | | | | | | | | | | | | | | | | | | - weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019.
* SF Bug #215126: Over restricted type checking on eval() functionRaymond Hettinger2004-07-021-2/+6
| | | | | | The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact.
* add cp866 rowSkip Montanaro2004-07-021-0/+4
|
* Document that encode() and decode() raise UnicodeErrorWalter Dörwald2004-07-011-5/+10
| | | | | | instead of ValueError. Add a note about error handling schemes added by PEP 293.
* link to the codecs page from the "".encode() description.Skip Montanaro2004-07-012-2/+3
|
* use file() in preference to open()Skip Montanaro2004-06-301-3/+3
|
* Check in the updated version of patch #957240, which doesn't relyMichael W. Hudson2004-06-301-14/+14
| | | | on the marshalling characteristics of infinities.
* [Bug #978556] Update SHA spec URL; bugfix candidateAndrew M. Kuchling2004-06-291-7/+5
|
* Added socket.getservbyport(), and make its second argument and that ofBarry Warsaw2004-06-281-3/+9
| | | | getservbyname() optional. Update the tests and the docs.
* Patch #923098: Share interned strings in marshal.Martin v. Löwis2004-06-271-1/+17
|
* move the note about the bsddb185 module above the "See also" box; thatFred Drake2004-06-241-4/+5
| | | | | should always go last in the relevant section's main content, but before child sections
* Improve the documented advice on how to best use heapq.heapreplace().Raymond Hettinger2004-06-201-1/+5
|
* Add apparently missing word for InvalidStateError definition.Brett Cannon2004-06-171-1/+1
| | | | Closes bug #973901. Thanks Brian Gough.
* add missing closing quote.Michael W. Hudson2004-06-171-1/+1
|
* Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870.Martin v. Löwis2004-06-161-1/+4
|
* Reverse argument order for nsmallest() and nlargest().Raymond Hettinger2004-06-151-2/+2
| | | | Reads better when the iterable is a generator expression.
* Patch #826074: cmath.log optional base argument, fixes #823209Raymond Hettinger2004-06-141-2/+4
| | | | (Contributed by Andrew Gaul.)
* Back out #957240.Martin v. Löwis2004-06-141-14/+14
|
* SF bug #970042, lockf() signature uses len, doc refers to length (use ↵Neal Norwitz2004-06-131-1/+1
| | | | length, same as docstring)
* Install C version of heapq.nsmallest().Raymond Hettinger2004-06-131-5/+0
|
* Minor wording and spacing nits.Raymond Hettinger2004-06-122-11/+7
|
* Complete the list of weakreferencable objects.Raymond Hettinger2004-06-121-0/+1
|
* SF patch #969791: Add nlargest() and nsmallest() to heapq.Raymond Hettinger2004-06-101-0/+24
|
* make a reference to the SimpleHTTPServer module a hyperlink to theFred Drake2004-06-091-1/+1
| | | | docs
* Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis2004-06-081-19/+0
|
* - markup fixFred Drake2004-06-081-3/+3
| | | | | - explain Python/ceval.c from what; lots of people don't use a source distro any more
* Feature request #935915: Add os.path.devnull.Martin v. Löwis2004-06-081-0/+8
|
* Patch #510695: Add TSC profiling for the VM.Martin v. Löwis2004-06-081-0/+10
|
* [Bug #953177] Mention .getlist(); text from Paul MooreAndrew M. Kuchling2004-06-061-9/+4
|
* SF 964876 mapping a 0 length fileTim Peters2004-06-061-8/+10
| | | | Document that it can't be done on Windows.
* [Bug #918710] Add paragraph to clarify docsAndrew M. Kuchling2004-06-051-0/+5
|
* avoid backticks in examples; use repr() insteadFred Drake2004-06-031-2/+2
|
* Document string methods that are locale-dependent. Fixes #935749.Martin v. Löwis2004-06-031-0/+24
| | | | Will backport to 2.3.
* Patch #957240: Add count parameter to asyncore.loop.Martin v. Löwis2004-06-031-14/+14
|
* - SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang2004-06-021-0/+11
| | | | | | | iswide() for east asian width manipulation. (Inspired by David Goodger, Reviewed by Martin v. Loewis) - Move _PyUnicode_TypeRecord.flags to the end of the struct so that no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
* Patch #932930: suggest the use of rawstrings for backslashes.Martin v. Löwis2004-05-311-9/+20
|
* Patch #963318: Add support for client-side cookie management.Martin v. Löwis2004-05-314-29/+816
|
* Add weakref support to sockets and re pattern objects.Raymond Hettinger2004-05-311-3/+17
|
* stupid, stupid, stupid... raw_input() already supports readline() if theSkip Montanaro2004-05-241-11/+1
| | | | readline module is loaded.
* Add example that uses readline.readline().Skip Montanaro2004-05-231-0/+33
|