summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF 810242. Fix doubled word errors.Raymond Hettinger2003-09-224-4/+4
|
* New for unittest.py.Guido van Rossum2003-09-221-0/+2
|
* SF 810242. Fix doubled word errors.Raymond Hettinger2003-09-227-7/+7
|
* Avoid list as a variable name.Walter Dörwald2003-09-221-10/+10
|
* Added test whether wchar_t is signed or not. A signed wchar_t is not usable ↵Marc-André Lemburg2003-09-223-3103/+2349
| | | | as internal unicode type base for Py_UNICODE since the unicode implementation assumes an unsigned type.
* - Fixed loading of tests by name when name refers to unboundSteve Purcell2003-09-221-40/+58
| | | | | | | | | | | | 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
* Clean-up example code: remove string module and backticks.Raymond Hettinger2003-09-221-3/+2
|
* Fix SF bug [ 808594 ] leak on lambda with duplicate arguments error.Jeremy Hylton2003-09-221-15/+16
| | | | | | | Refactor code so that one helper routine sets error location and increments st_errors. Bug fix candidate.
* Add BerkeleyDB 4.2 to the library search for the bsddb module.Gregory P. Smith2003-09-221-4/+11
|
* minor correction. python 2.3 was released with the bsddb module 4.1.6 not 4.1.1Gregory P. Smith2003-09-211-1/+1
|
* raise pybsddb version number to 4.2.1 to differentiate between it and theGregory P. Smith2003-09-211-1/+1
| | | | version in the python 2.3.1 tree.
* Improve and expand identity tests.Raymond Hettinger2003-09-211-11/+18
|
* Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; newGregory P. Smith2003-09-2121-71/+114
| | | | | | | | | | 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.
* Maintain backwards compatibility with python < 2.3 by dynamicallyGregory P. Smith2003-09-201-18/+30
| | | | adding the iterator interface for python >= 2.3.
* SF patch 809915: Fix bogus address to hopefully always break.Tim Peters2003-09-201-1/+8
| | | | | | | 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!
* test__locale (two underscores) can't pass on Windows: RADIXCHAR doesn'tTim Peters2003-09-201-0/+1
| | | | | exist, and neither do any of the specific 5-letter locale names the test is looking for.
* Patch #800697: Add readline.clear_history.Martin v. Löwis2003-09-203-0/+29
|
* Patch #707167: Pass dircache exceptions to the caller. Fixes #682813.Martin v. Löwis2003-09-204-10/+8
| | | | Not backported because of behaviour change.
* Check for declarations of fchdir and fsync. Fixes #800710. Backported to 2.3.Martin v. Löwis2003-09-203-11/+164
|
* Patch #730597: Disable POPEN for RTEMS.Martin v. Löwis2003-09-201-0/+2
|
* Patch #805613: Fix usage of the PTH library.Martin v. Löwis2003-09-202-1/+7
|
* Patch #808362: Fix typos.Martin v. Löwis2003-09-203-3/+3
|
* Patch #713645: Fix typo.Martin v. Löwis2003-09-201-1/+1
|
* Patch #793559: Reset __starttext_tag. Fixes #709491. Backported to 2.3.Martin v. Löwis2003-09-201-1/+1
|
* Patch #805976: Add DOTBOX and UNDERLINE.Martin v. Löwis2003-09-201-0/+5
|
* Patch #805678: Add .so symlink during make install. Backported to 2.3.Martin v. Löwis2003-09-201-0/+1
|
* Patch #805604: Do not check for sem_init, do not use -Kthread,Martin v. Löwis2003-09-202-14/+38
| | | | if configured --without-threads. Backported to 2.3.
* Improve detection of whether tzset is broken.Brett Cannon2003-09-193-15/+56
|
* Fix a typo found by Eric D. Moyer, closes SF 807813.Thomas Heller2003-09-171-1/+1
| | | | Will backport to 2.3.
* SF patch #806246: use basestring where possibleRaymond Hettinger2003-09-173-3/+3
| | | | (Contributed by George Yoshida.)
* * Minor wording changeRaymond Hettinger2003-09-161-2/+8
| | | | * Reference the doctest.DocTestSuite() conversion tool.
* Minor fixupsRaymond Hettinger2003-09-162-2/+3
|
* On c.l.py, Martin v. Löwis said that Py_UNICODE could be of a signed type,Tim Peters2003-09-161-137/+145
| | | | | | | 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).
* Double-fix of crash in Unicode freelist handling.Jeremy Hylton2003-09-162-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix leak in classobject.c. The leak surfaced on the error exit whenRaymond Hettinger2003-09-161-0/+1
| | | | | hashing a class that does not define __hash__ but does define a comparison.
* Test __all__ for unittest.pyRaymond Hettinger2003-09-161-1/+2
|
* Improve the leak fix so that PyTuple_New is only called when needed.Raymond Hettinger2003-09-161-9/+11
|
* Change checks of PyUnicode_Resize() return value for clarity.Jeremy Hylton2003-09-161-18/+17
| | | | | | | 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.
* Correct check of PyUnicode_Resize() return value.Jeremy Hylton2003-09-161-1/+2
|
* Reflow long lines and reformat.Jeremy Hylton2003-09-161-13/+13
|
* Fix leak discovered in test_new by Michael Hudson.Raymond Hettinger2003-09-151-17/+14
| | | | Will backport to 2.3.1
* SF bug #804113: Crypto terminology for crypto hash functionRaymond Hettinger2003-09-151-3/+4
| | | | | Noted that the SHA algorithm is really SHA-1. (Contributed by Ronald Rivest.)
* Remove possibly-misleading Expat versionAndrew M. Kuchling2003-09-151-2/+2
|
* Explicitly define public symbols via __all__: see discussion with RaymondSteve Purcell2003-09-151-0/+10
| | | | | Hettinger in comments for issue 804115 https://sourceforge.net/tracker/?func=detail&atid=105470&aid=804115&group_id=5470
* * Converted test to unittest format.Raymond Hettinger2003-09-131-85/+158
| | | | * Expanded coverage.
* The previous change works much faster (one lookup per key) whenRaymond Hettinger2003-09-131-0/+9
| | | | iteritems() is defined.
* SF bug #804115: bad argument handling(unittest.py)Raymond Hettinger2003-09-131-2/+2
|
* Simplify doctest of tee().Raymond Hettinger2003-09-131-6/+2
|
* Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.Martin v. Löwis2003-09-121-0/+3
| | | | Backported to 2.3.
* Patch #790000: Allow os.access to handle Unicode file name.Martin v. Löwis2003-09-122-0/+17
|