Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enhance message for UnicodeEncodeError and UnicodeTranslateError. | Walter Dörwald | 2003-08-12 | 1 | -3/+35 |
| | | | | | If there is only one bad character it will now be printed in a form that is a valid Python string. | ||||
* | Fix bug in test_bad_timezone where test was assuming locale knew of PDT. | Brett Cannon | 2003-08-11 | 1 | -2/+3 |
| | |||||
* | Comment typo fixes | Andrew M. Kuchling | 2003-08-11 | 2 | -2/+2 |
| | |||||
* | Unconditionally opening the temp file in text mode causes this test to fail | Jason Tishler | 2003-08-11 | 1 | -2/+5 |
| | | | | | | under Cygwin. The attached patch corrects this problem. I tested this patch under Red Hat Linux 8.0 too. | ||||
* | Bug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX, | Jack Jansen | 2003-08-11 | 1 | -1/+3 |
| | | | | but attempting to get it resulted in a crash. Fixed. Backport candidate. | ||||
* | Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] and | Brett Cannon | 2003-08-11 | 2 | -10/+39 |
| | | | | | | time.daylight is true. Add an explicit test for this situation. Fixed some wording in docstrings. | ||||
* | SF bug #778964: bad seed in python 2.3 random | Raymond Hettinger | 2003-08-09 | 2 | -1/+4 |
| | | | | | | | The default seed is time.time(). Multiplied by 256 before truncating so that fractional seconds are used. This way, two successive calls to random.seed() are much more likely to produce different sequences. | ||||
* | Add HIDDEN. Fixes #777664. | Martin v. Löwis | 2003-08-09 | 1 | -0/+2 |
| | |||||
* | SF patch #747364: BaseHTTPServer doesn't need StringIO intermediary | Raymond Hettinger | 2003-08-09 | 1 | -11/+1 |
| | | | | (Contributed by Andrew Dalke.) | ||||
* | IDLEfork Bug 782759 | Kurt B. Kaiser | 2003-08-09 | 1 | -4/+9 |
| | | | | backported to 23-maint | ||||
* | SF bug #770485: cStringIO does not set closed attr | Raymond Hettinger | 2003-08-08 | 1 | -0/+10 |
| | |||||
* | Modified itertools.izip() to match the behavior of __builtin__.zip() | Raymond Hettinger | 2003-08-08 | 1 | -1/+6 |
| | | | | which can now take zero arguments. | ||||
* | Re-sync doc tests with the doc updates. | Raymond Hettinger | 2003-08-08 | 1 | -3/+7 |
| | |||||
* | Fix docstring in LocaleTime. | Brett Cannon | 2003-08-08 | 1 | -2/+2 |
| | |||||
* | Repair refcounting on error return from type_set_bases. | Michael W. Hudson | 2003-08-07 | 1 | -0/+7 |
| | | | | Include a test case that failed for one of my efforts to repair this. | ||||
* | Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename. | Mark Hammond | 2003-08-06 | 1 | -0/+2 |
| | | | | Will also check in on the 2.3 branch. | ||||
* | Remove useless import. | Walter Dörwald | 2003-08-05 | 1 | -1/+1 |
| | |||||
* | Check both __div__ and __truediv__ in division tests. | Walter Dörwald | 2003-08-05 | 1 | -1/+9 |
| | | | | (From SF patch #543867) | ||||
* | Removed deprecated functions | Raymond Hettinger | 2003-08-05 | 1 | -49/+2 |
| | |||||
* | Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3. | Martin v. Löwis | 2003-08-05 | 2 | -3/+19 |
| | |||||
* | Correct URL of normalization file. Fixes #781065. Will backport to 2.3. | Martin v. Löwis | 2003-08-05 | 1 | -2/+2 |
| | |||||
* | Make sure eol_convention is an ASCII string. Fixes #774680. | Martin v. Löwis | 2003-08-05 | 1 | -0/+3 |
| | | | | Will backport to 2.3. | ||||
* | Re-introduce caching of TimeRE and compiled regexes with added thread-safety. | Brett Cannon | 2003-08-05 | 2 | -335/+190 |
| | | | | | | | | | | | | Also remove now unnecessary property attributes for thread safety (no longer have lazy attributes) and code simplicity reasons. Timezone storage has been reworked to be simpler and more flexible. All values in LocaleTime instances are lower-cased. This is all done to simplify the module. The module now assumes nothing beyond the strptime function will be exposed for general use beyond providing functionality for strptime. | ||||
* | Touch-up to docstrings. | Brett Cannon | 2003-08-05 | 1 | -19/+20 |
| | |||||
* | protect against test problems with Jython | Skip Montanaro | 2003-08-03 | 1 | -6/+7 |
| | |||||
* | added test for bug 782369 | Skip Montanaro | 2003-08-03 | 1 | -0/+9 |
| | |||||
* | more extension marshal tests and conversion to unittest - was surprised to | Skip Montanaro | 2003-08-02 | 1 | -39/+183 |
| | | | | see how much of the file was not covered by the build process | ||||
* | As discussed on python-dev, changed builtin.zip() to handle zero arguments | Raymond Hettinger | 2003-08-02 | 2 | -2/+6 |
| | | | | by returning an empty list instead of raising a TypeError. | ||||
* | Added a banner to the shell startup message discussing possible | Kurt B. Kaiser | 2003-07-27 | 3 | -2/+26 |
| | | | | | | | | | warnings from personal firewall software. Added the same text to README.txt, updated NEWS.txt for release. M NEWS.txt M PyShell.py M README.txt | ||||
* | Update for release. | Kurt B. Kaiser | 2003-07-27 | 1 | -1/+1 |
| | |||||
* | Fixes bug of having default argument for TimeRE's __init__ that caused the | Brett Cannon | 2003-07-24 | 1 | -2/+5 |
| | | | | | LocaleTime instance to only be created once and thus not be recreated when the locale changed. | ||||
* | Remove caching of TimeRE (and thus LocaleTime) instance. Error was being | Brett Cannon | 2003-07-24 | 2 | -48/+23 |
| | | | | | | caught when executing test_strptime, test_logging, and test_time in that order when the testing of "%c" occured. Suspect the cache was not being recreated (the test passed when test_logging was forced to re-establish the locale). | ||||
* | 1. Python Bug 775541: Calltips error when docstring is None. Introduced | Kurt B. Kaiser | 2003-07-23 | 3 | -4/+12 |
| | | | | | | by patch 769142. Fixed by patch 776062. KBK will backport net result to IDLE release22-maint and IDLEfork. 2. Update NEWS.txt and idlever for release. | ||||
* | Restored commented-out line checked in by mistake. | Tim Peters | 2003-07-23 | 1 | -1/+1 |
| | |||||
* | locale-restoration code: Don't leave comparison to None implicit. For | Tim Peters | 2003-07-23 | 2 | -2/+2 |
| | | | | | all I know, the original locale may be '' (I don't think that's possible, but ...), and if so we would certainly want to restore it. | ||||
* | Fred wasn't kidding -- there really are docs for the locale module <wink>. | Tim Peters | 2003-07-23 | 1 | -11/+20 |
| | | | | | | | | | | | | | | Obtain the original locale in the documented way. This way actually works for me. Restore the original locale at the end, instead of forcing to "C". Move the locale fiddling into the test driver instead of doing it as a side effect of merely importing the module. I don't know why the test is mucking with locale (and also added a comment saying so), but it surely has no justification for doing that as an import side-effect. Now whenever the locale-changing code executes, the locale-restoring code will also get run. | ||||
* | Fix error in test of not comparing against 0 item of a list | Brett Cannon | 2003-07-22 | 1 | -1/+1 |
| | |||||
* | Patch #775784: YA Cygwin expected regression test skip patch | Jason Tishler | 2003-07-22 | 1 | -0/+1 |
| | | | | This patch just adds test_ioctl to the list of expected skips for Cygwin. | ||||
* | Change the zipimport implementation to accept files containing | Thomas Heller | 2003-07-22 | 1 | -1/+20 |
| | | | | | | | | | arbitrary bytes before the actual zip compatible archive. Zipfiles containing comments at the end of the file are still not supported. Add a testcase to test_zipimport, and update NEWS. This closes sf #775637 and sf #669036. | ||||
* | more generic reference to python interpreter | Skip Montanaro | 2003-07-22 | 1 | -1/+1 |
| | |||||
* | Windows fix: When PYTHONCASEOK is set, or for any other reason imports | Tim Peters | 2003-07-22 | 1 | -3/+9 |
| | | | | | | | | | | are satisfied in a case-insensitive manner, the attempt to import (the non-existent) fcntl gets satisfied by FCNTL.py instead, and the tempfile module defines a Unix-specific _set_cloexec() function in that case. As a result, temp files can't be created then (blows up with an AttributeError trying to reference fcntl.fcntl). This just popped up in the spambayes project, where there is no apparent workaround (which is why I'm pushing this in now). | ||||
* | readerThread(): Add max_retries to both DeadlockWrap() calls. This | Barry Warsaw | 2003-07-21 | 1 | -2/+2 |
| | | | | may cause some tests to fail but it prevents them from hanging. | ||||
* | Backport from r23c1-branch: | Jack Jansen | 2003-07-21 | 1 | -2/+2 |
| | | | | | Pimp crashed if you tried to install a non-installable package, in stead of printing a decent error message. Fixes #773450.. | ||||
* | test01_join(): Fix a test failure when run with "python -O". The | Barry Warsaw | 2003-07-21 | 1 | -1/+4 |
| | | | | setting of sCursor happened in an assert. | ||||
* | Repair operator error. | Jeremy Hylton | 2003-07-18 | 1 | -8/+3 |
| | |||||
* | SF patch 773476: NameError when there are no prefixes. | Jeremy Hylton | 2003-07-18 | 1 | -3/+9 |
| | |||||
* | up the b/w compatibility requirement to 2.2 | Just van Rossum | 2003-07-18 | 1 | -1/+1 |
| | |||||
* | Make sure mimetypes is reinitialized before running the tests. | Jeremy Hylton | 2003-07-18 | 1 | -0/+1 |
| | | | | | If some other test comes along and uses mimetypes, it will be initialized from the system files. | ||||
* | Restore the locale to "C" on exit. | Jeremy Hylton | 2003-07-18 | 1 | -2/+5 |
| | | | | | | If this doesn't happen, it leaves the locale in a state that can cause other tests to fail. For example, running test_strptime, test_logging, and test_time in that order. | ||||
* | Reflow long line. | Jeremy Hylton | 2003-07-17 | 1 | -2/+2 |
| |