Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Numeric-smelling objects now once again compare smaller than | Guido van Rossum | 2001-01-22 | 1 | -1/+1 |
| | | | | non-numeric ones, so 4 < None again in the 'map' test. | ||||
* | Finn Bock (SF patch #103349): | Guido van Rossum | 2001-01-22 | 1 | -0/+33 |
| | | | | Allow pickle.py to be using with Jython unicode strings | ||||
* | Finn Bock (SF patch #103345): Avoid outdated exec form in | Guido van Rossum | 2001-01-22 | 1 | -2/+2 |
| | | | | test_class.py. | ||||
* | Patch #103342: Make shutil.copytree more useful under Jython. | Tim Peters | 2001-01-21 | 1 | -5/+8 |
| | |||||
* | Patch #103343: Allow the important test_pkg to succeed under Jython. | Tim Peters | 2001-01-21 | 2 | -6/+6 |
| | |||||
* | In format(), consider sign only after grouping. | Martin v. Löwis | 2001-01-21 | 1 | -4/+9 |
| | | | | Suggested by Kevin Jacobs in bug report #129417. | ||||
* | Patch #103344: Sort dicts from extcall for easier comparison with Jython. | Tim Peters | 2001-01-21 | 2 | -41/+49 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-21 | 3 | -13/+12 |
| | |||||
* | Bug #128475: mimetools.encode (sometimes) fails when called from a thread. | Tim Peters | 2001-01-21 | 1 | -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__ updates | Skip Montanaro | 2001-01-20 | 12 | -0/+34 |
| | |||||
* | added some tests for urlencode | Skip Montanaro | 2001-01-20 | 1 | -0/+16 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 39 | -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 typo | Skip Montanaro | 2001-01-20 | 1 | -1/+1 |
| | |||||
* | I've been using gdb a lot lately -- I'm missing 'bt' as a command in | Guido van Rossum | 2001-01-20 | 1 | -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 Montanaro | 2001-01-20 | 1 | -60/+179 |
| | |||||
* | modify urlencode so sequences in the dict are treated as multivalued | Skip Montanaro | 2001-01-20 | 1 | -6/+36 |
| | | | | parameters. This closes the code part of patch 103314. | ||||
* | Better error message if ucnhash cannot be found (obscure attribute | Fredrik Lundh | 2001-01-20 | 1 | -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 Rossum | 2001-01-19 | 2 | -12/+0 |
| | |||||
* | A hack to augment sys.path with the build/lib.<platform> directory | Guido van Rossum | 2001-01-19 | 1 | -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 Rossum | 2001-01-19 | 1 | -3/+1 |
| | |||||
* | OK, checking in patch 103329. | Moshe Zadka | 2001-01-19 | 1 | -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. Also | Barry Warsaw | 2001-01-19 | 1 | -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 Rossum | 2001-01-19 | 2 | -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 Rossum | 2001-01-19 | 1 | -1/+2 |
| | |||||
* | Patch #103220 from Jason Tishler: | Andrew M. Kuchling | 2001-01-19 | 1 | -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 bit | Fredrik Lundh | 2001-01-19 | 2 | -3/+11 |
| | |||||
* | added "getcode" and "getname" methods to the ucnhash module (they're | Fredrik Lundh | 2001-01-19 | 1 | -0/+17 |
| | | | | | probably more useful for the test code than for any applications, but one never knows...) | ||||
* | refactored the unicodeobject/ucnhash interface, to hide the | Fredrik Lundh | 2001-01-19 | 1 | -8/+6 |
| | | | | | | | implementation details inside the ucnhash module. also cleaned up the unicode copyright blurb a little; Secret Labs' internal revision history isn't that interesting... | ||||
* | urllib.py very recently changed to produce uppercase escapes, but no | Tim Peters | 2001-01-19 | 1 | -3/+8 |
| | | | | corresponding changes were made to its std test. | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-19 | 1 | -1/+1 |
| | |||||
* | test_urllib is failing on Windows. I don't know why, but I can at least | Tim Peters | 2001-01-19 | 1 | -5/+5 |
| | | | | change the test to give a clue about *where* it's failing. | ||||
* | Use constructor form of "raise"; normalize <wink> docstrings. | Tim Peters | 2001-01-19 | 1 | -9/+5 |
| | |||||
* | Jeremy's patch #103323: trivial tests of all untested modules. | Tim Peters | 2001-01-19 | 2 | -0/+94 |
| | |||||
* | make the output of _test() suitable for use in the regression test | Jeremy Hylton | 2001-01-19 | 1 | -1/+1 |
| | |||||
* | Anonymous SF bug 129288: "The python 2.0 urllib has %%%x as a format | Guido van Rossum | 2001-01-19 | 1 | -2/+2 |
| | | | | | | | when quoting forbidden characters. There are scripts out there that break with lower case, therefore I guess %%%X should be used." I agree, so am fixing this. | ||||
* | make error msg more informative when test of exec fails | Jeremy Hylton | 2001-01-19 | 1 | -1/+1 |
| | |||||
* | add test for SyntaxError on | Jeremy Hylton | 2001-01-19 | 1 | -1/+7 |
| | | | | | def f(a): global a | ||||
* | add test of bastion and rexec to std regression test suite | Jeremy Hylton | 2001-01-19 | 2 | -0/+13 |
| | |||||
* | Checking in a slight variation of Barry's patch 103303. | Guido van Rossum | 2001-01-19 | 1 | -10/+9 |
| | |||||
* | SF Patch #102980, by Luke Kenneth Casson Leighton: BaseServer class | Guido van Rossum | 2001-01-19 | 1 | -51/+139 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for SocketServer.py (inherited by TCPServer) Luke wrote: The socketserver code, with a little bit of tweaking, can be made sufficiently general to service "requests" of any kind, not just by sockets. The BaseServer class was created, for example, to poll a table in a MYSQL database every 2 seconds. each entry in the table can be allocated a Handler which deals with the entry. With this patch, using BaseServer and ThreadedServer classes, the creation of the server that reads and handles MySQL table entries instead of a socket was utterly trivial: about 50 lines of python code. You may consider this code to be utterly useless [why would anyone else want to do anything like this???] - you are entitled to your opinion. if you think so, then think of this: have you considered how to cleanly add SSL to the TCPSocketServer? What about using shared memory as the communications mechanism for a server, instead of sockets? What about communication using files? The SocketServer code is extremely good every useful. it's just that as it stands, it is tied to sockets, which is not as useful. I heartily approve of this idea. | ||||
* | Add test that ensures hash() of objects defining __cmp__ or __eq__ but | Guido van Rossum | 2001-01-18 | 1 | -0/+23 |
| | | | | not __hash__ raises TypeError. | ||||
* | Add test that ensures hash([]) and hash({}) raise TypeError. | Guido van Rossum | 2001-01-18 | 1 | -0/+6 |
| | |||||
* | Since I'm about to check in a change to the recursion-detection code | Guido van Rossum | 2001-01-18 | 1 | -17/+10 |
| | | | | | for comparisons that outlaws requets for ordering on recursive data structures, remove the tests for ordering recursive data structures. | ||||
* | A dumb test for the dumdbm module. | Guido van Rossum | 2001-01-18 | 2 | -0/+40 |
| | |||||
* | Add test for comparing recursive data types. | Guido van Rossum | 2001-01-18 | 1 | -1/+42 |
| | |||||
* | Bite the bullet: use rich comparisons here, too. | Guido van Rossum | 2001-01-18 | 1 | -4/+10 |
| | |||||
* | Add test for misbehaving rich comparisons (always returning 0) -- | Guido van Rossum | 2001-01-18 | 1 | -1/+23 |
| | | | | these fall back to __cmp__. | ||||
* | Rich comparison tests | Guido van Rossum | 2001-01-18 | 2 | -0/+364 |
| | |||||
* | Whitespace normalization. Leaving tokenize_tests.py alone for now. | Tim Peters | 2001-01-18 | 9 | -45/+42 |
| | |||||
* | a bold attempt to fix things broken by MAL's verify patch: import | Fredrik Lundh | 2001-01-17 | 48 | -51/+54 |
| | | | | 'verify' iff it's used by a test module... |