Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | final bit of tests converted from test_sre | Skip Montanaro | 2003-04-25 | 1 | -8/+25 |
| | |||||
* | test_sre is dead! long live test_re! | Skip Montanaro | 2003-04-25 | 1 | -116/+0 |
| | |||||
* | deleted more tests which were either already in test_re or that I migrated | Skip Montanaro | 2003-04-25 | 1 | -76/+0 |
| | | | | in the last revison | ||||
* | more tests converted from test_sre | Skip Montanaro | 2003-04-25 | 1 | -14/+35 |
| | |||||
* | Add modified versions of the examples from Sean Reifschneider | Fred Drake | 2003-04-25 | 1 | -0/+36 |
| | | | | (SF patch #545480). | ||||
* | Fix a copy-paste error: the paragraph about inet_ntop's use was copied | Guido van Rossum | 2003-04-25 | 1 | -2/+2 |
| | | | | literally from inet_pton. | ||||
* | Remove tests which were migrated to test_re.py. There are still more tests | Skip Montanaro | 2003-04-25 | 1 | -262/+0 |
| | | | | to migrate. | ||||
* | reflect csv's change back to a module. Document the new sniffer api. | Skip Montanaro | 2003-04-25 | 1 | -20/+14 |
| | |||||
* | Use a simpler \note instead of a "See also" section to refer to the | Fred Drake | 2003-04-25 | 1 | -5/+2 |
| | | | | os.walk() generator. | ||||
* | Skip testing inet_ntop() an inet_pton() if they aren't defined. | Guido van Rossum | 2003-04-25 | 1 | -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 binary | Guido van Rossum | 2003-04-25 | 1 | -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 attribute | Neal Norwitz | 2003-04-25 | 1 | -0/+1 |
| | |||||
* | Fix markup | Neal Norwitz | 2003-04-25 | 1 | -1/+1 |
| | |||||
* | markup adjustments | Fred Drake | 2003-04-25 | 1 | -5/+4 |
| | |||||
* | rework Sniffer api significantly | Skip Montanaro | 2003-04-25 | 1 | -41/+26 |
| | |||||
* | some sniffer tests | Skip Montanaro | 2003-04-25 | 1 | -0/+34 |
| | |||||
* | more tests from test_sre | Skip Montanaro | 2003-04-25 | 1 | -2/+44 |
| | |||||
* | Attempt to deal with some obvious errors in the code. These were all | Fred Drake | 2003-04-25 | 1 | -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 Rossum | 2003-04-25 | 2 | -7/+18 |
| | |||||
* | copy a few tests from test_sre | Skip Montanaro | 2003-04-25 | 1 | -0/+15 |
| | |||||
* | Port test_bool.py to PyUnit. From SF patch #662807. | Walter Dörwald | 2003-04-25 | 1 | -253/+328 |
| | |||||
* | Complete rewrite of module. Only has tests using temporary files; net tests | Brett Cannon | 2003-04-25 | 1 | -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, and | Tim Peters | 2003-04-25 | 5 | -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 Rossum | 2003-04-25 | 1 | -4/+5 |
| | |||||
* | Patch by Jp Calderone: | Guido van Rossum | 2003-04-25 | 6 | -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 needed | Guido van Rossum | 2003-04-25 | 1 | -2/+0 |
| | |||||
* | Fix test_limitations(). The match there is *expected* to raise | Guido van Rossum | 2003-04-25 | 1 | -1/+6 |
| | | | | RuntimeError. | ||||
* | [Patch #628208] Document the allow_none argument | Andrew M. Kuchling | 2003-04-25 | 1 | -2/+8 |
| | |||||
* | [Patch #628208] Test the 'nil' extension | Andrew M. Kuchling | 2003-04-25 | 1 | -0/+8 |
| | |||||
* | [Patch #628208] Add optional support for the 'nil' extension | Andrew M. Kuchling | 2003-04-25 | 1 | -8/+24 |
| | |||||
* | Try to recover from changes in the structure of the CSV package/module. | Tim Peters | 2003-04-24 | 1 | -14/+0 |
| | |||||
* | Squashed new compiler wngs about trying to compare pointers to | Tim Peters | 2003-04-24 | 2 | -2/+2 |
| | | | | functions with different signatures. | ||||
* | csv is a module again | Skip Montanaro | 2003-04-24 | 3 | -425/+0 |
| | |||||
* | cvs is going to be a module again | Skip Montanaro | 2003-04-24 | 1 | -0/+440 |
| | |||||
* | SF bug 557704: netrc module can't handle all passwords | Raymond Hettinger | 2003-04-24 | 1 | -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 Montanaro | 2003-04-24 | 1 | -2/+6 |
| | | | | use cStringIO if available. | ||||
* | new method: has_function() - returns a boolean indicating whether the | Skip Montanaro | 2003-04-24 | 1 | -0/+45 |
| | | | | argument function is available on the current platform | ||||
* | first cut at unittest version of re tests | Skip Montanaro | 2003-04-24 | 1 | -374/+297 |
| | |||||
* | if the test is run directly (__name__ == "__main__") don't actually require | Skip Montanaro | 2003-04-24 | 1 | -0/+4 |
| | | | | particular resources | ||||
* | remove test_socketserver from the skip lists | Skip Montanaro | 2003-04-24 | 1 | -11/+0 |
| | |||||
* | * minor tweaks relating to the package nature of the beast | Skip Montanaro | 2003-04-24 | 1 | -8/+32 |
| | | | | * added an (incomplete) description of the utils.Sniffer class | ||||
* | Updated a bunch of docs to describe how message ids and strings are | Barry Warsaw | 2003-04-24 | 1 | -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 Warsaw | 2003-04-24 | 1 | -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 the | Barry Warsaw | 2003-04-24 | 1 | -1/+1 |
| | | | | GNUTranslations constructor. | ||||
* | Remove unneeded continuation chars | Andrew M. Kuchling | 2003-04-24 | 1 | -5/+5 |
| | |||||
* | Move all the imports to the top; use md5.new() | Andrew M. Kuchling | 2003-04-24 | 1 | -8/+6 |
| | |||||
* | Run this demo script through reindent.py; output has been verified to remain ↵ | Andrew M. Kuchling | 2003-04-24 | 1 | -77/+77 |
| | | | | the same | ||||
* | Modernize the code a bit: | Andrew M. Kuchling | 2003-04-24 | 1 | -9/+5 |
| | | | | | use re module make chomp() use rstrip() | ||||
* | Modernize the code a bit: | Andrew M. Kuchling | 2003-04-24 | 1 | -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. Kuchling | 2003-04-24 | 10 | -1058/+1058 |
| | | | | I've verified that their output is unchanged. |