summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PEP 302 + zipimport:Just van Rossum2002-12-3013-35/+1887
| | | | | | | | | | | | | - 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 bothJack Jansen2002-12-30136-0/+207
| | | | | | | 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 Rossum2002-12-301-0/+2
|
* Bite the bullet on all the indirect timetz and datetimetz tzinfo methods:Tim Peters2002-12-301-14/+20
| | | | | | make the callers figure out the right tzinfo arguments to pass, instead of making the callees guess. The code is uglier this way, but it's less brittle (when the callee guesses, the caller can get surprised).
* We're using strictly American spellings, so there's no diaresis overFred Drake2002-12-301-53/+56
| | | | | | the i in naive. More markup fixups.
* SF patch 659809, by Daniel Brotsky: fix Makefile.pre to use configGuido van Rossum2002-12-302-3/+6
| | | | | | | | env. This adds @CFLAGS@ and @CPPFLAGS@ to the end of the respective variable definitions. It also adds $(LDFLAGS) to the $(CC) invocation to build $(PGEN).
* A short note about the versions of BerkeleyDB we now supportBarry Warsaw2002-12-301-4/+5
|
* Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now atBarry Warsaw2002-12-3022-403/+930
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* Add some missing tests. Should now test everything that pybsddb'sBarry Warsaw2002-12-301-24/+32
| | | | test suite tests.
* A step on the way to making tzinfo classes writable by mortals: get ridTim Peters2002-12-303-66/+117
| | | | | | | 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.
* Start something that might make table notes easier to deal with,Fred Drake2002-12-301-0/+21
| | | | eventually.
* Search for and use BerkeleyDB 4.1 if it's available. Python'sBarry Warsaw2002-12-301-10/+9
| | | | extension module now supports it.
* Template for future tests.Barry Warsaw2002-12-301-7/+4
|
* Clean up a table so it passes formatting.Fred Drake2002-12-301-12/+19
|
* Add news about fix for bug #624807.Neil Schemenauer2002-12-301-0/+4
|
* Added the \var{} markup so the tables will look good.Raymond Hettinger2002-12-301-8/+9
|
* Match new sequence behavior. User defined types now behave better as andNeil Schemenauer2002-12-301-2/+2
| | | | with sequences.
* This file hasn't been committed for a long time, because it erronuously endedJack Jansen2002-12-301-41/+153
| | | | up in the Carbon package.
* Consolidate the int and long sequence repeat code. Before the change,Neil Schemenauer2002-12-302-65/+0
| | | | integers checked for integer overflow but longs did not.
* Long-obsolete, replaced by Carbon.Sound.Jack Jansen2002-12-301-64/+0
|
* Always try nb_* slots before trying sq_concat, sq_inplace_concat, sq_repeat,Neil Schemenauer2002-12-301-50/+128
| | | | | | | andsq_inplace_repeat. This fixes a number of corner case bugs (see #624807). Consolidate the int and long sequence repeat code. Before the change, integers checked for integer overflow but longs did not.
* Added markup upto line 233.Raymond Hettinger2002-12-301-58/+57
|
* Update the email package news.Barry Warsaw2002-12-301-1/+1
|
* Describe the new `errors' argument to Header.__init__() andBarry Warsaw2002-12-301-2/+9
| | | | Header.append()
* test_bad_8bit_header(): Tests for optional argument `errors'. See SFBarry Warsaw2002-12-301-0/+11
| | | | bug #648119.
* Header.__init__(), .append(): Add an optional argument `errors' whichBarry Warsaw2002-12-301-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 mayBarry Warsaw2002-12-301-1/+1
| | | | need more vetting, and it will be included in Python 2.3a1.
* Silence cast warnings for Tcl 8.3.Martin v. Löwis2002-12-301-6/+12
|
* Bump to 2.5Barry Warsaw2002-12-301-1/+1
|
* TestMIMEAudio.setUp(): Use the email package's copy of the audio testBarry Warsaw2002-12-301-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 someBarry Warsaw2002-12-301-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 Peters2002-12-301-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 andBarry Warsaw2002-12-301-1/+8
| | | | the day in an RFC 2822 date.
* test_parsedate_compact(): A test for optional FWS between the commaBarry Warsaw2002-12-301-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'sTim Peters2002-12-301-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 passBarry Warsaw2002-12-301-55/+74
|
* Patch 659834 by Magnus Lie Hetland:Guido van Rossum2002-12-304-3/+71
| | | | | | | | | Check for readline 2.2 features. This should make it possible to compile readline.c again with GNU readline versions 2.0 or 2.1; this ability was removed in readline.c rev. 2.49. Apparently the older versions are still in widespread deployment on older Solaris installations. With an older readline, completion behavior is subtly different (a space is always added).
* Port rfc822.py changes that didn't make it into this copy,Barry Warsaw2002-12-301-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 implementingBarry Warsaw2002-12-301-0/+9
| | | | RFC 2822's rules w.r.t. dots in the realname part of address fields.
* More markup additionsAndrew M. Kuchling2002-12-301-156/+264
|
* String tests should test 8-bit strings :-)Marc-André Lemburg2002-12-301-1/+1
|
* Last checkin was missing the tuple comma.Raymond Hettinger2002-12-301-1/+1
| | | | The new "substr in str" feature masked the error.
* Restore the test of the random module after including "Random" in theRaymond Hettinger2002-12-301-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".
* Minor grammar fix, and clarificationAndrew M. Kuchling2002-12-301-2/+2
|
* Mark up more textAndrew M. Kuchling2002-12-301-117/+148
|
* Untabify.Greg Ward2002-12-301-106/+106
|
* Whitespace fixes to conform to coding standards.Greg Ward2002-12-301-18/+18
|
* Temporarily comment out a test that crashes upon the introduction ofRaymond Hettinger2002-12-301-1/+1
| | | | the _random subclass for Random.
* Comment fix.Greg Ward2002-12-301-9/+2
|
* Rename some mixer methods:Greg Ward2002-12-301-16/+16
| | | | | | | | | | | | | * channels() -> devices() * stereochannels() -> stereodevices() * recchannels() -> recdevices() * getvol() -> get() * setvol() -> set() This is for (slightly) more consistency with the OSS ioctl names (READ_DEVMASK, READ_RECMASK, READ_STEREODEVS). Also make sure the C function names correspond more closely to the Python method names for mixer methods.