Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Show microseconds, milliseconds or seconds, whichever is most natural, | Guido van Rossum | 2003-10-20 | 1 | -1/+9 |
| | | | | rather than showing weird numbers like 8.4e+03 usec. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 21 | -23/+23 |
| | | | | (From SF patch #810751) | ||||
* | Patch #822994: Consolidate tests for self.closed. | Martin v. Löwis | 2003-10-18 | 1 | -18/+14 |
| | |||||
* | Implemented non-recursive SRE matching. | Gustavo Niemeyer | 2003-10-17 | 4 | -10/+62 |
| | |||||
* | Let library modules use the new keyword arguments for list.sort(). | Raymond Hettinger | 2003-10-16 | 7 | -24/+18 |
| | |||||
* | * list.sort() now supports three keyword arguments: cmp, key, and reverse. | Raymond Hettinger | 2003-10-16 | 1 | -45/+101 |
| | | | | | | | key provides C support for the decorate-sort-undecorate pattern. reverse provide a stable sort of the list with the comparisions reversed. * Amended the docs to guarantee sort stability. | ||||
* | Open results files, which contain binary pickles, in binary mode. | Jeremy Hylton | 2003-10-14 | 1 | -4/+2 |
| | | | | | Remove fallback code that tries to read marshal data from a results file, since this module never writes marshal data. | ||||
* | Add test__locale to expected skip list for Darwin. | Brett Cannon | 2003-10-13 | 1 | -0/+1 |
| | |||||
* | Patch #810914: Return absolute path for mkstemp. Fixes #810408. | Martin v. Löwis | 2003-10-12 | 2 | -2/+8 |
| | | | | | This should not be backported to 2.3, as it might break backwards compatibility. | ||||
* | Minor fixup. "Random" was listed twice in __all__. | Raymond Hettinger | 2003-10-12 | 1 | -2/+1 |
| | |||||
* | See rev. 1.42 for log message | Brett Cannon | 2003-10-12 | 1 | -6/+2 |
| | |||||
* | see rev. 1.13 for log message | Brett Cannon | 2003-10-12 | 1 | -5/+2 |
| | |||||
* | Ouch. Remove debug code containing obscenities. :-) | Guido van Rossum | 2003-10-10 | 1 | -3/+0 |
| | |||||
* | The fullmodname() function chopped off the first character if the | Guido van Rossum | 2003-10-10 | 1 | -1/+8 |
| | | | | | module existed in the current directory. Fix this. Backport candidate (I presume). | ||||
* | TCPServer: Fixed typo in class docstring. | Barry Warsaw | 2003-10-09 | 1 | -1/+1 |
| | |||||
* | TCPServer: Fixed typo in class docstring. | Barry Warsaw | 2003-10-09 | 1 | -1/+1 |
| | | | | Backport candidate. | ||||
* | Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3. | Martin v. Löwis | 2003-10-06 | 1 | -1/+4 |
| | |||||
* | SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__ | Jeremy Hylton | 2003-10-06 | 1 | -1/+5 |
| | | | | Not sure if this fix is great, but it's probably a small improvement. | ||||
* | Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr. | Jeremy Hylton | 2003-10-06 | 1 | -0/+7 |
| | |||||
* | Adopt Christian Stork's suggested argument order for the logic quantifiers. | Raymond Hettinger | 2003-10-05 | 1 | -11/+11 |
| | | | | Adopt Jeremy Fincher's suggested function name, "any", instead of "some". | ||||
* | SF bug #812202: randint is always even | Raymond Hettinger | 2003-10-05 | 2 | -10/+132 |
| | | | | | | | * Added C coded getrandbits(k) method that runs in linear time. * Call the new method from randrange() for ranges >= 2**53. * Adds a warning for generators not defining getrandbits() whenever they have a call to randrange() with too large of a population. | ||||
* | GNUTranslations._parse(): Initialize local variable k so that if the | Barry Warsaw | 2003-10-04 | 1 | -1/+1 |
| | | | | | | | first line of a header section isn't an RFC-ish header, it's just ignored instead of throwing an UnboundLocalError. Backport candidate. | ||||
* | tweak the docstring to not be so focused on 1.6. | Skip Montanaro | 2003-10-03 | 1 | -5/+5 |
| | |||||
* | Make the fieldnames argument optional in the DictReader. If self.fieldnames | Skip Montanaro | 2003-10-03 | 2 | -2/+15 |
| | | | | | | | | | is None, the next row read is used as the fieldnames. In the common case, this means the programmer doesn't need to know the fieldnames ahead of time. The first row of the file will be used. In the uncommon case, this means the programmer can set the reader's fieldnames attribute to None at any time and have the next row read as the next set of fieldnames, so a csv file can contain several "sections", each with different fieldnames. | ||||
* | bsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length | Gregory P. Smith | 2003-10-01 | 1 | -36/+36 |
| | | | | of the current value without reading the value itself. | ||||
* | Removed redundant 'return' statement. (Issue 813159) | Steve Purcell | 2003-09-30 | 1 | -2/+1 |
| | |||||
* | Use a threadsafe private DBEnv for each bsddb compatibility interface | Gregory P. Smith | 2003-09-27 | 1 | -3/+10 |
| | | | | | | | db that is opened. DB_THREAD and DB_INIT_LOCK allow for multithreaded access. DB_PRIVATE prevents the DBEnv from using the filesystem (making it only usable by this process; and in this implementation using one DBEnv per bsddb database) | ||||
* | Fix typo in the comments. | Raymond Hettinger | 2003-09-24 | 1 | -1/+1 |
| | |||||
* | Add more identity tests. | Raymond Hettinger | 2003-09-24 | 1 | -0/+11 |
| | |||||
* | Let IDLE use the HTMLHelp docs on Windows, if found. | Thomas Heller | 2003-09-23 | 1 | -2/+6 |
| | | | | Already 'backported' to release23-maint. | ||||
* | Added codec for bz2 compression. | Raymond Hettinger | 2003-09-23 | 2 | -0/+67 |
| | |||||
* | Topical change: use 'startswith()' to identify test methods with a | Steve Purcell | 2003-09-23 | 1 | -2/+2 |
| | | | | given prefix rather than comparing a slice. | ||||
* | PlaySoundTest.test_alias_nofallback(): Simplified the coding by using | Tim Peters | 2003-09-22 | 1 | -7/+2 |
| | | | | | | assertRaises. NOT a bugfix candidate. | ||||
* | PlaySoundTest.test_alias_fallback(): Disabled this test, and explained | Tim Peters | 2003-09-22 | 1 | -1/+12 |
| | | | | | | | | | | why in a new comment. My home Win98SE box is one of the "real systems" alluded to (my system "default sound" appears to have vanished sometime in the last month, that's certainly not a Python bug, and the MS PlaySound docs are correct in their explanation of what happens then). Bugfix candidate. If someone can still sneak it into 2.3.1, that would be good. | ||||
* | Avoid list as a variable name. | Walter Dörwald | 2003-09-22 | 1 | -10/+10 |
| | |||||
* | - Fixed loading of tests by name when name refers to unbound | Steve Purcell | 2003-09-22 | 1 | -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 | ||||
* | 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. |