summaryrefslogtreecommitdiffstats
path: root/Doc/lib
Commit message (Collapse)AuthorAgeFilesLines
* HtmlDiff corrections from Dan Gass, + trimmed trailing whitespace.Tim Peters2004-09-121-29/+32
|
* Patch #1022152: add required 'domain' argument to gettext.translation() ↵Johannes Gijsbers2004-09-111-3/+3
| | | | examples.
* Patch #1026384: fix two common typo's:Johannes Gijsbers2004-09-114-6/+6
| | | | | | | - accomodate -> accommodate - occured -> occurred Thanks George Yoshida!
* Patch #1025800: remove TeX quoting from verbatim section. Thanks Dima Dorfman!Johannes Gijsbers2004-09-111-2/+2
|
* Typo fix: 'comparisions' is not a wordAndrew M. Kuchling2004-09-102-2/+2
|
* document the exceptions raised by sgmllib, htmllib, and HTMLParserFred Drake2004-09-103-6/+34
|
* fix typo in markupFred Drake2004-09-101-1/+1
|
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-071-11/+16
| | | | | | | | | | | 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.
* Remove rotor referenceAndrew M. Kuchling2004-08-311-1/+1
|
* Remove docs for xreadlines, mpz, rotorAndrew M. Kuchling2004-08-314-288/+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
|
* Updated doc for getLogger()Vinay Sajip2004-08-311-1/+4
|
* 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.
* 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.
* 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.
* Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters2004-08-251-1/+1
| | | | | | | happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
* Updated the socketpair() docstring and documentation to explain that theDave Cole2004-08-231-2/+3
| | | | | default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET.
* Removed redundant versionadded{} for NDIFF_DIFF. Virtually everythingTim Peters2004-08-231-1/+0
| | | | | | in this section is new in 2.4, and that's all mentioned already in versionadded{} thingies at the end of the section. It hurts readability to have them after every line <wink>.
* Add version infoNeal Norwitz2004-08-221-0/+1
|
* Added NDIFF_DIFF option.Tim Peters2004-08-221-1/+11
|
* Fix grammar, spotted by Hye-Shik ChangNeal Norwitz2004-08-201-1/+1
|