- 11 Jul, 2000 18 commits
-
-
Jeremy Hylton authored
-
Jack Jansen authored
-
Fred Drake authored
Comment change only.
-
Fred Drake authored
Update the "in" / "not in" description to accomodate the current use of the __contains__() discipline. This patch also incorporates suggestions from Marc-Andre Lemburg <mal@lemburg.com>, minor markup revisions from Fred Drake, and some rewording of the first affected paragraph (also from Fred). Closes SourceForge patch #100831.
-
Fred Drake authored
used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856.
-
Peter Schneider-Kamp authored
-
Peter Schneider-Kamp authored
change eliminate to delete (-d)
-
Fred Drake authored
elements (since the table was pretty screwed up); this is how it is done elsewhere in the manual. I could use some help creating descriptions of the specific error identifiers (input conditions that lead to each error, etc.).
-
Jeremy Hylton authored
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 authored
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 authored
the documentation; the cases `? foo' and `! foo' failed.
-
Peter Schneider-Kamp authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Marc-André Lemburg authored
better error message for unicode coercion failure
-
Barry Warsaw authored
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 authored
-
Jeremy Hylton authored
1. PySequence_Fast_GET_ITEM is a macro and borrows a reference 2. The seq returned from PySequence_Fast must be decref'd
-
- 10 Jul, 2000 22 commits
-
-
Tim Peters authored
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 authored
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 authored
-- added a few extra comments to locale.py
-
Fredrik Lundh authored
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 authored
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 authored
-
Peter Schneider-Kamp authored
-
Peter Schneider-Kamp authored
-
Jeremy Hylton authored
test_string and test_userstring run same tests for string methods
-
Jeremy Hylton authored
-
Peter Schneider-Kamp authored
-
Peter Schneider-Kamp authored
have already been checked in) UNTESTED!
-
Fredrik Lundh authored
-
Guido van Rossum authored
-
Fredrik Lundh authored
for #100836, but implemented in a different way)
-
Guido van Rossum authored
to match addition to test_unicode.py.
-
Guido van Rossum authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Andrew M. Kuchling authored
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 authored
-
Peter Schneider-Kamp authored
-