summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove 'x_' prefix from oss_t and oss_mixer_t struct members.Greg Ward2002-12-301-57/+58
| | | | | | (It added nothing, and served no obvious purpose.) Export SOUND_MIXER_NRDEVICES constant.
* This test depends on the exact ordering produced by the WichmannHillRaymond Hettinger2002-12-301-3/+3
| | | | | random number generator. Altered it a bit to use the old generator and restore the test.
* Revert the last change. Tim was faster and chose a different route.Raymond Hettinger2002-12-301-2/+0
|
* Document the _randommodule project for the Windows build.Raymond Hettinger2002-12-301-0/+2
|
* Taught the Windows build about _randommodule.c. This is compiledTim Peters2002-12-292-0/+6
| | | | | into the core DLL, since it's not much code and lots of stuff uses it (e.g., try getting a tempfile name without it).
* A start at non-trivial (== DST-aware) tests of timezone conversion.Tim Peters2002-12-291-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 theRaymond Hettinger2002-12-296-322/+983
| | | | core generator for random.py.
* Remove some old debugging print statements.Kurt B. Kaiser2002-12-291-10/+0
|
* M EditorWindow.pyKurt B. Kaiser2002-12-292-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.