- 12 Jul, 2000 3 commits
-
-
Vladimir Marangozov authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
- 11 Jul, 2000 29 commits
-
-
Peter Schneider-Kamp authored
Changed parameter in getsockaddrlen from unsigned to socklen_t.
-
Jack Jansen authored
-
Jack Jansen authored
mac-specific functions to have a PyMac_ name.
-
Jack Jansen authored
-
Jack Jansen authored
consensus where it should go).
-
Jack Jansen authored
-
Jack Jansen authored
- ANSIfication step 3: enable "require prototypes" flags. Still lots of warnings, mainly on init routines and bgen stuff.
-
Jack Jansen authored
header files included.
-
Jack Jansen authored
Added a declaration of fileno() if we use GUSI. Not sure whether it should go here or in pyport.h really...
-
Jack Jansen authored
-
Jeremy Hylton authored
use PyString_AS_STRING macro on local string object when resizing string, make sure resized string will always be big enough split string containing error message across two lines add test to string_tests that causes resizing
-
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 8 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
-