- 22 Sep, 2003 5 commits
-
-
Marc-André Lemburg authored
Added test whether wchar_t is signed or not. A signed wchar_t is not usable as internal unicode type base for Py_UNICODE since the unicode implementation assumes an unsigned type.
-
Steve Purcell authored
method (PyUnit issue 563882, thanks to Alexandre Fayolle) - Ignore non-callable attributes of classes when searching for test method names (PyUnit issue 769338, thanks to Seth Falcon) - New assertTrue and assertFalse aliases for comfort of JUnit users - Automatically discover 'runTest()' test methods (PyUnit issue 469444, thanks to Roeland Rengelink) - Dropped Python 1.5.2 compatibility, merged appropriate shortcuts from Python CVS; should work with Python >= 2.1. - Removed all references to string module by using string methods instead
-
Raymond Hettinger authored
-
Jeremy Hylton authored
Refactor code so that one helper routine sets error location and increments st_errors. Bug fix candidate.
-
Gregory P. Smith authored
-
- 21 Sep, 2003 4 commits
-
-
Gregory P. Smith authored
-
Gregory P. Smith authored
version in the python 2.3.1 tree.
-
Raymond Hettinger authored
-
Gregory P. Smith authored
features in BerkeleyDB not exposed. notably: the DB_MPOOLFILE interface has not yet been wrapped in an object. Adds support for building and installing bsddb3 in python2.3 that has an older version of this module installed as bsddb without conflicts. The pybsddb.sf.net build/packaged version of the module uses a dynamicly loadable module called _pybsddb rather than _bsddb.
-
- 20 Sep, 2003 14 commits
-
-
Gregory P. Smith authored
adding the iterator interface for python >= 2.3.
-
Tim Peters authored
test_bad_address(): Recover from that VeriSign thought it would boost its corporate coffers to start resolving http://www.sadflkjsasadf.com/. Bugfix candidate -- although the bug is more VeriSign's than Python's!
-
Tim Peters authored
exist, and neither do any of the specific 5-letter locale names the test is looking for.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Not backported because of behaviour change.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
if configured --without-threads. Backported to 2.3.
-
- 19 Sep, 2003 1 commit
-
-
Brett Cannon authored
-
- 17 Sep, 2003 2 commits
-
-
Thomas Heller authored
Will backport to 2.3.
-
Raymond Hettinger authored
(Contributed by George Yoshida.)
-
- 16 Sep, 2003 10 commits
-
-
Raymond Hettinger authored
* Reference the doctest.DocTestSuite() conversion tool.
-
Raymond Hettinger authored
-
Tim Peters authored
so fiddle Jeremy's fix to live with that. Also added more comments. Bugfix candidate (this bug is in all versions of Python, at least since 2.1).
-
Jeremy Hylton authored
If a length-1 Unicode string was in the freelist and it was uninitialized or pointed to a very large (magnitude) negative number, the check unicode_latin1[unicode->str[0]] == unicode could cause a segmentation violation, e.g. unicode->str[0] is 0xcbcbcbcb. Fix this in two ways: 1. Change guard befor unicode_latin1[] to test against 256U. If I understand correctly, the unsigned long used to store UCS4 on my box was getting converted to a signed long to compare with the signed constant 256. 2. Change _PyUnicode_New() to make sure the first element of str is always initialized to zero. There are several places in the code where the caller can exit with an error before initializing any of str, which would leave junk in str[0]. Also, silence a compiler warning on pointer vs. int arithmetic. Bug fix candidate.
-
Raymond Hettinger authored
hashing a class that does not define __hash__ but does define a comparison.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Jeremy Hylton authored
The unicode_resize() family only returns -1 or 0 so simply checking for != 0 is sufficient, but somewhat unclear. Many Python API functions return < 0 on error, reserving the right to return 0 or 1 on success. Change the call sites for consistency with these calls.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 15 Sep, 2003 4 commits
-
-
Raymond Hettinger authored
Will backport to 2.3.1
-
Raymond Hettinger authored
Noted that the SHA algorithm is really SHA-1. (Contributed by Ronald Rivest.)
-
Andrew M. Kuchling authored
-
Steve Purcell authored
Hettinger in comments for issue 804115 https://sourceforge.net/tracker/?func=detail&atid=105470&aid=804115&group_id=5470
-