Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix name error, found by pychecker. | Guido van Rossum | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | Tix update from Mike Clarkson (maintainer) | Neal Norwitz | 2002-12-30 | 1 | -11/+53 |
| | |||||
* | - added InterpolationSyntaxError to __all__ | Fred Drake | 2002-12-30 | 1 | -4/+25 |
| | | | | - added docstring to exceptions | ||||
* | Add missing InterpolationSyntaxError. | Neal Norwitz | 2002-12-30 | 1 | -0/+2 |
| | | | | XXX Not sure this is correct. | ||||
* | sys was already imported, remove second import | Neal Norwitz | 2002-12-30 | 1 | -2/+0 |
| | |||||
* | - prefer "import ... as" to "import / (assignments) / del" for most things | Fred Drake | 2002-12-30 | 1 | -18/+11 |
| | | | | | - when the thread module isn't available, subsequent attempts to import threading should not suceed | ||||
* | Updated the expected skips for MacOSX. | Jack Jansen | 2002-12-30 | 1 | -0/+3 |
| | |||||
* | Skip this test on MacOSX: the locale support is too minimal to make | Jack Jansen | 2002-12-30 | 1 | -1/+3 |
| | | | | it pass. | ||||
* | Use the dummy_thread module in Queue.py and tempfile.py. | Guido van Rossum | 2002-12-30 | 2 | -7/+7 |
| | | | | | tempfile.py already contained code to let it run without threads present; for Queue.py this is considered a useful feature too. | ||||
* | Brett Cannon's dummy_thread and dummy_threading modules (SF patch | Guido van Rossum | 2002-12-30 | 4 | -0/+416 |
| | | | | 622537), with some nitpicking editorial changes. | ||||
* | Fix SF #658820, regex fixes for _strptime (Brett Cannon) | Neal Norwitz | 2002-12-30 | 1 | -8/+9 |
| | | | | Disallow zero for days and months | ||||
* | These were somehow never added to CVS. | Jack Jansen | 2002-12-30 | 2 | -0/+360 |
| | |||||
* | PEP 302 + zipimport: | Just van Rossum | 2002-12-30 | 3 | -9/+388 |
| | | | | | | | | | | | | | - new import hooks in import.c, exposed in the sys module - new module called 'zipimport' - various changes to allow bootstrapping from zip files I hope I didn't break the Windows build (or anything else for that matter), but then again, it's been sitting on sf long enough... Regarding the latest discussions on python-dev: zipimport sets pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as /path/to/Archive.zip/subdir/ are supported again. | ||||
* | Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both | Jack Jansen | 2002-12-30 | 136 | -0/+32303 |
| | | | | | | | in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc). | ||||
* | Add __all__. (Brett Cannon.) | Guido van Rossum | 2002-12-30 | 1 | -0/+2 |
| | |||||
* | Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now at | Barry Warsaw | 2002-12-30 | 21 | -329/+597 |
| | | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25. | ||||
* | Add some missing tests. Should now test everything that pybsddb's | Barry Warsaw | 2002-12-30 | 1 | -24/+32 |
| | | | | test suite tests. | ||||
* | A step on the way to making tzinfo classes writable by mortals: get rid | Tim Peters | 2002-12-30 | 1 | -17/+38 |
| | | | | | | | of the timetz case. A tzinfo method will always see a datetimetz arg, or None, now. In the former case, it's still possible that it will get a datetimetz argument belonging to a different timezone. That will get fixed next. | ||||
* | Template for future tests. | Barry Warsaw | 2002-12-30 | 1 | -7/+4 |
| | |||||
* | Match new sequence behavior. User defined types now behave better as and | Neil Schemenauer | 2002-12-30 | 1 | -2/+2 |
| | | | | with sequences. | ||||
* | test_bad_8bit_header(): Tests for optional argument `errors'. See SF | Barry Warsaw | 2002-12-30 | 1 | -0/+11 |
| | | | | bug #648119. | ||||
* | Header.__init__(), .append(): Add an optional argument `errors' which | Barry Warsaw | 2002-12-30 | 1 | -6/+11 |
| | | | | | | is passed straight through to the unicode() and ustr.encode() calls. I think it's the best we can do to address the UnicodeErrors in badly encoded headers such as is described in SF bug #648119. | ||||
* | Actually, make this 2.5a1 since it will include API changes that may | Barry Warsaw | 2002-12-30 | 1 | -1/+1 |
| | | | | need more vetting, and it will be included in Python 2.3a1. | ||||
* | Bump to 2.5 | Barry Warsaw | 2002-12-30 | 1 | -1/+1 |
| | |||||
* | TestMIMEAudio.setUp(): Use the email package's copy of the audio test | Barry Warsaw | 2002-12-30 | 1 | -2/+7 |
| | | | | | | file, needed because some binary distros (read RPMs) don't include the test module in their standard Python package. This eliminates an external dependency and closes SF bug # 650441. | ||||
* | A copy of the audio test file from Lib/test, needed because some | Barry Warsaw | 2002-12-30 | 1 | -0/+0 |
| | | | | | | binary distros (read RPMs) don't include the test module in their standard Python package. This eliminates an external dependency and closes SF bug # 650441. | ||||
* | Added tests that conversion to our own timezone is always an identity, | Tim Peters | 2002-12-30 | 1 | -0/+13 |
| | | | | | and that conversion to "timezone" None is the same as stripping the tzinfo member. | ||||
* | parsedate_tz(): Fix SF bug #552345, optional FWS between the comma and | Barry Warsaw | 2002-12-30 | 1 | -1/+8 |
| | | | | the day in an RFC 2822 date. | ||||
* | test_parsedate_compact(): A test for optional FWS between the comma | Barry Warsaw | 2002-12-30 | 1 | -0/+5 |
| | | | | | and the day number in an RFC 2822 date specification. See bug #552345. | ||||
* | Beefed up the timezone conversion test by adding a phony UTC zone that's | Tim Peters | 2002-12-30 | 1 | -67/+81 |
| | | | | | west of the US zones getting converted, and also by using Eastern "as if" it were UTC (wrt Pacific), and vice versa. | ||||
* | A code cleansing pass | Barry Warsaw | 2002-12-30 | 1 | -55/+74 |
| | |||||
* | Port rfc822.py changes that didn't make it into this copy, | Barry Warsaw | 2002-12-30 | 1 | -21/+35 |
| | | | | | specifically that dots are allowed in obs-phrase. This fixes parsing of dots in realnames. | ||||
* | test_name_with_dots(): A new test to ensure that we're implementing | Barry Warsaw | 2002-12-30 | 1 | -0/+9 |
| | | | | RFC 2822's rules w.r.t. dots in the realname part of address fields. | ||||
* | String tests should test 8-bit strings :-) | Marc-André Lemburg | 2002-12-30 | 1 | -1/+1 |
| | |||||
* | Last checkin was missing the tuple comma. | Raymond Hettinger | 2002-12-30 | 1 | -1/+1 |
| | | | | The new "substr in str" feature masked the error. | ||||
* | Restore the test of the random module after including "Random" in the | Raymond Hettinger | 2002-12-30 | 1 | -1/+1 |
| | | | | | | | | ignore tuple. The line, "from _random import Random as CoreGenerator", fools the test code which expects CoreGenerator.__name__ to be "CoreGenerator" instead of "Random". | ||||
* | Temporarily comment out a test that crashes upon the introduction of | Raymond Hettinger | 2002-12-30 | 1 | -1/+1 |
| | | | | the _random subclass for Random. | ||||
* | This test depends on the exact ordering produced by the WichmannHill | Raymond Hettinger | 2002-12-30 | 1 | -3/+3 |
| | | | | | random number generator. Altered it a bit to use the old generator and restore the test. | ||||
* | A start at non-trivial (== DST-aware) tests of timezone conversion. | Tim Peters | 2002-12-29 | 1 | -0/+152 |
| | | | | | | | Guido has in mind an easier way for users to code this stuff, but the only tests we have now are for fixed-offset tzinfo classes, and this stuff is extremely delicate in the endcases (read the new test code for why: there are holes in time <wink>). | ||||
* | SF patch 658251: Install a C implementation of the Mersenne Twister as the | Raymond Hettinger | 2002-12-29 | 2 | -239/+379 |
| | | | | core generator for random.py. | ||||
* | Remove some old debugging print statements. | Kurt B. Kaiser | 2002-12-29 | 1 | -10/+0 |
| | |||||
* | M EditorWindow.py | Kurt B. Kaiser | 2002-12-29 | 2 | -16/+20 |
| | | | | | | | | | | | | | | | M PyShell.py 1. PyShell Rev 1.39, EditorWindow Rev 1.37 fix was not handling a multiline prompt. 2. The same fix introduced a bug where hitting <enter> at a previous prompt-only line would copy the prompt to the iomark. 3. Move the setting of sys.ps1 earlier, into PyShell.main(), to allow this code to work before a shell is started up. 4. If cursor is on the input line in the prompt, and you hit <enter>, process the line instead of complaining. 5. If line has no stdin range (this includes the last line before shell restart) strip any prompt before recalling. | ||||
* | Patch for bug #659709: bogus computation of float length | Marc-André Lemburg | 2002-12-29 | 2 | -0/+51 |
| | | | | | Python 2.2.x backport candidate. (This bug has been around since Python 1.6.) | ||||
* | Incorporate Skip's suggestion to use SciPy's validation test near | Raymond Hettinger | 2002-12-29 | 1 | -0/+28 |
| | | | | | | equality. Note, there is another flavor that compares to a given number of significant digits rather than decimal places. If there is a demand, that could be added at a later date. | ||||
* | Bug #599248: strip directories when building Python. Out-of-tree builds ↵ | Andrew M. Kuchling | 2002-12-29 | 1 | -2/+5 |
| | | | | should work again. | ||||
* | Suppress unsafe *Cookie class warnings | Andrew M. Kuchling | 2002-12-29 | 1 | -0/+5 |
| | |||||
* | Patch #655760: add warnings when the unsafe *Cookie classes are instantiated | Andrew M. Kuchling | 2002-12-29 | 1 | -1/+11 |
| | |||||
* | Gracefully delay runtime error up to 1s. Add .willdispatch(). | Martin v. Löwis | 2002-12-28 | 1 | -0/+1 |
| | |||||
* | Make comparison and subtraction of aware objects ignore tzinfo if the | Tim Peters | 2002-12-27 | 1 | -8/+86 |
| | | | | | | operands have identical tzinfo members (meaning object identity -- "is"). I misunderstood the intent here, reading wrong conclusion into conflicting clues. | ||||
* | Add XXX about Winsock error values | Guido van Rossum | 2002-12-26 | 1 | -0/+1 |
| |