Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization (ran reindent.py over the whole tree). | Tim Peters | 2005-08-07 | 1 | -10/+10 |
| | |||||
* | Disable a few other tests, that can't work if Python is compiled without | Walter Dörwald | 2005-08-03 | 4 | -18/+30 |
| | | | | Unicode support. | ||||
* | PEP 342 implementation. Per Guido's comments, the generator throw() | Phillip J. Eby | 2005-08-02 | 3 | -16/+273 |
| | | | | | method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too. | ||||
* | * Improve code for the empty frozenset singleton: | Raymond Hettinger | 2005-08-01 | 1 | -0/+20 |
| | | | | | | | | | | | - Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups. | ||||
* | add support for svn: and svn+ssh: URL schemes to urlparse | Fred Drake | 2005-07-29 | 1 | -0/+5 |
| | |||||
* | Disable encoding/decoding test, if unicode is disabled. | Walter Dörwald | 2005-07-28 | 1 | -19/+20 |
| | |||||
* | Fix all wrong instances of "it's". | Georg Brandl | 2005-07-22 | 5 | -8/+8 |
| | |||||
* | Make attributes and local variables in the StreamReader str objects instead | Walter Dörwald | 2005-07-20 | 1 | -0/+17 |
| | | | | | of unicode objects, so that codecs that do a str->str decoding won't promote the result to unicode. This fixes SF bug #1241507. | ||||
* | Whitespace normalization. | Tim Peters | 2005-07-17 | 2 | -2/+2 |
| | |||||
* | Add support for FreeBSD 7. | Hye-Shik Chang | 2005-07-17 | 3 | -1/+3 |
| | |||||
* | RFE [ 1216944 ] Add Error Code Dictionary to urllib2 | Georg Brandl | 2005-07-14 | 1 | -0/+4 |
| | |||||
* | Fix: | Michael W. Hudson | 2005-07-12 | 1 | -0/+20 |
| | | | | | | | [ 1229429 ] missing Py_DECREF in PyObject_CallMethod Add a test in test_enumerate, which is a bit random, but suffices (reversed_new calls PyObject_CallMethod under some circumstances). | ||||
* | Add test for hash commutativity. | Raymond Hettinger | 2005-07-05 | 1 | -0/+10 |
| | |||||
* | Add doctest for examples in libweakref.tex to test_weakref. | Georg Brandl | 2005-07-02 | 1 | -0/+86 |
| | |||||
* | SF bug #1224347: int/long unification and hex() | Raymond Hettinger | 2005-06-29 | 1 | -1/+1 |
| | | | | Hex longs now print with lowercase letters like their int counterparts. | ||||
* | Adapt output file to new Cookie JS output. | Georg Brandl | 2005-06-27 | 1 | -4/+4 |
| | |||||
* | Fix test cases for doctest. | Georg Brandl | 2005-06-26 | 1 | -0/+3 |
| | |||||
* | SF bug #1224621: tokenize module does not detect inconsistent dedents | Raymond Hettinger | 2005-06-21 | 1 | -1/+19 |
| | |||||
* | test_asynchat is no longer expected to produce output. | Michael W. Hudson | 2005-06-20 | 2 | -4/+3 |
| | | | | also, wait for threads to finish before proceeding. | ||||
* | SF patch #1200018: Restore GC support to set objects | Raymond Hettinger | 2005-06-18 | 1 | -0/+10 |
| | | | | | Reverts 1.26 and 1.27. And adds cycle testing. | ||||
* | Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in with | Skip Montanaro | 2005-06-17 | 1 | -0/+31 |
| | | | | posixmodule.c 2.335. Really should be considered part of patch #1103951. | ||||
* | [Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite | Andrew M. Kuchling | 2005-06-15 | 1 | -1/+2 |
| | |||||
* | yet another cache to clear when leak hunting. | Michael W. Hudson | 2005-06-14 | 1 | -0/+2 |
| | |||||
* | Port test_long.py to unittest. | Walter Dörwald | 2005-06-13 | 1 | -508/+451 |
| | |||||
* | Fix bug | Michael W. Hudson | 2005-06-13 | 1 | -0/+9 |
| | | | | | | | | [ 1180997 ] lax error-checking in new-in-2.4 marshal stuff which I'd assigned to Martin, but actually turned out to be easy to fix. Also, a test. | ||||
* | Add untokenize() function to allow full round-trip tokenization. | Raymond Hettinger | 2005-06-10 | 2 | -4/+76 |
| | | | | | | Should significantly enhance the utility of the module by supporting the creation of tools that modify the token stream and writeback the modified result. | ||||
* | Convert asynchat test to unittest; exercise the client using a numeric value ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -14/+46 |
| | | | | as the terminator | ||||
* | [Bug #1074261, patch #1074381] Restrict the size of chunks read from the ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -0/+23 |
| | | | | file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin | ||||
* | Convert gzip test suite to use unittest | Andrew M. Kuchling | 2005-06-09 | 1 | -74/+110 |
| | |||||
* | [Patch #1171487, bug #1170331] Fix error in base64.b32decode when encoding a ↵ | Andrew M. Kuchling | 2005-06-08 | 1 | -0/+6 |
| | | | | single null byte; test a null byte in all encodings to be sure it works | ||||
* | Tools/scripts/reindent.py _is_ your friend | Anthony Baxter | 2005-06-08 | 1 | -3/+3 |
| | |||||
* | [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an ↵ | Andrew M. Kuchling | 2005-06-07 | 1 | -0/+18 |
| | | | | extra \r on the end of a line; fixed by stripping off trailing whitespace. | ||||
* | Fix missing assignments of marshal.load() values. Closes #1214662. | Skip Montanaro | 2005-06-04 | 1 | -7/+7 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-06-03 | 3 | -9/+9 |
| | |||||
* | Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly. | Georg Brandl | 2005-06-03 | 1 | -0/+10 |
| | |||||
* | [ 1197218 ] test_locale fix on modern linux | Anthony Baxter | 2005-06-03 | 1 | -8/+10 |
| | | | | | | | On more modern linuxes (and probably others) straight 'en_US' isn't a valid locale. Make the code try a couple of alternates. backport candidate | ||||
* | This is my patch: | Michael W. Hudson | 2005-06-03 | 1 | -1/+15 |
| | | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails. | ||||
* | Bug #1213894: os.path.realpath didn't resolve symlinks that were the first | Georg Brandl | 2005-06-03 | 1 | -0/+20 |
| | | | | component of the path. | ||||
* | M-x untabify | Michael W. Hudson | 2005-06-03 | 1 | -9/+9 |
| | |||||
* | [Bug #1177831] Exercise (?(id)yes|no) for a group other than the first one | Andrew M. Kuchling | 2005-06-02 | 1 | -0/+10 |
| | |||||
* | Fix compiler.ast.flatten function so that it works on lists. | Neil Schemenauer | 2005-06-02 | 1 | -0/+5 |
| | |||||
* | This is my patch: | Michael W. Hudson | 2005-05-27 | 1 | -0/+110 |
| | | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests. | ||||
* | Fix test_site to not call open('...', 'wU'), as that now raises an error. | Michael W. Hudson | 2005-05-27 | 1 | -1/+1 |
| | | | | Is anyone running the test suite regularly at the moment? | ||||
* | Disallow opening files with modes 'aU' or 'wU' as specified by PEP | Skip Montanaro | 2005-05-20 | 1 | -0/+10 |
| | | | | 278. Closes bug 967182. | ||||
* | This test relied on short-circuiting details of dictobject.py to avoid | Armin Rigo | 2005-05-15 | 1 | -4/+2 |
| | | | | | | | | | crashing, and indirectly on the fact that hash codes in random.randrange(1000000000) were very unlikely to exhibit collisions. To see the problem, replace this number with 500 and observe the crash on either del target[key] or del keys[i]. The fix prevents recursive mutation, just as in the key insertion case. | ||||
* | Add better datetime support to xmlrpclib module. Closes patch #1120353. | Skip Montanaro | 2005-05-14 | 1 | -6/+38 |
| | |||||
* | Don't use 'is not' to compare strings. | Michael W. Hudson | 2005-05-04 | 1 | -1/+1 |
| | | | | (spotted by reading pypy-svn :) | ||||
* | Fix error in a docstring where a single quote started the docstring but triple | Brett Cannon | 2005-04-30 | 1 | -1/+1 |
| | | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith. | ||||
* | Make subclasses of int, long, complex, float, and unicode perform type | Brett Cannon | 2005-04-26 | 4 | -1/+245 |
| | | | | | | | conversion using the proper magic slot (e.g., __int__()). Also move conversion code out of PyNumber_*() functions in the C API into the nb_* function. Applied patch #1109424. Thanks Walter Doewald. | ||||
* | Update test to the current readline() behaviour. | Walter Dörwald | 2005-04-21 | 1 | -0/+2 |
| |