Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | HtmlDiff corrections from Dan Gass, + trimmed trailing whitespace. | Tim Peters | 2004-09-12 | 1 | -29/+32 |
| | |||||
* | Document not-completely-obvious behavior in a test. | Johannes Gijsbers | 2004-09-11 | 1 | -0/+7 |
| | |||||
* | Patch #1025795: clarify language in Data Structures chapter of tutorial: | Johannes Gijsbers | 2004-09-11 | 1 | -11/+11 |
| | | | | | | | | | | - Dictionary keys are in arbitrary order, but not random (which implies, well, intentional randomness). - Move a footnote closer to what it's talking about so that it doesn't look like we're saying that "0 == 0.0" can't be relied on. - Minor language tweaks in the vicinity. Thanks Dima Dorfman! | ||||
* | Recover from inspect.getmodule() changes. It returns a module for | Tim Peters | 2004-09-11 | 1 | -25/+42 |
| | | | | | functions and methods now, including functions defined inside doctests in test_doctest.py's recursive doctest'ing. | ||||
* | Patch #1022152: add required 'domain' argument to gettext.translation() ↵ | Johannes Gijsbers | 2004-09-11 | 1 | -3/+3 |
| | | | | examples. | ||||
* | Patch #1026384: fix two common typo's: | Johannes Gijsbers | 2004-09-11 | 7 | -9/+9 |
| | | | | | | | - accomodate -> accommodate - occured -> occurred Thanks George Yoshida! | ||||
* | Add 'if __name__ == "__main__":' to files already as a usable as a module. | Johannes Gijsbers | 2004-09-11 | 13 | -18/+29 |
| | |||||
* | Use __module__ attribute when available instead of using isclass() predicate | Johannes Gijsbers | 2004-09-11 | 1 | -1/+1 |
| | | | | (functions and methods have grown the __module__ attribute too). See bug #570300. | ||||
* | Patch #1025800: remove TeX quoting from verbatim section. Thanks Dima Dorfman! | Johannes Gijsbers | 2004-09-11 | 1 | -2/+2 |
| | |||||
* | [Bug #1023359] Make code match inheritance diagram | Andrew M. Kuchling | 2004-09-10 | 1 | -1/+1 |
| | |||||
* | Template: remove __slots__ since that interferes with the ability to mix in | Barry Warsaw | 2004-09-10 | 1 | -1/+0 |
| | | | | Template and unicode classes. | ||||
* | Add some stdlib items; remove 'other changes' section; fix sorting error in ↵ | Andrew M. Kuchling | 2004-09-10 | 1 | -30/+32 |
| | | | | list of changed modules | ||||
* | Typo fix: 'comparisions' is not a word | Andrew M. Kuchling | 2004-09-10 | 5 | -5/+5 |
| | |||||
* | Bump version number | Andrew M. Kuchling | 2004-09-10 | 1 | -1/+1 |
| | |||||
* | Do not include extpy[w].exe anymore | Martin v. Löwis | 2004-09-10 | 1 | -4/+0 |
| | |||||
* | Generate the product code properly | Martin v. Löwis | 2004-09-10 | 1 | -1/+1 |
| | |||||
* | Update PEP292 section | Andrew M. Kuchling | 2004-09-10 | 1 | -10/+5 |
| | |||||
* | Change all extensions to unadvertised. | Martin v. Löwis | 2004-09-10 | 1 | -42/+76 |
| | | | | Add script dealing with REGISTRY.tcl installation | ||||
* | Patch #808120: Add --force-arch=ARCH to bdist_rpm.py. | Martin v. Löwis | 2004-09-10 | 3 | -5/+16 |
| | |||||
* | Patch #808115: Add script support to bdist_rpm.py. | Martin v. Löwis | 2004-09-10 | 2 | -0/+27 |
| | |||||
* | __slots__ went missing from Template. | Raymond Hettinger | 2004-09-10 | 1 | -0/+1 |
| | |||||
* | Many updates to PEP 292 templates. Summary: | Barry Warsaw | 2004-09-10 | 2 | -63/+136 |
| | | | | | | | | | | | | | | | | | - Template no longer inherits from unicode. - SafeTemplate is removed. Now Templates have both a substitute() and a safe_substitute() method, so we don't need separate classes. No more __mod__() operator. - Adopt Tim Peter's idea for giving Template a metaclass, which makes the delimiter, the identifier pattern, or the entire pattern easy to override and document, while retaining efficiency of class-time compilation of the regexp. - More informative ValueError messages which will help a user narrow down the bogus delimiter to the line and column in the original string (helpful for long triple quoted strings). | ||||
* | document the exceptions raised by sgmllib, htmllib, and HTMLParser | Fred Drake | 2004-09-10 | 3 | -6/+34 |
| | |||||
* | fix typo in markup | Fred Drake | 2004-09-10 | 1 | -1/+1 |
| | |||||
* | make_nav_panel(): Don't cause side-effects on the input variables; | Fred Drake | 2004-09-09 | 1 | -10/+10 |
| | | | | | | this caused duplicate attributes for the bottom navigation panel. (closes SF patch #1013055; backport candidate) | ||||
* | clean up the API a little; exceptions are defined by this module | Fred Drake | 2004-09-09 | 1 | -5/+13 |
| | | | | (needs documentation) | ||||
* | add name that should be considered public to __all__ | Fred Drake | 2004-09-09 | 1 | -1/+1 |
| | |||||
* | remove unnecessary override of base class method | Fred Drake | 2004-09-08 | 1 | -13/+0 |
| | |||||
* | add tests that make sure buffer boundaries are handled properly for SGML ↵ | Fred Drake | 2004-09-08 | 2 | -0/+26 |
| | | | | | | comments (see SF patch #901369) | ||||
* | Revert creation of launcher.exe. | Martin v. Löwis | 2004-09-08 | 1 | -9/+11 |
| | | | | Install python[w].exe on demand also as extpy[w].exe | ||||
* | Revert creation of launcher.exe | Martin v. Löwis | 2004-09-08 | 3 | -224/+0 |
| | |||||
* | Remove usage of locale.getlocale in favor or setlocale(LC_NUMERIC, None) . | Brett Cannon | 2004-09-08 | 1 | -3/+9 |
| | | | | | | | Also added a comment about why the code is bother to see what setlocale thinks the set locale is. Closes bug #1023798. | ||||
* | SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support | Walter Dörwald | 2004-09-07 | 12 | -176/+422 |
| | | | | | | | | | | | 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. | ||||
* | Apply patch from http://python.org/sf/728330 to fix socket module ↵ | Trent Mick | 2004-09-07 | 1 | -1/+13 |
| | | | | compilation on Solaris 2.6, HP-UX 11, AIX 5.1 and (possibly) some IRIX versions. | ||||
* | Add support for launcher.exe | Martin v. Löwis | 2004-09-07 | 1 | -0/+30 |
| | |||||
* | Implement conditional extensions through launcher.exe. | Martin v. Löwis | 2004-09-07 | 1 | -21/+11 |
| | |||||
* | Support Python 2.2. | Martin v. Löwis | 2004-09-07 | 1 | -0/+5 |
| | |||||
* | Remove debugging print (not triggered by test suite) and add XXX comment ↵ | Jeremy Hylton | 2004-09-07 | 1 | -1/+1 |
| | | | | about how the code should raise a SyntaxError. | ||||
* | Add launcher program | Martin v. Löwis | 2004-09-07 | 2 | -0/+194 |
| | |||||
* | compiler.transformer: correct lineno attribute when possible | Jeremy Hylton | 2004-09-07 | 6 | -447/+407 |
| | | | | | | | | | | | | | | | | SF patch #1015989 The basic idea of this patch is to compute lineno attributes for all AST nodes. The actual implementation lead to a lot of restructing and code cleanup. The generated AST nodes now have an optional lineno argument to constructor. Remove the top-level asList(), since it didn't seem to serve any purpose. Add an __iter__ to ast nodes. Use isinstance() instead of explicit type tests. Change transformer to use the new lineno attribute, which replaces three lines of code with one. Use universal newlines so that we can get rid of special-case code for line endings. Use lookup_node() in a few more frequently called, but simple com_xxx methods(). Change string exception to class exception. | ||||
* | Ported test__locale to unittest. | Brett Cannon | 2004-09-06 | 2 | -26/+95 |
| | |||||
* | Remove redunandant assertions from last checkin. | Raymond Hettinger | 2004-09-06 | 1 | -9/+0 |
| | |||||
* | SF #1022953: binascii.a2b_hqx("") raises SystemError | Raymond Hettinger | 2004-09-06 | 2 | -5/+26 |
| | | | | | | | | | | | | | Several functions adopted the strategy of altering a full lengthed string copy and resizing afterwards. That would fail if the initial string was short enough (0 or 1) to be interned. Interning precluded the subsequent resizing operation. The solution was to make sure the initial string was at least two characters long. Added tests to verify that all binascii functions do not crater when given an empty string argument. | ||||
* | Fix erroneous docstring comment. | Raymond Hettinger | 2004-09-06 | 3 | -6/+9 |
| | |||||
* | Add test_difflib_expect.html. | Martin v. Löwis | 2004-09-06 | 1 | -5/+6 |
| | | | | | Fix open Verbs. Properly add "Edit with IDLE" to TclTk feature. | ||||
* | 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 |
| | |||||
* | Fulfill Martin's request to use try/except rather than a "look before | Raymond Hettinger | 2004-09-05 | 2 | -18/+13 |
| | | | | you leap" approach. Makes the early call to os.urandom() unnecessary. |