summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* add missing wordFred Drake2006-04-271-1/+1
|
* Fix an error in the last contextlib.closing exampleNick Coghlan2006-04-261-3/+3
|
* markup fixes, cleanupFred Drake2006-04-261-38/+66
|
* Fix markup glitch in unittest docs. Will backport.Thomas Wouters2006-04-251-1/+1
|
* Fix latex typoNick Coghlan2006-04-251-1/+1
|
* Move the PEP 343 documentation and implementation closer to theNick Coghlan2006-04-252-68/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminology in the alpha 1 documentation. - "context manager" reverts to its alpha 1 definition - the term "context specifier" goes away entirely - contextlib.GeneratorContextManager is renamed GeneratorContext There are still a number of changes relative to alpha 1: - the expression in the with statement is explicitly called the "context expression" in the language reference - the terms 'with statement context', 'context object' or 'with statement context' are used in several places instead of a bare 'context'. The aim of this is to avoid ambiguity in relation to the runtime context set up when the block is executed, and the context objects that already exist in various application domains (such as decimal.Context) - contextlib.contextmanager is renamed to contextfactory This best reflects the nature of the function resulting from the use of that decorator - decimal.ContextManager is renamed to WithStatementContext Simple dropping the 'Manager' part wasn't possible due to the fact that decimal.Context already exists and means something different. WithStatementContext is ugly but workable. A technically unrelated change snuck into this commit: contextlib.closing now avoids the overhead of creating a generator, since it's trivial to implement that particular context manager directly.
* Revert previous change, SKIP had a versionadded elsewhereNeal Norwitz2006-04-251-1/+0
|
* versionadded for SKIPNeal Norwitz2006-04-251-0/+1
|
* Patch #1475231: add a new SKIP doctest option, thanks toTim Peters2006-04-251-0/+15
| | | | Edward Loper.
* Change PEP 343 related documentation to use the term context specifier ↵Nick Coghlan2006-04-242-39/+52
| | | | instead of context object
* Bug #1337990: clarified that `doctest` does not support examplesTim Peters2006-04-241-4/+7
| | | | | | requiring both expected output and an exception. I'll backport to 2.4 next.
* it's always helpful if the example works...Skip Montanaro2006-04-231-6/+8
|
* minor tweakSkip Montanaro2006-04-231-2/+2
|
* first cut at trace module docSkip Montanaro2006-04-232-1/+96
|
* Update contextlib documentation to use the same terminology as the module ↵Nick Coghlan2006-04-231-7/+8
| | | | implementation
* Add a Context Types section to parallel the Iterator Types section (uses the ↵Nick Coghlan2006-04-231-0/+96
| | | | same terminology as the 2.5a1 implementation)
* Update optparse to Optik 1.5.1.Greg Ward2006-04-231-73/+330
|
* - add versionadded tagGeorge Yoshida2006-04-221-1/+3
| | | | - make arbitrary arguments come last
* Typo fixesGeorge Yoshida2006-04-221-2/+2
|
* Add Gregory K. Johnson's revised version of mailbox.py (funded byAndrew M. Kuchling2006-04-221-51/+1302
| | | | | | | | | | | | | | | | | the 2005 Summer of Code). The revision adds a number of new mailbox classes that support adding and removing messages; these classes also support mailbox locking and default to using email.Message instead of rfc822.Message. The old mailbox classes are largely left alone for backward compatibility. The exception is the Maildir class, which was present in the old module and now inherits from the new classes. The Maildir class's interface is pretty simple, though, so I think it'll be compatible with existing code. (The change to the NEWS file also adds a missing word to a different news item, which unfortunately required rewrapping the line.)
* Documentation for ctypes.Thomas Heller2006-04-212-0/+1227
| | | | | | | | | I think that 'generic operating system services' is the best category. Note that the Doc/lib/libctypes.latex file is generated from reST sources. You are welcome to make typo fixes, and I'll try to keep the reST sources in sync, but markup changes would be lost - they should be fixed in the tool that creates the latex file. The conversion script is external/ctypes/docs/manual/mkpydoc.py.
* Correct the grammarGeorge Yoshida2006-04-211-3/+3
|
* Fix a markup.George Yoshida2006-04-211-1/+1
| | | | This generated a ugly code, "P>".
* Typo, grammar fixes. This file could use another proofreading pass.Andrew M. Kuchling2006-04-211-25/+25
|
* Typo fixesAndrew M. Kuchling2006-04-211-6/+6
|
* Allow pstats.Stats creator to specify an alternate to stdout.Skip Montanaro2006-04-211-9/+9
|
* Correct implementation and documentation of os.confstr. Add a simple testSkip Montanaro2006-04-201-3/+3
| | | | case. I've yet to figure out how to provoke a None return I can test.
* fix typoGeorge Yoshida2006-04-181-1/+1
|
* Patch #790710: Add breakpoint command lists in pdb.Martin v. Löwis2006-04-171-0/+39
|
* Typo fixAndrew M. Kuchling2006-04-141-1/+1
|
* Typo fixesAndrew M. Kuchling2006-04-141-2/+2
|
* Typo fixAndrew M. Kuchling2006-04-141-1/+1
|
* raise the minimum supported BerkeleyDB version to 3.3 and add notes toGregory P. Smith2006-04-131-3/+2
| | | | news about this and a couple other recent fixes.
* Forgot to mark up a PEP referencePhillip J. Eby2006-04-111-1/+1
|
* Updated the warnings, linecache, inspect, traceback, site, and doctest modulesPhillip J. Eby2006-04-112-3/+13
| | | | | to work correctly with modules imported from zipfiles or via other PEP 302 __loader__ objects. Tests and doc updates are included.
* Bug #1465619: rot13 codec decodes to a Unicode string.Georg Brandl2006-04-061-1/+1
|
* Bug #1465600: note encoding issue in ZipFile.write().Georg Brandl2006-04-061-4/+11
|
* Change the example classes UnicodeReader and UnicodeWriter soWalter Dörwald2006-04-041-11/+35
| | | | | | | | that they work with all encodings. For UnicodeReader the real input stream is wrapped in a line iterator that reencodes the input to UTF-8. For UnicodeWriter the UTF-8 encoded output is written to a queue for where it is reencoded to the target encoding and written to the real output stream.
* added another example of Unicode CSV parsing; reworked the example text a ↵David Goodger2006-04-041-9/+48
| | | | bit; corrected notice in the intro and added a link to the examples
* Accept keyword arguments for __import__ and doc the addition of the level ↵Neal Norwitz2006-04-031-3/+12
| | | | param from PEP 328.
* Document recent fdopen() change.Georg Brandl2006-04-021-1/+5
|
* Grammar fixAndrew M. Kuchling2006-04-021-1/+1
|
* Patch #624325: urlparse.urlparse() and urlparse.urlsplit() resultsFred Drake2006-04-011-34/+138
| | | | now sport attributes that provide access to the parts of the result.
* Make firstweekday a simple attribute insteadWalter Dörwald2006-04-011-9/+0
| | | | of hiding it behind a setter and a getter.
* Fix LaTeX oversight.Georg Brandl2006-04-011-1/+1
|
* clarify new docs on attr value entity expansionGeorg Brandl2006-04-011-2/+9
|
* patch #1462498: handle entityrefs in attribute values.Georg Brandl2006-04-011-2/+5
|
* Bug #947906: Add classes LocaleTextCalendar and LocaleHTMLCalendar,Walter Dörwald2006-04-011-0/+18
| | | | | that output localized month and weekday names and can cope with encodings.
* Patch #1462496: typo in libsignal.texGeorg Brandl2006-04-011-1/+1
|
* Patch #1459631: documnent zlib.Decompress.flush() length parameter.Georg Brandl2006-04-011-1/+4
|