summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-072-11/+41
| | | | | | | | | | | decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful.
* Fix erroneous docstring comment.Raymond Hettinger2004-09-061-2/+3
|
* Markup nits.Raymond Hettinger2004-09-061-4/+6
|
* Add missing close parenthesis.Raymond Hettinger2004-09-061-3/+3
|
* SF bug #901654: split method documentation can be improvedRaymond Hettinger2004-09-061-2/+16
| | | | | | | * Discuss the algorithmic distinctions between s.split() and s.split(sep). * Document the split behavior for empty strings. * Note the behavior when maxsplit is zero. * Include short examples.
* Rework some wording.Brett Cannon2004-09-051-1/+1
|
* SF bug #1020540: a wrong link from "frame object" in lib indexRaymond Hettinger2004-09-041-3/+4
|
* Added IGNORE_EXCEPTION_DETAIL comparison option. The need is explainedTim Peters2004-09-041-0/+32
| | | | | | | | in the new docs. DocTestRunner.__run: Separate the determination of the example outcome from reporting that outcome, to squash brittle code duplication and excessive nesting.
* Applying modified version of patch #1018386, which fixesGustavo Niemeyer2004-09-031-1/+2
| | | | some escaping bugs in SRE.
* Make the api of the _dispatch() method more concrete. I have no idea ifSkip Montanaro2004-09-031-2/+7
| | | | | | this is the right way to document such things (Fred, help me out here :-), but I got misled by the existing documentation and assumed the parameter list was a *args sort of thing.
* - add missing \end{seealso}Fred Drake2004-09-011-1/+4
| | | | - wrap long line
* Add itemAndrew M. Kuchling2004-08-311-0/+3
|
* Remove rotor referenceAndrew M. Kuchling2004-08-311-1/+1
|
* Remove rotor licenseAndrew M. Kuchling2004-08-311-28/+0
|
* Remove docs for xreadlines, mpz, rotorAndrew M. Kuchling2004-08-315-291/+0
|
* Remove xreadlines referenceAndrew M. Kuchling2004-08-311-1/+1
|
* Remove TERMIOS docsAndrew M. Kuchling2004-08-311-21/+0
|
* Use correct constant; remove reference to TERMIOS.pyAndrew M. Kuchling2004-08-311-4/+2
|
* Change from Raymond: use pos/neg instead of +/- 1; minor editsAndrew M. Kuchling2004-08-311-24/+32
|
* Describe non-recursive reAndrew M. Kuchling2004-08-311-4/+13
|
* Add bug/patch countsAndrew M. Kuchling2004-08-311-1/+2
|
* Update versions and dates; add PEP 328Andrew M. Kuchling2004-08-311-5/+41
|
* Updated doc for getLogger()Vinay Sajip2004-08-311-1/+4
|
* SF patch #1007189, multi-line imports, for instance:Anthony Baxter2004-08-311-2/+5
| | | | | "from blah import (foo, bar baz, bongo)"
* The distinction between comparison flags and reporting flags isn't uniqueTim Peters2004-08-301-1/+10
| | | | | | | | | | | to unittest, so make it official: new module constants COMPARISON_FLAGS and REPORTING_FLAGS, which are bitmasks or'ing together the relevant individual option flags. set_unittest_reportflags(): Reworked to use REPORTING_FLAGS, and simplified overly complicated flag logic. class FakeModule: Removed this; neither documented nor used.
* Fix build error: \filename{/dev/urandom} -> \file{/dev/urandom}.Johannes Gijsbers2004-08-301-1/+1
|
* Add itemsAndrew M. Kuchling2004-08-301-0/+14
|
* Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵Johannes Gijsbers2004-08-302-0/+10
| | | | in glob.glob.
* Teach the random module about os.urandom().Raymond Hettinger2004-08-301-2/+16
| | | | | * Use it for seeding when it is available. * Provide an alternate generator based on it.
* Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option.Martin v. Löwis2004-08-291-0/+73
|
* Patch #934711: Expose platform-specific entropy.Martin v. Löwis2004-08-291-0/+19
|
* SF feature request #992967: array.array objects should support sequences.Raymond Hettinger2004-08-291-2/+6
| | | | Made the constructor accept general iterables.
* Correct incorrect "it's" to "its".Johannes Gijsbers2004-08-261-1/+1
|
* Fine tune a word.Tim Peters2004-08-261-1/+1
|
* Thinko repair.Tim Peters2004-08-261-1/+1
|
* Reorg of exception section. Now that there are fewer details needingTim Peters2004-08-261-22/+45
| | | | | explanation, it's easier to push the remaining insufferably anal details into a "fine print" section at the bottom.
* Small wording fixups.Raymond Hettinger2004-08-261-5/+5
|
* Added REPORT_ONLY_FIRST_FAILURE flag, which supresses output after theEdward Loper2004-08-261-2/+13
| | | | first failing example in each test.
* Renamed UNIFIED_DIFF->REPORT_UDIFF; CONTEXT_DIFF->REPORT_CDIFF; andEdward Loper2004-08-261-5/+5
| | | | | | | NDIFF_DIFF->REPORT_NDIFF. This establishes the naming convention that all reporting options should begin with "REPORT_" (since reporting options are a different class from output comparison options; but they are both set in optionflags).
* Restored half of a \versionadded only half of which should have beenTim Peters2004-08-261-0/+3
| | | | deleted.
* Patch #1015012. Improve markup and punctuation in libsocket.texDave Cole2004-08-261-3/+3
|
* Patch #1014930. Expose current parse location to XMLParser.Dave Cole2004-08-261-0/+20
|
* Only recognize the expected output as an exception if it *starts* withEdward Loper2004-08-251-39/+34
| | | | | | | | a traceback message. I.e., examples that raise exceptions may no longer generate pre-exception output. This restores the behavior of doctest in python 2.3. The ability to check pre-exception output is being removed because it makes the documentation simpler; and because there are very few use cases for it.
* clean up markup for --executable descriptionFred Drake2004-08-251-2/+3
|
* Add various itemsAndrew M. Kuchling2004-08-251-10/+102
|
* Patch #736857, #736859: Add -e option to build_scripts.Martin v. Löwis2004-08-251-1/+3
|
* Patch #798244: More urllib2 examples.Martin v. Löwis2004-08-251-1/+62
|
* Patch #1015021: Stop claiming that coerce can return None.Martin v. Löwis2004-08-251-1/+1
| | | | Will backport to 2.3.
* Ah whoops, we didn't turn string into a package (thanks Neal!)Barry Warsaw2004-08-251-12/+1
|
* PEP 292 classes Template and SafeTemplate are added to the string module.Barry Warsaw2004-08-251-28/+122
| | | | | | | | This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports.