summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add settrace() and setprofile() functions to the threading library.Jeremy Hylton2003-06-291-0/+14
|
* SF patch #760257: add socket.timeout exceptionRaymond Hettinger2003-06-291-1/+9
| | | | | | (Contributed by Bob Halley) Add documentation for the new socket.timeout exception.
* Add take() to examples. Tighten the islice() exampleRaymond Hettinger2003-06-281-1/+4
|
* fix markup nitsFred Drake2003-06-281-12/+12
|
* SF patch #761519: Fixes for bugs 760703 and 757821Raymond Hettinger2003-06-271-15/+30
| | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821).
* A hack to ease compatibility with pre-2.3 Pythons: by default, doctestTim Peters2003-06-271-0/+17
| | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way.
* markup consistency nitsFred Drake2003-06-261-9/+10
|
* Removed useless intra-section references which jump to the top of theRaymond Hettinger2003-06-251-4/+2
| | | | section instead of the specific item being referenced.
* SF bug #696777: How to make a class iterable using a member generator.Raymond Hettinger2003-06-251-0/+6
| | | | | * Added a note that a container class can implement the iterator protocol by defining its __iter__() method as a generator.
* SF bug #757822: Additional index items, other minor detailsRaymond Hettinger2003-06-251-2/+2
| | | | * Minor grammatical fix.
* Patch #640236: Better eplain unused data.Martin v. Löwis2003-06-211-7/+12
|
* Add some documentation which describes how to use the email packageBarry Warsaw2003-06-201-1/+35
| | | | instead of rfc822 as the Message factory.
* SF #757229, fix libsocket.tex typoNeal Norwitz2003-06-201-1/+1
|
* Avoid using 'dir' as a variable name and use os.path.join() to createSkip Montanaro2003-06-191-4/+4
| | | | paths.
* Minor updates:Raymond Hettinger2003-06-181-4/+11
| | | | | | * Updated comment on design of imap() * Added untraversed object in izip() structure * Replaced the pairwise() example with a more general window() example
* Fix typo.Raymond Hettinger2003-06-181-1/+1
|
* Updated documentation for the new slice arguments for list.index().Walter Dörwald2003-06-171-3/+8
|
* SF Patch 569574 - enhancements to cgitb for plain text displaySkip Montanaro2003-06-171-4/+10
|
* Fix some markup nitsNeal Norwitz2003-06-171-4/+4
|
* ^D means EOF on Unix but not on Windows. Expand the example's prompt toTim Peters2003-06-151-5/+5
| | | | | | tell Windows Truth too. Bugfix candidate.
* * Added missing documentation for object().Raymond Hettinger2003-06-111-2/+15
| | | | * Noted the Py2.3 in the optional arg for bool().
* SF bug #660022: parameters for int(), str(), etc.Raymond Hettinger2003-06-111-19/+28
| | | | | | * Indicate that arguments are optional for most builtin type constructors. * Replace e.g. in staticmethod() and classmethod() docs. * Add \code{} markup to some in-line code examples.
* Add docs for get_grouped_opcodes().Raymond Hettinger2003-06-111-2/+17
|
* SF bug: 751941 Invisible HTML tagRaymond Hettinger2003-06-101-0/+2
| | | | Added missing jump target labels.
* guess_all_extensions(): Return the empty list instead of None whenBarry Warsaw2003-06-091-2/+1
| | | | | there are no matching types. Updated the docs and docstrings. Added some unit tests.
* Document context_diff() and unified_diff()Raymond Hettinger2003-06-091-0/+63
|
* SF #735051, add time.tzset documentationNeal Norwitz2003-06-081-0/+96
|
* - urllib2.py now knows how to order proxy classes, so the user doesn'tGustavo Niemeyer2003-06-071-0/+5
| | | | | | have to insert it in front of other classes, nor do dirty tricks like inserting a "dummy" HTTPHandler after a ProxyHandler when building an opener with proxy support.
* QUOTE_ALWAYS -> QUOTE_ALLSkip Montanaro2003-06-041-1/+1
|
* Patch #744238: Explain that different string types also may compare equal.Martin v. Löwis2003-05-311-1/+1
|
* Patch #744877: Explain filter in terms of list comprehension. RemoveMartin v. Löwis2003-05-311-3/+8
| | | | | explanation of int in terms of string.atoi. Explain sum in terms of reduce.
* SF bug #719367, string exceptions are deprecatedNeal Norwitz2003-05-292-5/+10
| | | | Remove references to string based exceptions in the doc.
* isdatadescriptor() was added recently.Neal Norwitz2003-05-291-0/+1
|
* Rewrite the description of setparameters() so it actually reflects theGreg Ward2003-05-291-13/+33
| | | | | | | | | code (which has also been recently overhauled, so that it can be documented without embarassment). 'error' has been renamed to 'OSSAudioError'. Minor wordsmithing.
* Remove the note about the BerkeleyDB license. Barry indicates thatGregory P. Smith2003-05-281-7/+1
| | | | | sleepycat has told him that since python is OSS and berkeleydb is being distributed with python for the bsddb library all is fine.
* Rename lib__future__.tex to libfuture.tex and add link in lib.tex.Jeremy Hylton2003-05-282-0/+1
|
* Include a link to the pybsddb web documentation for the modern objectGregory P. Smith2003-05-281-14/+25
| | | | | | | | | | | | | | oriented DbEnv & Db object BerkeleyDB interface. Include a note about Sleepycat's BerkeleyDB license with regards to distributing it within non-opensource applications and include a link to their website for license details. Document that 'r' is the default flag for the legacy bsddb btopen(), hashopen(), and rnopen() functions. This is apparently different than the dbm libraries in other languages according to Bug #732951. Changing the default from 'r' to 'c' would break backwards compatibility with legacy bsddb applications; documenting the default should suffice.
* More wordsmithing and cleanup.Greg Ward2003-05-261-30/+27
|
* Lots of wordsmithing and typographical improvement.Greg Ward2003-05-231-58/+71
|
* Add documentation for __future__Jeremy Hylton2003-05-211-0/+69
|
* Fix markup nits.Fred Drake2003-05-201-4/+4
|
* Straighten out the docs for os.system(); the Unix and Windows behaviorsTim Peters2003-05-201-5/+13
| | | | | | really can't be smushed together. Bugfix candidate.
* Remove unused line numbers from example code.Fred Drake2003-05-201-28/+27
| | | | Line numbering of examples is not used elsewhere.
* Add docs for key_file and cert_file arguments for HTTPSConnection. Copied ↵Brett Cannon2003-05-201-1/+7
| | | | from socket.ssl docs.
* * Correct Sniffer doc to correspond to the implementation.Skip Montanaro2003-05-191-7/+7
| | | | | * Add optional delimiters arg to Sniffer.sniff() which restricts the set of candidate field delimiters.
* Fix array.array.insert(), so that it treats negative indices asWalter Dörwald2003-05-181-1/+2
| | | | | being relative to the end of the array, just like list.insert() does. This closes SF bug #739313.
* Add docs for MessageBeep.Guido van Rossum2003-05-161-0/+30
|
* [Bug #471893] Replace security material with a warning against unpicklingAndrew M. Kuchling2003-05-142-74/+31
| | | | untrusted data.
* document Stats.dump_stats(), new for Python 2.3Fred Drake2003-05-141-0/+8
|
* Add optional 'onerror' argument to os.walk(), to control errorGuido van Rossum2003-05-131-1/+9
| | | | handling.