summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* [Patch #628208] Test the 'nil' extensionAndrew M. Kuchling2003-04-251-0/+8
|
* [Patch #628208] Add optional support for the 'nil' extensionAndrew M. Kuchling2003-04-251-8/+24
|
* csv is a module againSkip Montanaro2003-04-243-425/+0
|
* cvs is going to be a module againSkip Montanaro2003-04-241-0/+440
|
* SF bug 557704: netrc module can't handle all passwordsRaymond Hettinger2003-04-241-2/+3
| | | | | | | Let netrc handle entries with login fields (mail servers for instance) by having login default to ''. Backport candidate.
* move imports in Binary class to top level to avoid repeated imports.Skip Montanaro2003-04-241-2/+6
| | | | use cStringIO if available.
* new method: has_function() - returns a boolean indicating whether theSkip Montanaro2003-04-241-0/+45
| | | | argument function is available on the current platform
* first cut at unittest version of re testsSkip Montanaro2003-04-241-374/+297
|
* if the test is run directly (__name__ == "__main__") don't actually requireSkip Montanaro2003-04-241-0/+4
| | | | particular resources
* remove test_socketserver from the skip listsSkip Montanaro2003-04-241-11/+0
|
* GNUTranslations:Barry Warsaw2003-04-241-33/+33
| | | | | | | | | | | | | | __init__(): Removed since we no longer need the coerce flag. Message ids and strings are now always coerced to Unicode, /if/ the catalog specified a charset parameter. gettext(), ngettext(): Since the message strings are Unicodes in the catalog, coerce back to encoded 8-bit strings on return. ugettext(), ungettext(): Coerce the message ids to Unicode when there's no entry for the id in the catalog. Minor code cleanups; use booleans where appropriate.
* UnicodeTranslationsTest.setUp(): Removed the coerce flag to theBarry Warsaw2003-04-241-1/+1
| | | | GNUTranslations constructor.
* SF bug 665835: filter() treatment of str and tuple inconsistentRaymond Hettinger2003-04-241-0/+12
| | | | | | | | As a side issue on this bug, it was noted that list and tuple iterators used macros to directly access containers and would not recognize __getitem__ overrides. If the method is overridden, the patch returns a generic sequence iterator which calls the __getitem__ method; otherwise, it returns a high custom iterator with direct access to container elements.
* Fix docstring typoAndrew M. Kuchling2003-04-241-1/+1
|
* This test now uses the separate getargs_X functions from _testcapimodule.Thomas Heller2003-04-241-101/+109
|
* Whitespace normalization.Tim Peters2003-04-2436-128/+111
|
* Get rid of some hard coded tabsBarry Warsaw2003-04-241-3/+3
|
* SF patch 695710: fix bug 678519: cStringIO self iteratorRaymond Hettinger2003-04-241-3/+3
| | | | (requested by GvR. patch contributed by Michael Stone)
* SF Patch 549151: urllib2 POSTs on redirectRaymond Hettinger2003-04-242-4/+38
| | | | (contributed by John J Lee)
* [Patch #679505] Silence DeprecationWarning when testing rotor moduleAndrew M. Kuchling2003-04-241-0/+6
|
* Reformatted a bit to remove the lengthy re.compile() from the functionMarc-André Lemburg2003-04-241-23/+25
| | | | definitions.
* New module platform.py, submitted by Marc-Andre Lemburg.Marc-André Lemburg2003-04-241-0/+1232
| | | | | There's no separate documentation for this module yet - apart from the doc-strings which explain the APIs.
* Revert the previous enhancement to the bytecode optimizer.Raymond Hettinger2003-04-241-2/+0
| | | | The additional code complexity and new NOP opcode were not worth it.
* Fix docstring for URLOpener.retrieve() in regards to opening a local fileBrett Cannon2003-04-241-1/+1
|
* Max OS X returns "*" as the password in grp.getgrall()Walter Dörwald2003-04-231-22/+37
| | | | | and "" in grep.getgrgid(). Adjust the test to work around this problem. This should fix SF bug #724771.
* SF 557704: netrc module can't handle all passwordsRaymond Hettinger2003-04-231-2/+1
| | | | | | Expanded the range of allowable characters to include ascii punctuation. Allows resource files to have a larger character set for passwords. (Idea contributed by Bram Moolenaar.)
* Fix SF bug #723801, logging.setLoggerClass() doesn't support new-style classesNeal Norwitz2003-04-231-2/+0
|
* SF patch #725904, Minor changes to logging from module author (Vinay Sajip)Neal Norwitz2003-04-232-16/+31
| | | | - upgrade to version 0.4.8
* Fix by Lars Gustaebel for bug 721871: don't get upset if the prefixJack Jansen2003-04-221-9/+4
| | | | field contains garbage after the first NUL character.
* Do a little more searching for the data file for the test: this allowsFred Drake2003-04-221-1/+12
| | | | | | using a build directory just inside the source directory and saving just one copy of the test data in the source tree, rather than having a copy in each build directory.
* Only produce a dotted module name when writing output to a separateJeremy Hylton2003-04-221-2/+3
| | | | directory.
* If not icon file is specified use the default Python Applet icons.Jack Jansen2003-04-221-0/+4
| | | | Fixes 719303.
* Only return a warning message about not all files being unpacked if thereJack Jansen2003-04-221-1/+2
| | | | were indeed files that weren't unpacked.
* Change test_pwd and test_grp so they can handle duplicate userWalter Dörwald2003-04-222-3/+7
| | | | and group names. This should fix SF bug #724771.
* Adding new built-in function sum, with docs and tests.Alex Martelli2003-04-221-0/+21
|
* Improved the bytecode optimizer.Raymond Hettinger2003-04-221-0/+2
| | | | | | | | | | | | | | * Can now test for basic blocks. * Optimize inverted comparisions. * Optimize unary_not followed by a conditional jump. * Added a new opcode, NOP, to keep code size constant. * Applied NOP to previous transformations where appropriate. Note, the NOP would not be necessary if other functions were added to re-target jump addresses and update the co_lnotab mapping. That would yield slightly faster and cleaner bytecode at the expense of optimizer simplicity and of keeping it decoupled from the line-numbering structure.
* Add helper function to get module name taking packages into account.Jeremy Hylton2003-04-211-1/+22
|
* Holistic refactoring.Jeremy Hylton2003-04-211-225/+159
| | | | | | | | | | | | | | | | | Remove "." in coverage output for lines with comments. Silence complaints in coverage output about unexecuted docstrings. Eliminate use of inspect module in favor of direct access to frame and code objects. We're in a trace function here: Efficiency counts! Remove unused code. Reflow long lines. Remove backwards compatibility for stored trace output from Zooko's experiment to add calledfuncs to the pickled dict. Move code to generate per-file coverage stats to a separate routine. Replace use of parser module with call to compile.
* Test suite for optparse. This is a slightly-edited copy ofGreg Ward2003-04-211-0/+1210
| | | | test/test_optik.py (rev 1.19) from the Optik CVS.
* Update to Optik 1.4.1; here are the relevant bits of the change log:Greg Ward2003-04-211-49/+48
| | | | | | | | | | * Fixed some long-hidden bugs revealed by the new PyUnit-based test suite (thanks to Johannes Gijsbers the new test suite, improved tests that caught the bugs, and the bug fixes). * Make store_true/store_false store True/False rather than 1/0. Details available in Optik's CVS repository.
* More work on bug #672491 and patch #712900.Gustavo Niemeyer2003-04-202-1/+7
| | | | | | | | | | | | | | | | I've applied a modified version of Greg Chapman's patch. I've included the fixes without introducing the reorganization mentioned, for the sake of stability. Also, the second fix mentioned in the patch don't fix the mentioned problem anymore, because of the change introduced by patch #720991 (by Greg as well). The new fix wasn't complicated though, and is included as well. As a note. It seems that there are other places that require the "protection" of LASTMARK_SAVE()/LASTMARK_RESTORE(), and are just waiting for someone to find how to break them. Particularly, I belive that every recursion of SRE_MATCH() should be protected by these macros. I won't do that right now since I'm not completely sure about this, and we don't have much time for testing until the next release.
* - Changed shlex.split() method to have more useful andGustavo Niemeyer2003-04-202-10/+8
| | | | meaningful parameters.
* Patch #553171: Add writeback parameter. Also add protocol parameter.Martin v. Löwis2003-04-192-25/+125
|
* - bool() called without arguments now returns False rather thanGuido van Rossum2003-04-192-0/+11
| | | | | | | raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument they all return the false value of that type. (SF patch #724135) Thanks to Alex Martelli.
* - Several methods of nntplib.NNTP have grown an optional file argumentGuido van Rossum2003-04-191-14/+14
| | | | | | which specifies a file where to divert the command's output (already supported by the body() method). (SF patch #720468) Thanks to Terry Carroll.
* New PyGILState_ API - implements pep 311, from patch 684256.Mark Hammond2003-04-191-0/+29
|
* New file.Martin v. Löwis2003-04-191-0/+90
|
* Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds.Martin v. Löwis2003-04-192-24/+47
|
* Patch #681152: Support escaped Unicode characters in classes. Fixes #612074.Martin v. Löwis2003-04-192-1/+5
| | | | Will backport to 2.2.
* Make _strptime escape regex syntax in format string to prevent use in ↵Brett Cannon2003-04-192-1/+24
| | | | internal regex.