Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support | Walter Dörwald | 2004-09-07 | 2 | -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 Hettinger | 2004-09-06 | 1 | -2/+3 | |
| | ||||||
* | Markup nits. | Raymond Hettinger | 2004-09-06 | 1 | -4/+6 | |
| | ||||||
* | Add missing close parenthesis. | Raymond Hettinger | 2004-09-06 | 1 | -3/+3 | |
| | ||||||
* | SF bug #901654: split method documentation can be improved | Raymond Hettinger | 2004-09-06 | 1 | -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 Cannon | 2004-09-05 | 1 | -1/+1 | |
| | ||||||
* | SF bug #1020540: a wrong link from "frame object" in lib index | Raymond Hettinger | 2004-09-04 | 1 | -3/+4 | |
| | ||||||
* | Added IGNORE_EXCEPTION_DETAIL comparison option. The need is explained | Tim Peters | 2004-09-04 | 1 | -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 fixes | Gustavo Niemeyer | 2004-09-03 | 1 | -1/+2 | |
| | | | | some escaping bugs in SRE. | |||||
* | Make the api of the _dispatch() method more concrete. I have no idea if | Skip Montanaro | 2004-09-03 | 1 | -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 Drake | 2004-09-01 | 1 | -1/+4 | |
| | | | | - wrap long line | |||||
* | Add item | Andrew M. Kuchling | 2004-08-31 | 1 | -0/+3 | |
| | ||||||
* | Remove rotor reference | Andrew M. Kuchling | 2004-08-31 | 1 | -1/+1 | |
| | ||||||
* | Remove rotor license | Andrew M. Kuchling | 2004-08-31 | 1 | -28/+0 | |
| | ||||||
* | Remove docs for xreadlines, mpz, rotor | Andrew M. Kuchling | 2004-08-31 | 5 | -291/+0 | |
| | ||||||
* | Remove xreadlines reference | Andrew M. Kuchling | 2004-08-31 | 1 | -1/+1 | |
| | ||||||
* | Remove TERMIOS docs | Andrew M. Kuchling | 2004-08-31 | 1 | -21/+0 | |
| | ||||||
* | Use correct constant; remove reference to TERMIOS.py | Andrew M. Kuchling | 2004-08-31 | 1 | -4/+2 | |
| | ||||||
* | Change from Raymond: use pos/neg instead of +/- 1; minor edits | Andrew M. Kuchling | 2004-08-31 | 1 | -24/+32 | |
| | ||||||
* | Describe non-recursive re | Andrew M. Kuchling | 2004-08-31 | 1 | -4/+13 | |
| | ||||||
* | Add bug/patch counts | Andrew M. Kuchling | 2004-08-31 | 1 | -1/+2 | |
| | ||||||
* | Update versions and dates; add PEP 328 | Andrew M. Kuchling | 2004-08-31 | 1 | -5/+41 | |
| | ||||||
* | Updated doc for getLogger() | Vinay Sajip | 2004-08-31 | 1 | -1/+4 | |
| | ||||||
* | SF patch #1007189, multi-line imports, for instance: | Anthony Baxter | 2004-08-31 | 1 | -2/+5 | |
| | | | | | "from blah import (foo, bar baz, bongo)" | |||||
* | The distinction between comparison flags and reporting flags isn't unique | Tim Peters | 2004-08-30 | 1 | -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 Gijsbers | 2004-08-30 | 1 | -1/+1 | |
| | ||||||
* | Add items | Andrew M. Kuchling | 2004-08-30 | 1 | -0/+14 | |
| | ||||||
* | Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵ | Johannes Gijsbers | 2004-08-30 | 2 | -0/+10 | |
| | | | | in glob.glob. | |||||
* | Teach the random module about os.urandom(). | Raymond Hettinger | 2004-08-30 | 1 | -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öwis | 2004-08-29 | 1 | -0/+73 | |
| | ||||||
* | Patch #934711: Expose platform-specific entropy. | Martin v. Löwis | 2004-08-29 | 1 | -0/+19 | |
| | ||||||
* | SF feature request #992967: array.array objects should support sequences. | Raymond Hettinger | 2004-08-29 | 1 | -2/+6 | |
| | | | | Made the constructor accept general iterables. | |||||
* | Correct incorrect "it's" to "its". | Johannes Gijsbers | 2004-08-26 | 1 | -1/+1 | |
| | ||||||
* | Fine tune a word. | Tim Peters | 2004-08-26 | 1 | -1/+1 | |
| | ||||||
* | Thinko repair. | Tim Peters | 2004-08-26 | 1 | -1/+1 | |
| | ||||||
* | Reorg of exception section. Now that there are fewer details needing | Tim Peters | 2004-08-26 | 1 | -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 Hettinger | 2004-08-26 | 1 | -5/+5 | |
| | ||||||
* | Added REPORT_ONLY_FIRST_FAILURE flag, which supresses output after the | Edward Loper | 2004-08-26 | 1 | -2/+13 | |
| | | | | first failing example in each test. | |||||
* | Renamed UNIFIED_DIFF->REPORT_UDIFF; CONTEXT_DIFF->REPORT_CDIFF; and | Edward Loper | 2004-08-26 | 1 | -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 been | Tim Peters | 2004-08-26 | 1 | -0/+3 | |
| | | | | deleted. | |||||
* | Patch #1015012. Improve markup and punctuation in libsocket.tex | Dave Cole | 2004-08-26 | 1 | -3/+3 | |
| | ||||||
* | Patch #1014930. Expose current parse location to XMLParser. | Dave Cole | 2004-08-26 | 1 | -0/+20 | |
| | ||||||
* | Only recognize the expected output as an exception if it *starts* with | Edward Loper | 2004-08-25 | 1 | -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 description | Fred Drake | 2004-08-25 | 1 | -2/+3 | |
| | ||||||
* | Add various items | Andrew M. Kuchling | 2004-08-25 | 1 | -10/+102 | |
| | ||||||
* | Patch #736857, #736859: Add -e option to build_scripts. | Martin v. Löwis | 2004-08-25 | 1 | -1/+3 | |
| | ||||||
* | Patch #798244: More urllib2 examples. | Martin v. Löwis | 2004-08-25 | 1 | -1/+62 | |
| | ||||||
* | Patch #1015021: Stop claiming that coerce can return None. | Martin v. Löwis | 2004-08-25 | 1 | -1/+1 | |
| | | | | Will backport to 2.3. | |||||
* | Ah whoops, we didn't turn string into a package (thanks Neal!) | Barry Warsaw | 2004-08-25 | 1 | -12/+1 | |
| | ||||||
* | PEP 292 classes Template and SafeTemplate are added to the string module. | Barry Warsaw | 2004-08-25 | 1 | -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. |