summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* Move the whrandom entry to the "Obsolete Modules" appendix.Fred Drake2001-02-021-1/+1
|
* Minor markup adjustments.Fred Drake2001-02-021-22/+26
|
* Added a warning at the top saying that user code should not use theFred Drake2001-02-021-0/+2
| | | | whrandom module directly.
* Fix some markup breakage that prevented formatting; re-wrapped a couple ofFred Drake2001-02-011-10/+10
| | | | wide paragraphs.
* Added entry for weakref documentation.Fred Drake2001-02-011-7/+11
| | | | | Moved commented-out entries for obsolete module to an appendix, still commented out.
* Documentation for the weakref module.Fred Drake2001-02-011-0/+227
|
* Change random.seed() so that it can get at the full range of possibleTim Peters2001-02-011-14/+29
| | | | | | | | internal states. Put the old .seed() (which could only get at about the square root of the # of possibilities) under the new name .whseed(), for bit-level compatibility with older versions. This occurred to me while reviewing effbot's book (he found himself stumbling over .seed() more than once there ...).
* Document the two changes to the mailbox.py module:Barry Warsaw2001-01-311-9/+39
| | | | | | | | | | | | - All constructors grow an optional argument `factory' which is a callable used when new message instances are created by the next() methods. Defaults to the rfc822.Message class. - A new subclass of UnixMailbox is added, called PortableUnixMailbox. It's identical to UnixMailbox, but uses a more portable test for From_ delimiter lines. With PortableUnixMailbox, any line that starts with "From " is considered a delimiter (this should really check for two newlines before the F, but it doesn't.
* Some rewriting of the "Internationalizing your programs and modules"Barry Warsaw2001-01-311-20/+41
| | | | subsection to include a discussion of the msgfmt.py program.
* More on noutrefresh() and scroll().Eric S. Raymond2001-01-291-2/+3
|
* updated to document use of sequences of two-element tuples as inputsSkip Montanaro2001-01-281-2/+7
|
* Adjust documentation for new.instance() to reflect that the secondFred Drake2001-01-281-3/+5
| | | | parameter may be omitted or None.
* Instructive example for strftime(); how to generate RFC822 dates.Eric S. Raymond2001-01-281-0/+16
|
* Emphasis that instantiating this class doesn't consume the message body.Eric S. Raymond2001-01-271-3/+3
| | | | Fix some unclear language in the description of the addrlist member.
* Fix a number of typos found by Guido.Fred Drake2001-01-261-4/+4
|
* Massively improved documentation for string formatting operations,Fred Drake2001-01-261-40/+109
| | | | | | primarily from Evelyn Mitchell (thanks!). This closes SF patch #103412.
* The combo of getstate/setstate/jumpahead is very powerful, but needsTim Peters2001-01-261-2/+48
| | | | examples to flesh it out for the uninitiated. Here they are.
* Removed references to Python 1.5.3; that was a "tentative" number I usedFred Drake2001-01-253-9/+7
| | | | | | in the docs to indicate the next version before we decided on 1.6. Adjusted winsound.Beep() description slightly as well.
* Clarify winsound.beep docs, in response to c.l.py beep brouhahalet.Tim Peters2001-01-251-0/+5
|
* Fix bugs introduced by rewrite (in particular, time-based initializationTim Peters2001-01-251-8/+19
| | | | | | | got broken). Also added new method .jumpahead(N). This finally gives us a semi-decent answer to how Python's RNGs can be used safely and efficiently in multithreaded programs (although it requires the user to use the new machinery!).
* Reworked random.py so that it no longer depends on, and offers all theTim Peters2001-01-251-31/+55
| | | | | | | | | | | functionality of, whrandom.py. Also closes all the "XXX" todos in random.py. New frequently-requested functions/methods getstate() and setstate(). All exported functions are now bound methods of a hidden instance. Killed all unintended exports. Updated the docs. FRED: The more I fiddle the docs, the less I understand the exact intended use of the \var, \code, \method tags. Please review critically. GUIDO: See email. I updated NEWS as if whrandom were deprecated; I think it should be.
* A \begin{funcdesc} was closed with an \end{methoddesc}.Barry Warsaw2001-01-251-1/+1
|
* Fixed a bug where \& was needed.Barry Warsaw2001-01-251-1/+1
|
* Provide a much better (and complete!) description of the lockf()Barry Warsaw2001-01-251-4/+38
| | | | function, based on an eyeballing of the code.
* Supply long-missing docs for random.seed(). Extensive rewrite of moduleTim Peters2001-01-241-21/+52
| | | | | | intro docs. *************** Fred: check my LaTeX! Also, the docs for whrandom should *************** be moved into Obsolete Modules.
* Fix an obvious usage nit I should have caught myself on the previousFred Drake2001-01-241-1/+1
| | | | change to this file. Thanks, /F!
* Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee2001-01-247-17/+17
| | | | Switch from octal escapes to hex escapes for other nonprintable characters.
* AttributeList --> NamedNodeMapFred Drake2001-01-241-1/+1
| | | | | Since there is no such thing as an AttributeList, don't say "attributes" is one.
* new unicodedata functions (name, lookup)Fredrik Lundh2001-01-241-0/+13
|
* documented (new) optional doseq parameter to urlencode.Skip Montanaro2001-01-241-2/+4
|
* Expose the autoraise capability. Improve the documentation.Eric S. Raymond2001-01-231-17/+22
|
* Oops...finish a mangled sentence.Eric S. Raymond2001-01-231-1/+1
|
* Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee'sEric S. Raymond2001-01-231-4/+25
| | | | | | | | complaints. The new version moves most of its initialization to package load time; it's simpler, faster, smaller, and adds support for Mozilla and Links. Interpretation of the BROWSER variable now works and is documented. The open_new entry point and methods are marked "deprecated; may be removed in 2.1".
* Added link to the "Python Codecs" project at SourceForge.Fred Drake2001-01-221-8/+18
| | | | | Changed markup of the list of values for the list of meaningful "errors" values.
* Change some wording to make this work with PDF generation -- using a PDFFred Drake2001-01-221-2/+3
| | | | | | hyperlink at the start of the paragraph confused pdflatex; it saw the link start while still in vertical mode, which is not allowed. Including text before the link forces horizontal mode.
* Clean up the docs for the "random" module according to comments from TimFred Drake2001-01-221-90/+71
| | | | | | Peters. This closes SF bug #125919.
* Minor markup adjustment.Fred Drake2001-01-221-2/+1
|
* Make the 'time' argument to the timemodule functions strftime, asctime,Thomas Wouters2001-01-191-12/+17
| | | | | | ctime, gmtime and localtime optional, defaulting to 'the current time' in all cases. Adjust docs, add news item. Also convert all argument-handling to METH_VARARGS. Closes SF patch #103265.
* Backed out the unistr() builtin.Marc-André Lemburg2001-01-191-7/+0
|
* Minor markup cleaning, and one required fix in the unistr() description.Fred Drake2001-01-181-7/+7
|
* correct typo - closes bug #129205Skip Montanaro2001-01-181-1/+1
|
* Fix the example (it didn't seem to reflect reality).Ka-Ping Yee2001-01-181-12/+14
|
* This patch adds a new builtin unistr() which behaves like str()Marc-André Lemburg2001-01-171-0/+6
| | | | | | | | | | except that it always returns Unicode objects. A new C API PyObject_Unicode() is also provided. This closes patch #101664. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Add a missing newline in an example; caught by Chris RylandFred Drake2001-01-171-1/+2
| | | | <cpr@emsoftware.com>.
* Document xreadlines() method. (Forgot to check this in before!)Guido van Rossum2001-01-171-0/+4
|
* Fix a few small markup/consistency nits.Fred Drake2001-01-161-6/+8
|
* push_source() and pop_source() entry points for shlex instances.Eric S. Raymond2001-01-161-3/+22
| | | | | These basically just make available to the user what userhook() does to the source stack. Documentation included.
* effbot caught a typo!Barry Warsaw2001-01-151-3/+3
|
* Document function attributes for both the function type and the methodBarry Warsaw2001-01-151-0/+38
| | | | | | type. The method documentation also includes a new brief discussion of `bound' vs. `unbound' and why setting an attr on a bound method is a TypeError. Includes Skip's suggested text.
* Fixing author's email address.Barry Warsaw2001-01-151-2/+2
|