summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* typed_subpart_iterator(): Fix these to use non-deprecated APIs,Barry Warsaw2003-03-261-2/+2
| | | | i.e. get_content_maintype() and get_content_subtype().
* Add two tests for simple error cases.Walter Dörwald2003-03-261-0/+4
|
* CommandTests.testgetoutput():Thomas Wouters2003-03-251-1/+3
| | | | | Make sure we aren't masking any errors raised in tempfile.mkdtemp() by referencing the (then) unbound local 'dir'.
* Allow floating point values in ProgressBar.Jack Jansen2003-03-241-0/+2
|
* Regenerated with Donovan Prestons patch #702620.Jack Jansen2003-03-2345-117/+331
|
* Correct error in last checkin noticed by Neal Norwitz. And some more.Kurt B. Kaiser2003-03-221-4/+4
|
* M PyShell.pyKurt B. Kaiser2003-03-222-19/+95
| | | | | | | | | | | | | | | | M run.py 1. Move subprocess socket handling to a subthread - "SockThread". 2. In the subprocess, implement a queue and global completion and exit flags. Execute code after it is passed through the queue. (Currently, user code is executed in SockThread. The next phase of development will move the tail of the queue to MainThread.) 3. Implement an RPC message used to shut down the execution server. 4. Improve normal and exception subprocess exits. (At this checkin a "pass loop" interrupt doesn't work on any platform. It will be restored for all platforms once user code execution is moved to MainThread.)
* Improve error message handling.Kurt B. Kaiser2003-03-221-3/+21
|
* use os.path.realpath() instead of os.readlink()Just van Rossum2003-03-211-3/+1
|
* Email version 2.5 -- I will now backport this to Python 2.2.3.Barry Warsaw2003-03-211-1/+1
|
* Rename variables _seq to _it and seq to it, to emphasize that this isGuido van Rossum2003-03-211-5/+5
| | | | an iterator (which can only be used once!).
* Getting rid of macfs.Jack Jansen2003-03-211-6/+6
|
* Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by ↵Jack Jansen2003-03-211-3/+5
| | | | disabling unicode filenames on OS9.
* Patch 702620 by Donovan Preston: Fix AE inheritance.Jack Jansen2003-03-211-3/+3
|
* only set $PYTHONHOME when building a standalone app.Just van Rossum2003-03-211-1/+3
|
* Patch #681927 from Robin Dunn: add option to add shared libraries orJust van Rossum2003-03-211-1/+15
| | | | frameworks to the bundle.
* Prevent the pty test from hanging by setting an alarm.Neal Norwitz2003-03-211-30/+46
| | | | Currently, test_pty hangs on AIX & HPUX if run after test_openpty.
* The message "*** skipping leakage tests ***" was causing the test toGuido van Rossum2003-03-211-1/+2
| | | | fail in a non-debug build. Only print this in verbose test mode.
* forgot Cliff's snifferSkip Montanaro2003-03-201-0/+289
|
* new CSV file processing module - see PEP 305Skip Montanaro2003-03-203-0/+758
|
* set $PYTHONHOME in the bootstrap script, for no good reason really,Just van Rossum2003-03-201-0/+1
| | | | except to avoid getpath.c giving unsollicited advice on stderr.
* SF bug 705836: struct.pack of floats in non-native endian orderTim Peters2003-03-201-0/+46
| | | | | | | | | | | | | | pack_float, pack_double, save_float: All the routines for creating IEEE-format packed representations of floats and doubles simply ignored that rounding can (in rare cases) propagate out of a long string of 1 bits. At worst, the end-off carry can (by mistake) interfere with the exponent value, and then unpacking yields a result wrong by a factor of 2. In less severe cases, it can end up losing more low-order bits than intended, or fail to catch overflow *caused* by rounding. Bugfix candidate, but I already backported this to 2.2. In 2.3, this code remains in severe need of refactoring.
* Skip the ioctl test if we can't open /dev/tty. This happens onNeal Norwitz2003-03-201-0/+6
| | | | | Solaris (and probably other Unixes) when run without a terminal (eg, from cron or at).
* Fix SF bug #697556, test_posix fails: getloginNeal Norwitz2003-03-181-6/+0
| | | | getlogin() can fail for too many reasons, so remove the test
* _encode_chunks(): Throw out empty chunks.Barry Warsaw2003-03-171-0/+2
|
* test_long_lines_with_different_header(): Another test from Jason.Barry Warsaw2003-03-171-0/+16
|
* test_getaddresses_nasty(): A test for mimelib SF bug # 697641.Barry Warsaw2003-03-171-0/+10
|
* getaddrlist(): Make sure this consumes all the data, and if there isBarry Warsaw2003-03-171-2/+2
| | | | | | | no address there (perhaps because of invalid characters, it appends ('', '') to the result set. Closes mimelib SF bug # 697641.
* Test for UnicodeError instead of ImportError to determine whetherMartin v. Löwis2003-03-171-1/+1
| | | | the test file name can be encoded.
* binascii_a2b_base64: Properly return an empty string if the input was allThomas Wouters2003-03-171-0/+4
| | | | | | | invalid, rather than returning a string of random garbage of the estimated result length. Closes SF patch #703471 by Hye-Shik Chang. Will backport to 2.2-maint (consider it done.)
* Capturing the exit status for the build process didn't work. UsingJack Jansen2003-03-171-6/+7
| | | | popen2.Popen4() makes it work. Fixes #702180.
* Change the default number of repetitions to 3, both in the Timer classGuido van Rossum2003-03-151-12/+21
| | | | | | | | | (from 10) and in main() (from 1). Add a -v option that shows the raw times. Repeating it cranks up the display precision. Always use the "best of N" form of output.
* If time.tzset doesn't exist, don't test it.Guido van Rossum2003-03-151-0/+3
|
* - New function time.tzset() provides access to the C library tzet()Guido van Rossum2003-03-141-1/+82
| | | | function, if supported. (SF patch #675422, by Stuart Bishop.)
* Implement some recommendations from Raymond H:Guido van Rossum2003-03-141-10/+48
| | | | | | | | | | - Make all local variables in the template start with an underscore, to prevent name conflicts with the timed code. - Added a method to print a traceback that shows source lines from the expanded template. - Use that method in main().
* Accept commas in unquoted attribute values.Fred Drake2003-03-144-2/+10
| | | | This closes SF patch #669683.
* Take out my (long since disabled) POSIX signal mask handling code.Michael W. Hudson2003-03-131-61/+0
| | | | | I'm not going to have the time or energy to get this working x-platform -- anyone who does is welcome to the code!
* Move setting of ioready 'wait' earlier in call chain, toKurt B. Kaiser2003-03-122-8/+24
| | | | rpc.SocketIO.main() and asyncreturn(). Improve comment.
* Filter out the depracation warning for macfs.Jack Jansen2003-03-121-0/+2
|
* SF bug #699934: Obscure error messageRaymond Hettinger2003-03-121-3/+7
| | | | Clarify error message for mro conflicts.
* test_whitespace_eater_unicode(): Make this test Python 2.1 compatible.Barry Warsaw2003-03-121-1/+4
|
* Python 2.1 doesn't have True and FalseBarry Warsaw2003-03-121-0/+3
|
* M rpc.pyKurt B. Kaiser2003-03-112-4/+4
| | | | | | M run.py 1. Clarify that rpc.SocketIO._getresponse() currently blocks on socket. 2. Improve exception handling in subprocess when GUI terminates abruptly.
* Allow unicode pathnames where FSRefs are expected. Fixes 696253.Jack Jansen2003-03-111-0/+5
|
* Add 'audio' resource.Guido van Rossum2003-03-111-1/+5
| | | | | | | ALERT! A month ago or so I made test_ossaudiodev.py require the 'audio' resource, but I didn't make the necessary changes to regrtest.py. This means that *nobody* has been testing the oss module all that time!
* Patch by Andrew Straw: use urllib2 so proxie access works.Jack Jansen2003-03-111-7/+3
|
* Adjust tests for no newline appending to MIMEText.__init__()'s _textBarry Warsaw2003-03-111-2/+0
| | | | argument.
* beta 1Barry Warsaw2003-03-111-1/+1
|
* Adjust tests for no newline appending to MIMEText.__init__()'s _textBarry Warsaw2003-03-111-11/+7
| | | | argument.
* __init__(): Don't add a newline to _text if it doesn't already end inBarry Warsaw2003-03-111-4/+1
| | | | one. Possibly controversial.