Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve and expand identity tests. | Raymond Hettinger | 2003-09-21 | 1 | -11/+18 |
| | |||||
* | Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; new | Gregory P. Smith | 2003-09-21 | 20 | -66/+70 |
| | | | | | | | | | | 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 dynamically | Gregory P. Smith | 2003-09-20 | 1 | -18/+30 |
| | | | | adding the iterator interface for python >= 2.3. | ||||
* | SF patch 809915: Fix bogus address to hopefully always break. | Tim Peters | 2003-09-20 | 1 | -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't | Tim Peters | 2003-09-20 | 1 | -0/+1 |
| | | | | | exist, and neither do any of the specific 5-letter locale names the test is looking for. | ||||
* | Patch #707167: Pass dircache exceptions to the caller. Fixes #682813. | Martin v. Löwis | 2003-09-20 | 2 | -9/+3 |
| | | | | Not backported because of behaviour change. | ||||
* | Patch #808362: Fix typos. | Martin v. Löwis | 2003-09-20 | 1 | -1/+1 |
| | |||||
* | Patch #793559: Reset __starttext_tag. Fixes #709491. Backported to 2.3. | Martin v. Löwis | 2003-09-20 | 1 | -1/+1 |
| | |||||
* | Patch #805976: Add DOTBOX and UNDERLINE. | Martin v. Löwis | 2003-09-20 | 1 | -0/+5 |
| | |||||
* | SF patch #806246: use basestring where possible | Raymond Hettinger | 2003-09-17 | 3 | -3/+3 |
| | | | | (Contributed by George Yoshida.) | ||||
* | Test __all__ for unittest.py | Raymond Hettinger | 2003-09-16 | 1 | -1/+2 |
| | |||||
* | Explicitly define public symbols via __all__: see discussion with Raymond | Steve Purcell | 2003-09-15 | 1 | -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 Hettinger | 2003-09-13 | 1 | -85/+158 |
| | | | | * Expanded coverage. | ||||
* | The previous change works much faster (one lookup per key) when | Raymond Hettinger | 2003-09-13 | 1 | -0/+9 |
| | | | | iteritems() is defined. | ||||
* | SF bug #804115: bad argument handling(unittest.py) | Raymond Hettinger | 2003-09-13 | 1 | -2/+2 |
| | |||||
* | Simplify doctest of tee(). | Raymond Hettinger | 2003-09-13 | 1 | -6/+2 |
| | |||||
* | Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632. | Martin v. Löwis | 2003-09-12 | 1 | -0/+3 |
| | | | | Backported to 2.3. | ||||
* | Patch #790000: Allow os.access to handle Unicode file name. | Martin v. Löwis | 2003-09-12 | 1 | -0/+1 |
| | |||||
* | SF #662923 | Raymond Hettinger | 2003-09-12 | 2 | -7/+28 |
| | | | | | | Add support for the iterator and mapping protocols. For Py2.3, this was done for shelve, dumbdbm and other mapping objects, but not for bsddb and dbhash which were inadvertently missed. | ||||
* | Oops. Really fix the indentation problem this time. | Jeremy Hylton | 2003-09-10 | 1 | -13/+13 |
| | |||||
* | Fix inconsistent mix of tabs and spaces that caused test to fail. | Jeremy Hylton | 2003-09-10 | 1 | -5/+4 |
| | |||||
* | display link to module docs when it looks like the object module is a core | Skip Montanaro | 2003-09-10 | 1 | -1/+47 |
| | | | | module | ||||
* | Python Bug 775061 | Kurt B. Kaiser | 2003-09-10 | 3 | -97/+2 |
| | | | | | | 1. Remove "idle" script, it lives in Tools/scripts/ now. 2. Remove shebang from idle.py, should be called explicitly. 3. Remove obsolete test code from rpc.py; needs unit test. | ||||
* | Add an example to address a common question of how to split iterators. | Raymond Hettinger | 2003-09-08 | 1 | -4/+30 |
| | |||||
* | Set the warnings stacklevel to two. | Raymond Hettinger | 2003-09-08 | 1 | -2/+2 |
| | |||||
* | SF bug 801631: file.truncate fault on windows. | Tim Peters | 2003-09-07 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | | file_truncate(): C doesn't define what fflush(fp) does if fp is open for update, and the preceding I/O operation on fp was input. On Windows, fflush() actually changes the current file position then. Because Windows doesn't support ftruncate() directly, this not only caused Python's file.truncate() to change the file position (contra our docs), it also caused the file not to change size. Repaired by getting the initial file position at the start, restoring it at the end, and tossing all the complicated micro-efficiency checks trying to avoid "provably unnecessary" seeks. file.truncate() can't be a frequent operation, and seeking to the current file position has got to be cheap anyway. Bugfix candidate. | ||||
* | **kwds arg was missing from __init__ for Dict{Reader,Writer} classes. | Skip Montanaro | 2003-09-06 | 2 | -4/+11 |
| | | | | will backport. | ||||
* | SF bug #801342: Bug (documentation or real, your choice) in random.sample. | Raymond Hettinger | 2003-09-06 | 2 | -0/+14 |
| | | | | | | | | | | | | random.sample() uses one of two algorithms depending on the ratio of the sample size to the population size. One of the algorithms accepted any iterable population argument so long as it defined __len__(). The other had a stronger requirement that the population argument be indexable. While it met the documentation specifications which insisted that the population argument be a sequence, it made random.sample() less usable with sets. So, the second algorithm was modified to coerce non-indexable iterables and dictionaries into a tuple before proceeding. | ||||
* | SF bug #800796: Difference between hash() and __hash__() | Raymond Hettinger | 2003-09-05 | 1 | -0/+5 |
| | | | | slice(5).__hash__() now raises a TypeError. | ||||
* | Patch #798145: Return correct information from nl_langinfo(RADIXCHAR). | Martin v. Löwis | 2003-09-04 | 1 | -0/+34 |
| | | | | Will backport to 2.3. | ||||
* | Catch locale.error as well. Fixes #788378. Will backport to 2.3. | Martin v. Löwis | 2003-09-03 | 1 | -1/+1 |
| | |||||
* | test_get_param_with_semis_in_quotes(): Test case for SF bug #794466. | Barry Warsaw | 2003-09-03 | 1 | -0/+7 |
| | | | | Backport candidate. | ||||
* | A fix for parsing parameters when there are semicolons inside the | Barry Warsaw | 2003-09-03 | 1 | -1/+18 |
| | | | | | | | | | | | quotes. Fixes SF bug #794466, with the essential patch provided by Stuart D. Gathman. Specifically, _parseparam(), _get_params_preserve(): Use the parsing function that takes quotes into account, as given (essentially) in the bug report's test program. Backport candidate. | ||||
* | use the long names for re compilation options; this makes it easier to | Fred Drake | 2003-09-02 | 1 | -1/+1 |
| | | | | figure out what the code is doing | ||||
* | Modernize code a bit: use isinstance instead of type(); return True/False | Andrew M. Kuchling | 2003-09-02 | 1 | -4/+7 |
| | |||||
* | [Patch #759208] Fix has_key emulation to not raise KeyError | Andrew M. Kuchling | 2003-09-02 | 1 | -1/+3 |
| | |||||
* | Only apply case-insensitivity test on appropriate platforms.' test_filecmp.py | Raymond Hettinger | 2003-09-02 | 1 | -2/+6 |
| | |||||
* | SF bug #453515: filecmp.dircmp case sensitivity bug | Raymond Hettinger | 2003-09-02 | 2 | -8/+12 |
| | |||||
* | SF 798269: bug fix for doctest (sf bug id: 798254 | Raymond Hettinger | 2003-09-02 | 1 | -2/+3 |
| | | | | | | | | | | | (Contributed by Alexander Belopolsky.) Doctest would crash when encountering unbound methods: class A: def f(self): pass class C(A): g = A.f | ||||
* | SF patch #736962: Port tests to unittest (Part 2) | Raymond Hettinger | 2003-09-02 | 1 | -12/+90 |
| | | | | | | | (Contributed by Walter Dörwald.) * Convert test_slice.py to unittest format * Expand the test coverage. | ||||
* | SF patch #790443: add SafeConfigParser to __all__ | Raymond Hettinger | 2003-09-01 | 1 | -1/+1 |
| | | | | (Contributed by George Yoshida.) | ||||
* | SF bug #785222: zlib monotonic test | Raymond Hettinger | 2003-08-31 | 1 | -11/+0 |
| | | | | | | For smaller datasets, it is not always true the increasing the compression level always results in better compression. Removed the test which made this invalid assumption. | ||||
* | SF patch #736962: Port tests to unittest | Raymond Hettinger | 2003-08-30 | 5 | -33/+145 |
| | | | | | | | | (Contributed by Walter Dörwald). * Convert three test modules to unittest format. * Expanded coverage in test_structseq.py. * Raymond added a new test in test_sets.py | ||||
* | SF bug 797650: Infinite loop in textwrap.py | Raymond Hettinger | 2003-08-30 | 2 | -1/+11 |
| | | | | | | When the indents were set to longer than the width and long word breaking was enabled, an infinite loop would result because the inner loop did not assure that at least one character was stripped off on every pass. | ||||
* | Eliminate unnecessary eval() in tests | Raymond Hettinger | 2003-08-30 | 1 | -19/+18 |
| | |||||
* | SF bug #793826: using itertools.izip to mutate tuples | Raymond Hettinger | 2003-08-29 | 1 | -1/+32 |
| | | | | Avoid Armin Rigo's dastardly exercise in re-entrancy. | ||||
* | Rework previous fix slightly; the &0x20 test seems useless, and the ↵ | Andrew M. Kuchling | 2003-08-29 | 1 | -4/+2 |
| | | | | isprint() check mustn't prevent the meta-bit check at the end | ||||
* | Add tests for meta- bit set | Andrew M. Kuchling | 2003-08-29 | 1 | -1/+4 |
| | |||||
* | [Bug #790356] unctrl() doesn't work for full printable charset. Fix by Dave ↵ | Andrew M. Kuchling | 2003-08-29 | 1 | -0/+2 |
| | | | | Cinege. | ||||
* | Add simple unit test for ascii.unctrl() function | Andrew M. Kuchling | 2003-08-29 | 1 | -0/+13 |
| |