- 11 Tem, 2000 10 kayıt (commit)
-
-
Jeremy Hylton yazdı
The Compare close contains a close method that checks to see if there is any unconsumed data in the Compare instance; i.e. if the canonical output file contains more data than was produced by the current test run. This method was never called, allowing differences to go undetected. Fix is to call close after the test is run (after __import__) output/test_long and output/test_popen2 needed trivial changes output/test_select contained lots of text, but test_select.py produced no output
-
Fred Drake yazdı
Change a cast, intialize a local, and make some sprintf() format strings type-appropriate (add the "l" to "%d"). Closes SourceForge patch #100737.
-
Eric S. Raymond yazdı
the documentation; the cases `? foo' and `! foo' failed.
-
Peter Schneider-Kamp yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Marc-André Lemburg yazdı
better error message for unicode coercion failure
-
Barry Warsaw yazdı
seqlen==1 clause, before returning item, we need to DECREF seq. In the res=PyString... failure clause, we need to goto finally to also decref seq (and the DECREF of res in finally is changed to a XDECREF). Also, we need to DECREF seq just before the PyUnicode_Join() return.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
1. PySequence_Fast_GET_ITEM is a macro and borrows a reference 2. The seq returned from PySequence_Fast must be decref'd
-
- 10 Tem, 2000 30 kayıt (commit)
-
-
Tim Peters yazdı
about int size mismatches at two calls to s_rand. Stuffed in casts to make the code do what it did before but w/o warnings -- although unclear that's correct!
-
Jeremy Hylton yazdı
implementation -- use PySequence_Fast interface to iterate over elements interface -- if instance object reports wrong length, ignore it; previous version raised an IndexError if reported length was too high
-
Fredrik Lundh yazdı
-- added a few extra comments to locale.py
-
Fredrik Lundh yazdı
value is calculated from the character values, in a way that makes sure an 8-bit ASCII string and a unicode string with the same contents get the same hash value. (as a side effect, this also works for ISO Latin 1 strings). for more details, see the python-dev discussion.
-
Eric S. Raymond yazdı
a representation of the configuration state in .ini format that can be read back in by a future read() call. Thus this class is now a back end for .ini editors as well as parsers. This patch is complete and tested, but exposes a bug in the ConfigParser implementation which I have not yet fixed. Because case information is discarded during parsing, the output of write() has its case smashed. I wrote this for a SourceForge interface script called forgetool. Documentation for the new entry points included.
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Jeremy Hylton yazdı
test_string and test_userstring run same tests for string methods
-
Jeremy Hylton yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
have already been checked in) UNTESTED!
-
Fredrik Lundh yazdı
-
Guido van Rossum yazdı
-
Fredrik Lundh yazdı
for #100836, but implemented in a different way)
-
Guido van Rossum yazdı
to match addition to test_unicode.py.
-
Guido van Rossum yazdı
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
Andrew M. Kuchling yazdı
There is a silly bug in the fall-back dumbdbm.py database package in the Python 1.5.2 standard distro. This bug causes any changes to an existing item to generate a new key, even when the key already exists. After many updates, the .dir file used by dumbdbm grows to a huge size, and can cause filesystem problems.
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
added excplicit node * parameter to termvalid argument in validate_two_chain_ops of parsermodule.c (as proposed by fred)
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-
Peter Schneider-Kamp yazdı
-