Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | typed_subpart_iterator(): Fix these to use non-deprecated APIs, | Barry Warsaw | 2003-03-26 | 1 | -2/+2 |
| | | | | i.e. get_content_maintype() and get_content_subtype(). | ||||
* | Add two tests for simple error cases. | Walter Dörwald | 2003-03-26 | 1 | -0/+4 |
| | |||||
* | CommandTests.testgetoutput(): | Thomas Wouters | 2003-03-25 | 1 | -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 Jansen | 2003-03-24 | 1 | -0/+2 |
| | |||||
* | Regenerated with Donovan Prestons patch #702620. | Jack Jansen | 2003-03-23 | 45 | -117/+331 |
| | |||||
* | Correct error in last checkin noticed by Neal Norwitz. And some more. | Kurt B. Kaiser | 2003-03-22 | 1 | -4/+4 |
| | |||||
* | M PyShell.py | Kurt B. Kaiser | 2003-03-22 | 2 | -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. Kaiser | 2003-03-22 | 1 | -3/+21 |
| | |||||
* | use os.path.realpath() instead of os.readlink() | Just van Rossum | 2003-03-21 | 1 | -3/+1 |
| | |||||
* | Email version 2.5 -- I will now backport this to Python 2.2.3. | Barry Warsaw | 2003-03-21 | 1 | -1/+1 |
| | |||||
* | Rename variables _seq to _it and seq to it, to emphasize that this is | Guido van Rossum | 2003-03-21 | 1 | -5/+5 |
| | | | | an iterator (which can only be used once!). | ||||
* | Getting rid of macfs. | Jack Jansen | 2003-03-21 | 1 | -6/+6 |
| | |||||
* | Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by ↵ | Jack Jansen | 2003-03-21 | 1 | -3/+5 |
| | | | | disabling unicode filenames on OS9. | ||||
* | Patch 702620 by Donovan Preston: Fix AE inheritance. | Jack Jansen | 2003-03-21 | 1 | -3/+3 |
| | |||||
* | only set $PYTHONHOME when building a standalone app. | Just van Rossum | 2003-03-21 | 1 | -1/+3 |
| | |||||
* | Patch #681927 from Robin Dunn: add option to add shared libraries or | Just van Rossum | 2003-03-21 | 1 | -1/+15 |
| | | | | frameworks to the bundle. | ||||
* | Prevent the pty test from hanging by setting an alarm. | Neal Norwitz | 2003-03-21 | 1 | -30/+46 |
| | | | | Currently, test_pty hangs on AIX & HPUX if run after test_openpty. | ||||
* | The message "*** skipping leakage tests ***" was causing the test to | Guido van Rossum | 2003-03-21 | 1 | -1/+2 |
| | | | | fail in a non-debug build. Only print this in verbose test mode. | ||||
* | forgot Cliff's sniffer | Skip Montanaro | 2003-03-20 | 1 | -0/+289 |
| | |||||
* | new CSV file processing module - see PEP 305 | Skip Montanaro | 2003-03-20 | 3 | -0/+758 |
| | |||||
* | set $PYTHONHOME in the bootstrap script, for no good reason really, | Just van Rossum | 2003-03-20 | 1 | -0/+1 |
| | | | | except to avoid getpath.c giving unsollicited advice on stderr. | ||||
* | SF bug 705836: struct.pack of floats in non-native endian order | Tim Peters | 2003-03-20 | 1 | -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 on | Neal Norwitz | 2003-03-20 | 1 | -0/+6 |
| | | | | | Solaris (and probably other Unixes) when run without a terminal (eg, from cron or at). | ||||
* | Fix SF bug #697556, test_posix fails: getlogin | Neal Norwitz | 2003-03-18 | 1 | -6/+0 |
| | | | | getlogin() can fail for too many reasons, so remove the test | ||||
* | _encode_chunks(): Throw out empty chunks. | Barry Warsaw | 2003-03-17 | 1 | -0/+2 |
| | |||||
* | test_long_lines_with_different_header(): Another test from Jason. | Barry Warsaw | 2003-03-17 | 1 | -0/+16 |
| | |||||
* | test_getaddresses_nasty(): A test for mimelib SF bug # 697641. | Barry Warsaw | 2003-03-17 | 1 | -0/+10 |
| | |||||
* | getaddrlist(): Make sure this consumes all the data, and if there is | Barry Warsaw | 2003-03-17 | 1 | -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 whether | Martin v. Löwis | 2003-03-17 | 1 | -1/+1 |
| | | | | the test file name can be encoded. | ||||
* | binascii_a2b_base64: Properly return an empty string if the input was all | Thomas Wouters | 2003-03-17 | 1 | -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. Using | Jack Jansen | 2003-03-17 | 1 | -6/+7 |
| | | | | popen2.Popen4() makes it work. Fixes #702180. | ||||
* | Change the default number of repetitions to 3, both in the Timer class | Guido van Rossum | 2003-03-15 | 1 | -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 Rossum | 2003-03-15 | 1 | -0/+3 |
| | |||||
* | - New function time.tzset() provides access to the C library tzet() | Guido van Rossum | 2003-03-14 | 1 | -1/+82 |
| | | | | function, if supported. (SF patch #675422, by Stuart Bishop.) | ||||
* | Implement some recommendations from Raymond H: | Guido van Rossum | 2003-03-14 | 1 | -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 Drake | 2003-03-14 | 4 | -2/+10 |
| | | | | This closes SF patch #669683. | ||||
* | Take out my (long since disabled) POSIX signal mask handling code. | Michael W. Hudson | 2003-03-13 | 1 | -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, to | Kurt B. Kaiser | 2003-03-12 | 2 | -8/+24 |
| | | | | rpc.SocketIO.main() and asyncreturn(). Improve comment. | ||||
* | Filter out the depracation warning for macfs. | Jack Jansen | 2003-03-12 | 1 | -0/+2 |
| | |||||
* | SF bug #699934: Obscure error message | Raymond Hettinger | 2003-03-12 | 1 | -3/+7 |
| | | | | Clarify error message for mro conflicts. | ||||
* | test_whitespace_eater_unicode(): Make this test Python 2.1 compatible. | Barry Warsaw | 2003-03-12 | 1 | -1/+4 |
| | |||||
* | Python 2.1 doesn't have True and False | Barry Warsaw | 2003-03-12 | 1 | -0/+3 |
| | |||||
* | M rpc.py | Kurt B. Kaiser | 2003-03-11 | 2 | -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 Jansen | 2003-03-11 | 1 | -0/+5 |
| | |||||
* | Add 'audio' resource. | Guido van Rossum | 2003-03-11 | 1 | -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 Jansen | 2003-03-11 | 1 | -7/+3 |
| | |||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -2/+0 |
| | | | | argument. | ||||
* | beta 1 | Barry Warsaw | 2003-03-11 | 1 | -1/+1 |
| | |||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -11/+7 |
| | | | | argument. | ||||
* | __init__(): Don't add a newline to _text if it doesn't already end in | Barry Warsaw | 2003-03-11 | 1 | -4/+1 |
| | | | | one. Possibly controversial. |