Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the whrandom entry to the "Obsolete Modules" appendix. | Fred Drake | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | Minor markup adjustments. | Fred Drake | 2001-02-02 | 1 | -22/+26 |
| | |||||
* | Added a warning at the top saying that user code should not use the | Fred Drake | 2001-02-02 | 1 | -0/+2 |
| | | | | whrandom module directly. | ||||
* | Fix some markup breakage that prevented formatting; re-wrapped a couple of | Fred Drake | 2001-02-01 | 1 | -10/+10 |
| | | | | wide paragraphs. | ||||
* | Added entry for weakref documentation. | Fred Drake | 2001-02-01 | 1 | -7/+11 |
| | | | | | Moved commented-out entries for obsolete module to an appendix, still commented out. | ||||
* | Documentation for the weakref module. | Fred Drake | 2001-02-01 | 1 | -0/+227 |
| | |||||
* | Change random.seed() so that it can get at the full range of possible | Tim Peters | 2001-02-01 | 1 | -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 Warsaw | 2001-01-31 | 1 | -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 Warsaw | 2001-01-31 | 1 | -20/+41 |
| | | | | subsection to include a discussion of the msgfmt.py program. | ||||
* | More on noutrefresh() and scroll(). | Eric S. Raymond | 2001-01-29 | 1 | -2/+3 |
| | |||||
* | updated to document use of sequences of two-element tuples as inputs | Skip Montanaro | 2001-01-28 | 1 | -2/+7 |
| | |||||
* | Adjust documentation for new.instance() to reflect that the second | Fred Drake | 2001-01-28 | 1 | -3/+5 |
| | | | | parameter may be omitted or None. | ||||
* | Instructive example for strftime(); how to generate RFC822 dates. | Eric S. Raymond | 2001-01-28 | 1 | -0/+16 |
| | |||||
* | Emphasis that instantiating this class doesn't consume the message body. | Eric S. Raymond | 2001-01-27 | 1 | -3/+3 |
| | | | | Fix some unclear language in the description of the addrlist member. | ||||
* | Fix a number of typos found by Guido. | Fred Drake | 2001-01-26 | 1 | -4/+4 |
| | |||||
* | Massively improved documentation for string formatting operations, | Fred Drake | 2001-01-26 | 1 | -40/+109 |
| | | | | | | primarily from Evelyn Mitchell (thanks!). This closes SF patch #103412. | ||||
* | The combo of getstate/setstate/jumpahead is very powerful, but needs | Tim Peters | 2001-01-26 | 1 | -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 used | Fred Drake | 2001-01-25 | 3 | -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 Peters | 2001-01-25 | 1 | -0/+5 |
| | |||||
* | Fix bugs introduced by rewrite (in particular, time-based initialization | Tim Peters | 2001-01-25 | 1 | -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 the | Tim Peters | 2001-01-25 | 1 | -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 Warsaw | 2001-01-25 | 1 | -1/+1 |
| | |||||
* | Fixed a bug where \& was needed. | Barry Warsaw | 2001-01-25 | 1 | -1/+1 |
| | |||||
* | Provide a much better (and complete!) description of the lockf() | Barry Warsaw | 2001-01-25 | 1 | -4/+38 |
| | | | | function, based on an eyeballing of the code. | ||||
* | Supply long-missing docs for random.seed(). Extensive rewrite of module | Tim Peters | 2001-01-24 | 1 | -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 previous | Fred Drake | 2001-01-24 | 1 | -1/+1 |
| | | | | change to this file. Thanks, /F! | ||||
* | Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings. | Ka-Ping Yee | 2001-01-24 | 7 | -17/+17 |
| | | | | Switch from octal escapes to hex escapes for other nonprintable characters. | ||||
* | AttributeList --> NamedNodeMap | Fred Drake | 2001-01-24 | 1 | -1/+1 |
| | | | | | Since there is no such thing as an AttributeList, don't say "attributes" is one. | ||||
* | new unicodedata functions (name, lookup) | Fredrik Lundh | 2001-01-24 | 1 | -0/+13 |
| | |||||
* | documented (new) optional doseq parameter to urlencode. | Skip Montanaro | 2001-01-24 | 1 | -2/+4 |
| | |||||
* | Expose the autoraise capability. Improve the documentation. | Eric S. Raymond | 2001-01-23 | 1 | -17/+22 |
| | |||||
* | Oops...finish a mangled sentence. | Eric S. Raymond | 2001-01-23 | 1 | -1/+1 |
| | |||||
* | Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee's | Eric S. Raymond | 2001-01-23 | 1 | -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 Drake | 2001-01-22 | 1 | -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 PDF | Fred Drake | 2001-01-22 | 1 | -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 Tim | Fred Drake | 2001-01-22 | 1 | -90/+71 |
| | | | | | | Peters. This closes SF bug #125919. | ||||
* | Minor markup adjustment. | Fred Drake | 2001-01-22 | 1 | -2/+1 |
| | |||||
* | Make the 'time' argument to the timemodule functions strftime, asctime, | Thomas Wouters | 2001-01-19 | 1 | -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é Lemburg | 2001-01-19 | 1 | -7/+0 |
| | |||||
* | Minor markup cleaning, and one required fix in the unistr() description. | Fred Drake | 2001-01-18 | 1 | -7/+7 |
| | |||||
* | correct typo - closes bug #129205 | Skip Montanaro | 2001-01-18 | 1 | -1/+1 |
| | |||||
* | Fix the example (it didn't seem to reflect reality). | Ka-Ping Yee | 2001-01-18 | 1 | -12/+14 |
| | |||||
* | This patch adds a new builtin unistr() which behaves like str() | Marc-André Lemburg | 2001-01-17 | 1 | -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 Ryland | Fred Drake | 2001-01-17 | 1 | -1/+2 |
| | | | | <cpr@emsoftware.com>. | ||||
* | Document xreadlines() method. (Forgot to check this in before!) | Guido van Rossum | 2001-01-17 | 1 | -0/+4 |
| | |||||
* | Fix a few small markup/consistency nits. | Fred Drake | 2001-01-16 | 1 | -6/+8 |
| | |||||
* | push_source() and pop_source() entry points for shlex instances. | Eric S. Raymond | 2001-01-16 | 1 | -3/+22 |
| | | | | | These basically just make available to the user what userhook() does to the source stack. Documentation included. | ||||
* | effbot caught a typo! | Barry Warsaw | 2001-01-15 | 1 | -3/+3 |
| | |||||
* | Document function attributes for both the function type and the method | Barry Warsaw | 2001-01-15 | 1 | -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 Warsaw | 2001-01-15 | 1 | -2/+2 |
| |