summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Port test_bool.py to PyUnit. From SF patch #662807.Walter Dörwald2003-04-251-253/+328
|
* Complete rewrite of module. Only has tests using temporary files; net testsBrett Cannon2003-04-251-102/+376
| | | | | | should go in test_urllibnet.py . Still need to write tests for _urlopener usage and urlretrieve.
* New generator os.walk() does a bit more than os.path.walk() does, andTim Peters2003-04-255-5/+242
| | | | | seems much easier to use. Code, docs, NEWS, and additions to test_os.py (testing this sucker is a bitch!).
* Move socket news to 2.3b1 section! And mention has_ipv6.Guido van Rossum2003-04-251-4/+5
|
* Patch by Jp Calderone:Guido van Rossum2003-04-256-1/+221
| | | | | | | | | - The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows).
* test_re is no longer neededGuido van Rossum2003-04-251-2/+0
|
* Fix test_limitations(). The match there is *expected* to raiseGuido van Rossum2003-04-251-1/+6
| | | | RuntimeError.
* [Patch #628208] Document the allow_none argumentAndrew M. Kuchling2003-04-251-2/+8
|
* [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
|
* Try to recover from changes in the structure of the CSV package/module.Tim Peters2003-04-241-14/+0
|
* Squashed new compiler wngs about trying to compare pointers toTim Peters2003-04-242-2/+2
| | | | functions with different signatures.
* 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
|
* * minor tweaks relating to the package nature of the beastSkip Montanaro2003-04-241-8/+32
| | | | * added an (incomplete) description of the utils.Sniffer class
* Updated a bunch of docs to describe how message ids and strings areBarry Warsaw2003-04-241-29/+73
| | | | | | Unicode in GNUTranslations. Also provide better descriptions of *gettext() overridden methods, esp. w.r.t. the behavior in the face of fallbacks.
* 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.
* Remove unneeded continuation charsAndrew M. Kuchling2003-04-241-5/+5
|
* Move all the imports to the top; use md5.new()Andrew M. Kuchling2003-04-241-8/+6
|
* Run this demo script through reindent.py; output has been verified to remain ↵Andrew M. Kuchling2003-04-241-77/+77
| | | | the same
* Modernize the code a bit:Andrew M. Kuchling2003-04-241-9/+5
| | | | | use re module make chomp() use rstrip()
* Modernize the code a bit:Andrew M. Kuchling2003-04-241-5/+6
| | | | | | | | use re module use .split() string method Doesn't use 'for line in sys.stdin'; that ends up changing its interactive behaviour.
* Run these demo scripts through reindent.py to give them 4-space indents. ↵Andrew M. Kuchling2003-04-2410-1058/+1058
| | | | I've verified that their output is unchanged.
* Modernize code by using isinstance() instead of type() checksAndrew M. Kuchling2003-04-241-16/+14
|
* Avoid TypeError by not comparing complex numbersAndrew M. Kuchling2003-04-241-1/+6
|
* Bump Windows build number for 2.3b1.Tim Peters2003-04-241-1/+1
|
* SF bug 665835: filter() treatment of str and tuple inconsistentRaymond Hettinger2003-04-243-0/+16
| | | | | | | | 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.
* Bump version number to 2.3b1.Tim Peters2003-04-244-12/+14
|
* Fix caseAndrew M. Kuchling2003-04-241-1/+1
|
* Add some more itemsAndrew M. Kuchling2003-04-241-3/+18
|
* Bump the release information.Fred Drake2003-04-242-3/+3
|
* Fix docstring typoAndrew M. Kuchling2003-04-241-1/+1
|
* Add cross-references between urllib.urlencode() and cgi.parse_qs[l]().Fred Drake2003-04-242-0/+6
| | | | Closes SF bug #724751.
* This test now uses the separate getargs_X functions from _testcapimodule.Thomas Heller2003-04-241-101/+109
|
* New support functions for test_getargs2.Thomas Heller2003-04-241-69/+70
| | | | | Theres now a separate function for each of the format codes b, B, H, I, k, i, l, L, K.
* Whitespace normalization.Tim Peters2003-04-2439-144/+127
|
* Get rid of some hard coded tabsBarry Warsaw2003-04-241-3/+3
|
* SF patch 695710: fix bug 678519: cStringIO self iteratorRaymond Hettinger2003-04-242-68/+59
| | | | (requested by GvR. patch contributed by Michael Stone)
* SF Patch 549151: urllib2 POSTs on redirectRaymond Hettinger2003-04-244-15/+85
| | | | (contributed by John J Lee)
* Note the platform module.Fred Drake2003-04-241-0/+8
|
* Added a comment about backward compatibility requirements and a linkBarry Warsaw2003-04-241-1/+9
| | | | to the PyBSDDB project at SourceForge.
* Mention deprecation of rotor moduleAndrew M. Kuchling2003-04-241-1/+6
|
* [Patch #679505] Document that the rotor module is deprecatedAndrew M. Kuchling2003-04-241-0/+4
|