summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix the test output, now that escapes in repr() of string and UnicodeGuido van Rossum2001-01-242-6/+6
| | | | are different (Ping didn't test this).
* Fix the test output, now that escapes in repr() of string and UnicodeGuido van Rossum2001-01-241-3/+3
| | | | are different (Ping couldn't test this).
* New asynchat.py from Sam Rushing: this foregoes using the regex moduleAndrew M. Kuchling2001-01-241-36/+12
| | | | | to find the prefix of strings, thus removing a warning, and simply uses straightforward string slicing.
* Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee2001-01-243-162/+162
| | | | Switch from octal escapes to hex escapes for other nonprintable characters.
* There is no more Modules/Makefile, use toplevel Makefile.Neil Schemenauer2001-01-241-1/+1
|
* Updated version of asyncore.py from Sam Rushing:Andrew M. Kuchling2001-01-241-4/+40
| | | | | | Adds support for using select.poll() if it's available Move a 'map is None' test out of an else branch and into the right place
* Part of patch #102409: special cases for Cygwin:Andrew M. Kuchling2001-01-241-0/+18
| | | | | | | | | Lib/distutils/command/build_ext.py(build_ext.finalize_options): Add Cygwin specific code to append Python's library directory to the extension's list of library directories. (build_ext.get_libraries): Add Cygwin specific code to append Python's (import) library to the extension's list of libraries.
* test___all__ was failing on WIndows because locale.py doesn't reallyTim Peters2001-01-241-3/+10
| | | | | know which names it exports. Didn't fix its ignorance, but patched over the consequence.
* Move uchhash functionality into unicodedata (after the recentFredrik Lundh2001-01-241-7/+8
| | | | | crop of changes, the files are small enough to do this). Also adds "name" and "lookup" functions to unicodedata.
* a few more modules get __all__Skip Montanaro2001-01-2411-0/+31
|
* __all__: removed "error", "abort", "readonly", as these are notBarry Warsaw2001-01-241-2/+2
| | | | | | | exportable module attributes (they're attributes on the IMAP class). Fixed the case typo on Time2Internaldate. Does anybody run the test suite any more? <wink>
* It's "gopherlib" not "gopher".Barry Warsaw2001-01-241-1/+1
|
* Fixed autoraise glitches.Eric S. Raymond2001-01-231-5/+5
|
* added a few more __all__ listsSkip Montanaro2001-01-239-1/+26
| | | | fixed typo in ihooks docstring
* Expose the autoraise capability. Improve the documentation.Eric S. Raymond2001-01-231-10/+7
|
* Rewrite webbrowser.py to fix various bugs following Ka-Ping Yee'sEric S. Raymond2001-01-231-178/+222
| | | | | | | | complaints. The new version moves most of its initialization to package load time; it's simpler, faster, smaller, and adds support for Mozilla and Links. Interpretation of the BROWSER variable now works and is documented. The open_new entry point and methods are marked "deprecated; may be removed in 2.1".
* Restore alphabetic order. Also try to import rlcompleter and curses, butTim Peters2001-01-231-7/+15
| | | | don't fail if they're not available.
* Add simple test of list comprehension that uses a name that isn'tJeremy Hylton2001-01-232-0/+7
| | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.)
* - Use "exec ... in dict" to avoid having to walk on eggshells; localsGuido van Rossum2001-01-221-14/+20
| | | | | | | | | no don't have to start with underscore. - Add spaces after commas in argument lists. - Only test dbhash if bsddb can be imported. (Wonder if there are more like this?)
* Typo repair.Tim Peters2001-01-221-1/+1
|
* Reorganize pickle/cPickle testing so the tests pass regardless of the orderTim Peters2001-01-224-170/+157
| | | | they're run.
* The "user" module cannot reasonably be tested. Moved to the end (andFred Drake2001-01-221-2/+6
| | | | | | commented it out), and added an explanation as to *why*. Added period to docstring.
* OK, changed my mind once more on this. The comparison hierarchy isGuido van Rossum2001-01-221-1/+1
| | | | | | | | | | | | | | now None < all numeric types < all other types so that once again map(max, Squares(3), Squares(2)) equals [0, 1, 4]
* Numeric-smelling objects now once again compare smaller thanGuido van Rossum2001-01-221-1/+1
| | | | non-numeric ones, so 4 < None again in the 'map' test.
* Finn Bock (SF patch #103349):Guido van Rossum2001-01-221-0/+33
| | | | Allow pickle.py to be using with Jython unicode strings
* Finn Bock (SF patch #103345): Avoid outdated exec form inGuido van Rossum2001-01-221-2/+2
| | | | test_class.py.
* Patch #103342: Make shutil.copytree more useful under Jython.Tim Peters2001-01-211-5/+8
|
* Patch #103343: Allow the important test_pkg to succeed under Jython.Tim Peters2001-01-212-6/+6
|
* In format(), consider sign only after grouping.Martin v. Löwis2001-01-211-4/+9
| | | | Suggested by Kevin Jacobs in bug report #129417.
* Patch #103344: Sort dicts from extcall for easier comparison with Jython.Tim Peters2001-01-212-41/+49
|
* Whitespace normalization.Tim Peters2001-01-213-13/+12
|
* Bug #128475: mimetools.encode (sometimes) fails when called from a thread.Tim Peters2001-01-211-2/+1
| | | | | | | | pythonrun.c: In Py_Finalize, don't reset the initialized flag until after the exit funcs have run. atexit.py: in _run_exitfuncs, mutate the list of pending calls in a threadsafe way. This wasn't a contributor to bug 128475, it just burned my eyeballs when looking at that bug.
* more __all__ updatesSkip Montanaro2001-01-2012-0/+34
|
* added some tests for urlencodeSkip Montanaro2001-01-201-0/+16
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-2039-0/+138
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* docstring typoSkip Montanaro2001-01-201-1/+1
|
* I've been using gdb a lot lately -- I'm missing 'bt' as a command inGuido van Rossum2001-01-201-1/+4
| | | | pdb (pdb calls it 'where'). Added 'bt' as an alias for 'where'.
* rewrite of robotparser.py by Bastian Kleineidam. Closes patch 102229.Skip Montanaro2001-01-201-60/+179
|
* modify urlencode so sequences in the dict are treated as multivaluedSkip Montanaro2001-01-201-6/+36
| | | | parameters. This closes the code part of patch 103314.
* Better error message if ucnhash cannot be found (obscure attributeFredrik Lundh2001-01-201-0/+9
| | | | | | errors aren't that helpful), or doesn't contain what's expected from it. Also tweaked the test script so it compiles even if ucnhash is missing.
* Now that Marc-Andre has retracted unistr(), remove the tests.Guido van Rossum2001-01-192-12/+0
|
* A hack to augment sys.path with the build/lib.<platform> directoryGuido van Rossum2001-01-191-0/+9
| | | | | | | | | | created by Andrew's setup.py script, *if* we're actually running from the build directory. (The test for that: whether the sys.path[-1] ends in "/Modules".) This has one disadvantage: it imports a fair amount of code from the distutils package, just in order to be able to calculate the correct pathname. See if I care. :-)
* Use a saner test filename, to work on Windows.Guido van Rossum2001-01-191-3/+1
|
* OK, checking in patch 103329.Moshe Zadka2001-01-191-4/+5
| | | | | | Please check it against your nearest pop server -- mine doesn't support APOP (I checked I'm getting the same error message, though)
* Add some regression tests of coredump bugs in funcobject.c 2.31. AlsoBarry Warsaw2001-01-191-0/+16
| | | | | added a test of a coredump that would occur when del'ing func_defaults (put here for convenience).
* Change verify() function to raise TestFailed, not AssertionError.Guido van Rossum2001-01-192-8/+8
| | | | | | (I realize that I didn't really test this, because all the tests succeed, so verify() never raised an AssertionError -- but the test suite still succeeds, so I'm not too worried.)
* Bump __version__; add authorship note for the BaseServer patch.Guido van Rossum2001-01-191-1/+2
|
* Patch #103220 from Jason Tishler:Andrew M. Kuchling2001-01-191-0/+5
| | | | | | This patch adds support for Cygwin to util.get_platform(). A Cygwin specific case is needed due to the format of Cygwin's uname command, which contains '/' characters.
* improved the ucnhash test a bitFredrik Lundh2001-01-192-3/+11
|
* added "getcode" and "getname" methods to the ucnhash module (they'reFredrik Lundh2001-01-191-0/+17
| | | | | probably more useful for the test code than for any applications, but one never knows...)