summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* final bit of tests converted from test_sreSkip Montanaro2003-04-251-8/+25
|
* test_sre is dead! long live test_re!Skip Montanaro2003-04-251-116/+0
|
* deleted more tests which were either already in test_re or that I migratedSkip Montanaro2003-04-251-76/+0
| | | | in the last revison
* more tests converted from test_sreSkip Montanaro2003-04-251-14/+35
|
* Add modified versions of the examples from Sean ReifschneiderFred Drake2003-04-251-0/+36
| | | | (SF patch #545480).
* Fix a copy-paste error: the paragraph about inet_ntop's use was copiedGuido van Rossum2003-04-251-2/+2
| | | | literally from inet_pton.
* Remove tests which were migrated to test_re.py. There are still more testsSkip Montanaro2003-04-251-262/+0
| | | | to migrate.
* reflect csv's change back to a module. Document the new sniffer api.Skip Montanaro2003-04-251-20/+14
|
* Use a simpler \note instead of a "See also" section to refer to theFred Drake2003-04-251-5/+2
| | | | os.walk() generator.
* Skip testing inet_ntop() an inet_pton() if they aren't defined.Guido van Rossum2003-04-251-0/+8
| | | | | This makes the test pass on Windows again (and on other platforms that don't have these).
* Fix the tests on Windows, by writing the test data file in binaryGuido van Rossum2003-04-251-1/+1
| | | | | | | | | mode. XXX I'm not convinced that this is the right solution -- arguably, on Windows, the _fileobject class should honor the mode argument and do newline translation. But it's never done that so I think there's no urgent need to fix this today.
* Add versionadded for has_ipv6 attributeNeal Norwitz2003-04-251-0/+1
|
* Fix markupNeal Norwitz2003-04-251-1/+1
|
* markup adjustmentsFred Drake2003-04-251-5/+4
|
* rework Sniffer api significantlySkip Montanaro2003-04-251-41/+26
|
* some sniffer testsSkip Montanaro2003-04-251-0/+34
|
* more tests from test_sreSkip Montanaro2003-04-251-2/+44
|
* Attempt to deal with some obvious errors in the code. These were allFred Drake2003-04-251-15/+14
| | | | | | | | | | due to using a single module-level namespace where multiple namespaces were used before. There *really* need to be tests for the sniffer stuff. This could have been avoided. Skip, please review, and add sniffer tests!
* New version from Vinaj, should solve the threading problems (hopefully).Guido van Rossum2003-04-252-7/+18
|
* copy a few tests from test_sreSkip Montanaro2003-04-251-0/+15
|
* 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.