- 10 Nis, 2001 3 kayıt (commit)
-
-
Guido van Rossum yazdı
(Yes, this is a new feature right before the 2.1 release. No, I can't imagine this would seriously break anybody's code. In fact, most users of this script are probably *happy* to see this addition.)
-
Tim Peters yazdı
parens, but no "while" test. Removed the former.
-
Tim Peters yazdı
binary pickle, and the latter contains a pickle of a negative Python int i written on a sizeof(long)==4 box (and whether by cPickle or pickle.py), it's read incorrectly as i + 2**32. The patch repairs that, and allows test_cpickle.py (to which I added a relevant test case earlier today) to work again on sizeof(long)==8 boxes. There's another (at least one) sizeof(long)==8 binary pickle bug, but in pickle.py instead. That bug is still there, and test_pickle.py doesn't catch it yet (try pickling and unpickling, e.g., 1 << 46).
-
- 09 Nis, 2001 17 kayıt (commit)
-
-
Guido van Rossum yazdı
think that a command starting with '#' is a comment, so move the one comment in such a position (in the rule for building $(LIBRARY)) to a harmless position.
-
Jeremy Hylton yazdı
Fix func arg processing to handle args in tuples. In test code, skip names beginning with '.'.
-
Tim Peters yazdı
integers, but the std tests don't exercise most of them. Repair that. CAUTION: I expect this to fail on boxes with sizeof(long)==8, in the part of test_cpickle (but not test_pickle) trying to do a binary mode (not text mode) load of the embedded BINDATA pickle string. Once that hypothesized failure is confirmed, I'll fix cPickle.c.
-
Fred Drake yazdı
Update the docstrings to no longer refer to the obsolete TERMIOS module. This is a partial acceptance of SF patch #413419.
-
Tim Peters yazdı
the logic better. Will be adding some additional tests later today.
-
Jeremy Hylton yazdı
-
Fred Drake yazdı
This closes SF bug #414279.
-
Fred Drake yazdı
noted by Steve Holden. This closes SF bug #413876.
-
Steve Purcell yazdı
* Fixed TestLoader.loadTestsFromName() for nested packages * Corrected the command-line usage summary
-
Moshe Zadka yazdı
-
Moshe Zadka yazdı
Even though relative redirects are illegal, they are common urllib treated every relative redirect as though it was to http, even if the original was https:// As long as we're compensating for server bugs, might as well do it properly.
-
Jeremy Hylton yazdı
Add mangling support Add get_children() and add_child() methods to Scope Skip nodes when If test is a false constant Add test code that checks results against symtable module
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Fix com_NEWLINE() so that is accepts arguments, which occurs for lines like: stmt; # note trailing semicolon Add XXX about checking for assignment to list comps
-
Jeremy Hylton yazdı
-
- 08 Nis, 2001 6 kayıt (commit)
-
-
Tim Peters yazdı
where sizeof(long)==8. This *was* broken on boxes where signed right shifts didn't sign-extend, but not elsewhere. Unfortunately, apart from the Cray T3E I don't know of such a box, and Guido has so far refused to buy me any Cray machines for home Python testing <wink>. More immediately interesting would be if someone could please test this on *any* sizeof(long)==8 box, to make sure I didn't break it.
-
Guido van Rossum yazdı
This was found by Neal Norwitz's PyChecker.
-
Tim Peters yazdı
-
Tim Peters yazdı
http://groups.yahoo.com/group/medusa/message/333 It's clear that Medusa should not be checking for an empty buffer via "buf is ''". The patch merely changes "is" to "==". However, there's a mystery here all the same: Python attempts to store null strings uniquely, so it's unclear why "buf is ''" ever returned false when buf actually was empty. *Some* string operations produce non-unique null strings, e.g. >>> "abc"*0 is "abc"*0 0 >>> but they're rare, and I don't see any such operations in asynchat.
-
Tim Peters yazdı
-
Tim Peters yazdı
on c.l.py.
-
- 07 Nis, 2001 6 kayıt (commit)
-
-
Tim Peters yazdı
Jeffery Collins pointed out that filterstring decrefs a character object before it's done using it. This works by accident today because another module always happens to have an active reference too at the time. The accident doesn't work after his Pippy modifications, and since it *is* an accident even in the mainline Python, it should work by design there too. The patch accomplishes that.
-
Greg Stein yazdı
Fixes bug #233308 from Travis Oliphant.
-
Greg Stein yazdı
This is the accepted portion of patch #402498.
-
Jack Jansen yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
Steve Purcell's documentation, and a lot of it is written based on using PyUnit and reading the implementation. There is more to come, but I want to get this check in before I have a disk crash or anything else bad happens.
-
- 06 Nis, 2001 8 kayıt (commit)
-
-
Tim Peters yazdı
have the std test suite exercise the Cookie doctests too.
-
Guido van Rossum yazdı
add a self-test using doctest. Results: - The docstring needs to be a raw string because it uses \"...\". - The oreo example was broken: the Set-Cookie output doesn't add quotes around "doublestuff". - I had to change the example that prints the class of a Cookie.Cookie instance to avoid incorporating an arbitrary object address in the test output. Pretty good score for both doctest and the doc string, I'd say!
-
Tim Peters yazdı
-
Guido van Rossum yazdı
- Use push() instead of send(), and make these calls in main(). - Sleep a second to give the server thread time to initialize itself.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
(How many opre of these will we need? :-( )
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-