summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Document that filter is added in 2.2.Martin v. Löwis2001-06-161-0/+1
|
* Add a version annotation for the Q and q format codes.Fred Drake2001-06-151-1/+2
|
* Fix an improperly placed comma.Fred Drake2001-06-141-1/+1
|
* Fixed reference to table notes for {}.keys() and {}.items() -- theseFred Drake2001-06-121-4/+4
| | | | | | | references did not get updated when the notes were renumbered in a previous update. This fixes SF bug #432208.
* Added q/Q standard (x-platform 8-byte ints) mode in struct module.Tim Peters2001-06-121-7/+10
| | | | | | | | | | | | | | This completes the q/Q project. longobject.c _PyLong_AsByteArray: The original code had a gross bug: the most-significant Python digit doesn't necessarily have SHIFT significant bits, and you really need to count how many copies of the sign bit it has else spurious overflow errors result. test_struct.py: This now does exhaustive std q/Q testing at, and on both sides of, all relevant power-of-2 boundaries, both positive and negative. NEWS: Added brief dict news while I was at it.
* Add the appropriate availability annotations for the popen*() family ofFred Drake2001-06-111-4/+7
| | | | | | | functions -- these are not available on traditional Mac OS platforms. Corrected the version annotations for the spawn*() functions and related constants; these were added in Python 1.6, not 1.5.2.
* Fixed parameter order for os.popen2(), os.popen3(), and os.popen(4). AddedFred Drake2001-06-111-3/+11
| | | | | | | a reference to these functions and popen() from the "Process Management" section. Based on a suggestion from comp.lang.python.
* Fix recent changes so that this section will format again.Fred Drake2001-06-111-2/+3
|
* Initial support for 'q' and 'Q' struct format codes: for now, only inTim Peters2001-06-101-5/+6
| | | | | | | | | | | | | | | | | | native mode, and only when config #defines HAVE_LONG_LONG. Standard mode will eventually treat them as 8-byte ints across all platforms, but that likely requires a new set of routines in longobject.c first (while sizeof(long) >= 4 is guaranteed by C, there's nothing in C we can rely on x-platform to hold 8 bytes of int, so we'll have to roll our own; I'm thinking of a simple pair of conversion functions, Python long to/from sized vector of unsigned bytes; that may be useful for GMP conversions too; std q/Q would call them with size fixed at 8). test_struct.py: In addition to adding some native-mode 'q' and 'Q' tests, got rid of unused code, and repaired a non-portable assumption about native sizeof(short) (it isn't 2 on some Cray boxes). libstruct.tex: In addition to adding a bit of 'q'/'Q' docs (more needed later), removed an erroneous footnote about 'I' behavior.
* add warning about situation where code may be executed twice, once whenSkip Montanaro2001-06-081-0/+10
| | | | module is __main__ and once when module is imported.
* In the section on extending the profiler, add some additional discussionFred Drake2001-06-081-10/+45
| | | | | | about setting up the dispatch table, and update the OldProfile and HotProfile classes to the current implementations, showing the adjusted construction for the dispatch table.
* Document filter.Martin v. Löwis2001-06-071-0/+5
|
* Fix bug #422702: Make flag argument to open optional, and document it that way.Martin v. Löwis2001-06-051-1/+1
|
* is -> if in rename descriptionSkip Montanaro2001-06-041-1/+1
|
* Document os.getenv().Fred Drake2001-05-311-0/+7
| | | | This closes SF bug #429059.
* Some general cleanup of the threading module documentation, includingFred Drake2001-05-311-25/+15
| | | | | | fixing the reference to Thread.getDeamon() (should be isDaemon()). This closes SF bug #429070.
* Added entry for HTMLParser documentation.Fred Drake2001-05-301-0/+1
|
* Michel Pelletier <michel@digicool.com>:Fred Drake2001-05-301-0/+136
| | | | Documentation for the HTMLParser module, with small changes by FLD.
* readlink() description: Added note that the return value may be eitherFred Drake2001-05-291-5/+20
| | | | | | | | | | absolute or relative. remove(), rename() descriptions: Give more information about the cross- platform behavior of these functions, so single-platform developers can be aware of the potential issues when writing portable code. This closes SF patch #426598.
* The parameter to the listen() method is not optional, but was marked asFred Drake2001-05-291-1/+1
| | | | | | optional in the documentation. This closes SF bug #427985.
* Add a version annotation for splitdrive(); old, but as long as I managedFred Drake2001-05-251-0/+1
| | | | to end up with the information, it is better recorded than lost.
* Add descriptions of {}.iteritems(), {}.iterkeys(), and {}.itervalues()Fred Drake2001-05-251-12/+23
| | | | | | in the table of mapping object operations. Re-numbered the list of notes to reflect the move of the "Added in version 2.2." note to the list of notes instead of being inserted into the last column of the table.
* One more update related to the new get() and setdefault() methods on theFred Drake2001-05-221-5/+6
| | | | Message object.
* Update to add get() and setdefault() as supported mapping operations, andFred Drake2001-05-221-2/+8
| | | | | add a list of the mapping methods which are not supported (per Barry's comments).
* Add some clarifications about the mapping interface presented byFred Drake2001-05-221-2/+4
| | | | rfc822.Message objects, based on comments from Barry.
* Add a "See also" section with useful links. More should be added givingFred Drake2001-05-211-0/+15
| | | | | pointers to information about the other mailbox formats; if anyone can provide the information needed, please let me know!
* Fix bug in smtplib example: the prompt said to end the message with ^D,Fred Drake2001-05-201-3/+6
| | | | | | | but doing so raised EOFError. This makes it work as advertised and converts to string methods where reasonable. This closes SF bug #424776.
* Beef up the unicode() description a bit, based on material from AMK'sFred Drake2001-05-151-4/+12
| | | | "What's New in Python ..." documents.
* Add some text to make the dircmp object section more readable, and moveFred Drake2001-05-111-7/+16
| | | | some stuff around.
* --sigh--Fred Drake2001-05-112-3/+3
| | | | | Finish the last set of changes to these files so the conversion does not break.
* Markup adjustments to avoid getting junk in the index.Fred Drake2001-05-111-5/+5
|
* Replace "\begin{classdesc}{SomeClass}{\unspecified}" withFred Drake2001-05-112-3/+5
| | | | | "\begin{classdesc*}{SomeClass}" -- the rendering of \unspecified was identical to \moreargs, so this helps clarify things just a little.
* Fix typo in weakref.proxy() documentation.Fred Drake2001-05-101-1/+1
| | | | This closes SF bug #423087.
* Update example to no longer use the FCNTL module.Fred Drake2001-05-101-2/+2
|
* Remove all mentions of the strop module -- it has been pronounced Evil.Fred Drake2001-05-102-18/+7
| | | | | | (The string "strop" is found in the rexec documentation, but that should not be changed until strop is actually removed or rexec no longer allows it.)
* Update the fcntl module documentation.Fred Drake2001-05-091-30/+26
|
* Itamar Shtull-Trauring <python@itamarst.org>:Fred Drake2001-05-091-4/+5
| | | | | | | Updates zipfile.ZipFile docs to mention the fact that you can create a ZipFile instance from an arbitrary file-like object. This closes patch #418011.
* Work around limitations of the module synopsis table generation to avoidFred Drake2001-05-099-9/+9
| | | | | | leaking LaTeX2HTML's internal string munging. This fixes SF bug #420399.
* There is no IMAP class in the imaplib module; the class is IMAP4.Fred Drake2001-05-091-9/+10
| | | | | | | | There is no imap module; refer to imaplib instead, since it exists. Move the "See Also:" section in front of the sub-sections, for consistency with other portions of the library reference. This closes the library reference portion of SF bug #420216.
* Note that when inplace=1 existing backup files will be removed silently.Fred Drake2001-05-091-2/+5
| | | | Closes SF bug #420230.
* Michael Hudson <mwh21@cam.ac.uk>:Fred Drake2001-05-081-2/+3
| | | | | | | | Documentation update to reflect changes to the termios module (noting that the termios functions can take a file object as well as a file descriptor). This closes the documentation portion of SF patch #417081.
* The general iteration support is part of 2.2, not 2.1 -- fixed the versionFred Drake2001-05-032-2/+3
| | | | | | annotations! Also fixed a typo noted by Neil S.
* Add documentation for the StopIteration exception.Fred Drake2001-05-031-0/+8
|
* State that Mailbox objects are iterator objects.Fred Drake2001-05-021-2/+2
|
* Update the filter() and list() descriptions to include information aboutFred Drake2001-05-021-12/+14
| | | | the support for containers and iteration.
* Added section describing the iterator protocol.Fred Drake2001-05-021-0/+51
|
* At the suggestion of Peter Funk, document 'key in dict' and 'key notGuido van Rossum2001-04-231-6/+6
| | | | in dict' after has_key(), with a \versionadded{2.2} note.
* Only document <file>.xreadlines() once; added version annotation.Fred Drake2001-04-221-7/+4
| | | | This closes SF bug #417943.
* Fix a number of minor markup errors.Fred Drake2001-04-213-7/+7
|
* Implement, test and document "key in dict" and "key not in dict".Guido van Rossum2001-04-201-3/+9
| | | | | | | | | I know some people don't like this -- if it's really controversial, I'll take it out again. (If it's only Alex Martelli who doesn't like it, that doesn't count as "real controversial" though. :-) That's why this is a separate checkin from the iterators stuff I'm about to check in next.