- 15 Mar, 2006 17 commits
-
-
Walter Dörwald authored
now if close() has been called before (like file and StringIO.StringIO do)
-
Thomas Heller authored
versions.
-
Tim Peters authored
-
Walter Dörwald authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Vinay Sajip authored
Catch situations where currentframe() returns None. See SF patch #1447410, this is a different implementation.
-
Nick Coghlan authored
-
Andrew M. Kuchling authored
-
Walter Dörwald authored
of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added.
-
Nick Coghlan authored
-
Tim Peters authored
unique to Python 2.5.
-
Tim Peters authored
C99 "z" qualifier on all platforms.
-
Thomas Heller authored
configure step.
-
Walter Dörwald authored
after calling close(). Change StringIO, so that it behaves the same way.
-
Neal Norwitz authored
Will backport.
-
Guido van Rossum authored
(Ideally, all packages in Python 2.5 will use the relative import syntax for all their relative import needs.)
-
- 14 Mar, 2006 7 commits
-
-
Tim Peters authored
Since it's never intended that this script be run by regrtest.py, it shouldn't have been named with a "test_" prefix to begin with. A consequence is that we shouldn't see useless: test_hashlib_speed skipped -- not a unit test (stand alone benchmark) lines in regrtest output anymore.
-
Thomas Heller authored
using a proper function prototype.
-
Thomas Heller authored
-
Thomas Heller authored
is responsible for most (all?) of the warnings we get.
-
Thomas Heller authored
""" The attached patch fixes all the ctypes tests so they pass on amd64. It also fixes several warnings. I'm not sure what else to do with the patch. Let me know how you want to handle these in the future. I'm not sure the patch is 100% correct. You will need to decide what can be 64 bits and what can't. I believe sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t. The types in ctypes.h may not require all the changes I made. I don't know how you want to support older version, so I unconditionally changed the types to Py_ssize_t. """ The patch is also in the ctypes SVN repository now, after small changes to add compatibility with older Python versions.
-
Nick Coghlan authored
-
Neal Norwitz authored
PyObject_Unicode(). This problem was originally reported from Coverity and addresses mail on python-dev "checkin r43015". This inlines the conversion of the string to unicode and cleans up/simplifies some code at the end of the PyObject_Unicode(). We really need a complete C API test module for all public APIs and passing good and bad parameter values. Will backport.
-
- 13 Mar, 2006 14 commits
-
-
Georg Brandl authored
-
Vinay Sajip authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Martin v. Löwis authored
Remove remarks on size_t problems.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Nick Coghlan authored
Fix SF bug #1448804 and ad a test to ensure that all subscript operations continue to be handled correctly
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Make buildbot slaves automatically fetch bzip2 1.0.3.
-
Thomas Heller authored
-
Hye-Shik Chang authored
SS2 (single-shift 2) escape sequences correctly.
-
Thomas Heller authored
Change test_functions.py so that it can be run multiple time without failing: Assign a restype to the function in test_intresult, and move the definition of class POINT to module level so that no new class is created each time the test is run.
-
- 12 Mar, 2006 2 commits
-
-
Trent Mick authored
important for the _ssl.vproj build. It calls build_ssl.py which tries to find a Perl to use. Without "/useenv" Visual Studio is getting a PATH from somewhere else (presumably from its internal environment configuration). The result is that build_ssl.py fallsback to its "well-known" locations for a Perl install.
-
Fredrik Lundh authored
Fixed a number of potential null-pointer-reference-under-pressure glitches, based on input from the Coverity analysis tool and Simo Salminen.
-