summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add entry for xmlrpclib documentation.Fred Drake2001-07-121-0/+1
|
* Several markup adjustments so this will format and be more consistent withFred Drake2001-07-121-35/+45
| | | | the rest of the documnentation.
* Fix return value for m.group() for groups not in the part of the RE thatFred Drake2001-07-121-42/+47
| | | | | | matched; reported by Paul Moore. Wrapped several long lines.
* On int/long to the negative int/long power, let float handle itGuido van Rossum2001-07-121-7/+10
| | | | | | | instead of raising an error. This was one of the two issues that the VPython folks were particularly problematic for their students. (The other one was integer division...) This implements (my) SF patch #440487.
* First version of xmlrpclib docs. Probably has markup errors; is not complete,Eric S. Raymond2001-07-121-0/+237
| | | | | | | | could probably stand to have some of the internal things like Marshaller documented. But I think it does a decent job on the entry points and externally visible things. Fred and Fredrik, do your stuff! You both need to proof this.
* Follow the recommended practices for keystroke representation; thisFred Drake2001-07-123-23/+25
| | | | improves internal consistency in the documentation.
* Added information about the timeout parameter to the poll() method forFred Drake2001-07-111-1/+5
| | | | | | polling objects. This closes SF bug #439823. Fixed a minor markup bug.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-0617-98/+105
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-061-4/+6
| | | | | | | | | translation more difficult, as well as reading the English more difficult for non-native speakers. Add an index entry for the Telnet protocol. Always refer to the protocol as Telnet instead of telnet.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-0612-103/+105
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* Explain the exit code for the wait() method, including a reference toFred Drake2001-07-061-1/+6
| | | | | | the os.W*() functions used to interpret the return value. This fixes SF bug #429361.
* The fpectl module does not work on Windows, so remove Windows from theFred Drake2001-07-051-2/+2
| | | | | | \platform statement. Also fix a minor style consistency nit in an example.
* Fix a markup error: do not omit a method's parameter list if it isFred Drake2001-07-051-1/+1
| | | | empty.
* Added more information on the differences between the htmllib and HTMLParserFred Drake2001-07-053-3/+16
| | | | modules.
* List constraints on xrange() objects.Guido van Rossum2001-07-051-8/+14
|
* Rip out the fancy behaviors of xrange that nobody uses: repeat, slice,Guido van Rossum2001-07-051-6/+2
| | | | | contains, tolist(), and the start/stop/step attributes. This includes removing the 4th ('repeat') argument to PyRange_New().
* Marked the parameters to Stats.print_*() as optional.Fred Drake2001-07-021-3/+3
| | | | This closes SF bug #438032.
* Turns out Neil didn't intend for *all* of his gen-branch work to getTim Peters2001-06-291-10/+27
| | | | | | | | | | | | | | | | | | | | committed. tokenize.py: I like these changes, and have tested them extensively without even realizing it, so I just updated the docstring and the docs. tabnanny.py: Also liked this, but did a little code fiddling. I should really rewrite this to *exploit* generators, but that's near the bottom of my effort/benefit scale so doubt I'll get to it anytime soon (it would be most useful as a non-trivial example of ideal use of generators; but test_generators.py has already grown plenty of food-for-thought examples). inspect.py: I'm sure Ping intended for this to continue running even under 1.5.2, so I reverted this to the last pre-gen-branch version. The "bugfix" I checked in in-between was actually repairing a bug *introduced* by the conversion to generators, so it's OK that the reverted version doesn't reflect that checkin.
* Correct a markup error for an accented character.Fred Drake2001-06-291-1/+1
| | | | Reported by Milan Zamazal <pdm@zamazal.org>.
* Removed some stray periods, and fix up a number of visible markupFred Drake2001-06-291-18/+19
| | | | | | | consistency errors (mostly omitted "()" at the end of function and method names). Reported by Milan Zamazal <pdm@zamazal.org>.
* SourceForge bug #437041:Fred Drake2001-06-291-8/+8
| | | | | Use a portable format in the example that creates a timestamp suitable for use in email, also updating it and the footnote from RFC 822 to RFC 2822.
* Simplify an example based on comment from Thomas Holenstein <thomas@hex.ch>:Fred Drake2001-06-291-4/+1
| | | | | Do not use an extra flag variable to test only once in one subsequent if statement.
* Remove duplicate ', ' in dbhash.open()'s argument list.Thomas Wouters2001-06-271-1/+1
|
* Remove the restriction on a mapping's .update() method.Barry Warsaw2001-06-261-9/+7
|
* Teach the types module about generators. Thanks to James Althoff on theTim Peters2001-06-251-0/+6
| | | | Iterators list for bringing it up!
* Updated link to zlib's home page.Fred Drake2001-06-251-3/+2
|
* Fix typoAndrew M. Kuchling2001-06-231-1/+1
|
* Correct erroneous description of precmd.Eric S. Raymond2001-06-231-2/+6
|
* Contributed updates from Harald Hanche-Olsen, giving details of the branchFred Drake2001-06-231-0/+49
| | | | | cuts for the complex math functions. Includes a brief description of what branch cuts are.
* Re-organize a little, clean up some markup.Fred Drake2001-06-221-52/+73
| | | | | | | Added some comments about sys.exit(), SystemExit, and preventing restricted code from exiting the interpreter. This closes SF bug #434743.
* Corrected an error in the information on supporting weak references inFred Drake2001-06-221-9/+7
| | | | | | extension types (the docs reflected a development version of the API). This closes SF bug #435066.
* Fix & clean up the information about building Python with large file supportFred Drake2001-06-221-4/+3
| | | | | | for Linux. This closes SF bug #434975.
* Update to include the license information in a less annoying place.Fred Drake2001-06-201-0/+3
|
* Document the new encodestring() and decodestring() functions. Also,Barry Warsaw2001-06-191-2/+19
| | | | | | add some description of what the quotetabs argument does for the encode*() functions. Finally, add a "see also" pointing to the base64 module.
* 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.