summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Use an event variable to wait for the server to be ready, not time.sleep().Guido van Rossum2007-09-061-3/+5
|
* Fix doctest failure introduced by r57949.Guido van Rossum2007-09-051-1/+1
| | | | | | | The formatting of errors from pdb's own print command is different from the formatting of errors when pdb exec's an arbitrary command; the introduction of print as a pdb command caused this test to use the former instead of the latter, causing the test to fail.
* Changed some ValueError's to KeyError and IndexError.Eric Smith2007-09-042-18/+29
| | | | | | | | | Corrected code for invalid conversion specifier. Added tests to verify. Modified string.Formatter to correctly expand format_spec's, and added a limit to recursion depth. Added _vformat() method to support both of these.
* Make the _wrap_close type (which is returned by os.popen) iterable.Thomas Heller2007-09-041-0/+2
| | | | This should fix the Lib\test\test_uuid.py test on Windows.
* Add "print" command to pdb, "print s" previously invoked the print statement.Georg Brandl2007-09-041-1/+3
|
* fix test, use bytes not unicode and let the test raise its internal exceptionGregory P. Smith2007-09-031-5/+5
| | | | | rather than just complaining about stderr not being what we expected masking the true problem.
* Fix segfault discovered by Ron Adam. Not checking for terminating right ↵Eric Smith2007-09-031-0/+2
| | | | bracket in "'{0[}'.format(())". Fixed, and tests added.
* Patch #1076: Use wide API for registry functions.Martin v. Löwis2007-09-031-13/+17
|
* Fix Mac build, patch #1091 by Humberto Diogenes.Georg Brandl2007-09-034-11/+12
|
* Removed used_args param from string.Formatter.get_field. It was left in by ↵Eric Smith2007-09-021-4/+2
| | | | mistake from an earlier edit.
* Run 2to3's fix_has_key over distutils.Collin Winter2007-09-013-4/+4
|
* Run 2to3's fix_has_key over Lib/plat-os2emx/.Collin Winter2007-09-012-11/+11
|
* Fix refleaks in test_with caused by reusing the same exception instance over ↵Collin Winter2007-09-011-2/+4
| | | | and over.
* Fix a poorly-translated raise statement in contextlib.Collin Winter2007-09-011-1/+2
|
* Fix refleaks exposed by test_raise.Collin Winter2007-09-011-0/+24
|
* Saving a file containing unicode failed.Kurt B. Kaiser2007-09-011-14/+11
|
* Changed to use 'U' argument to PyArg_ParseTuple, instead of manually ↵Eric Smith2007-09-012-5/+10
| | | | checking for unicode objects.
* Eliminate latin-1 encodingKurt B. Kaiser2007-08-311-1/+1
|
* Point IDLE menu Help / Python Docs at Python 3000 versionKurt B. Kaiser2007-08-311-1/+1
|
* Convert IDLE's CREDITS file to unicode.Kurt B. Kaiser2007-08-311-1/+1
|
* Updated tracker link.Guido van Rossum2007-08-311-6/+3
|
* Got test_plistlib working. Don't ask how.Guido van Rossum2007-08-311-4/+4
|
* Fix fall-out of str.decode removal.Guido van Rossum2007-08-311-1/+1
|
* Add a workaround for a strange bug on win64, when _ctypes is compiledThomas Heller2007-08-311-0/+6
| | | | | with the SDK compiler. This should fix the failing Lib\ctypes\test\test_as_parameter.py test.
* Restore test_email for a1. It passes completely.Barry Warsaw2007-08-312-2/+15
|
* Make test_email.py completely pass. This is cheating though because the twoBarry Warsaw2007-08-312-25/+29
| | | | | | | | | line splitting examples don't split things the way they used to -- or should. In these cases, change the test case and add an XXX. The final failure was in Charset.body_encode() with euc-jp charset. These return the original string unencoded, which isn't right. XXX and comment this out for now; we'll fix it after a1.
* string.maketrans() now produces translation tables for bytes.translate() -- ↵Georg Brandl2007-08-317-43/+27
| | | | | | wrong module? Fix all remaining instances that did bad things with the new str.translate().
* Fix a buggy test. str8 objects contained NUL-terminated strings,Thomas Heller2007-08-311-1/+1
| | | | bytes objects don't.
* Revert 57722. Move error dialog APIs to msvcrt instead,Martin v. Löwis2007-08-311-2/+18
| | | | add -n option to regrtest, and use it on the buildbot.
* Regenerate Lib/symbol.py.Georg Brandl2007-08-311-81/+73
|
* Fix test_startfile and remove duplicated test.Thomas Heller2007-08-311-8/+0
|
* Force test_mailbox and test_old_mailbox into submission.Guido van Rossum2007-08-313-9/+12
| | | | | | | | | (a) Several tests in test_mailbox were failing because we were writing text to a file opened in binary mode. Switching to text fixed these. (b) test_unix_mbox() in each test does a wacko comparison which apparently no longer works due to a different way the message gets parsed. I disabled this, I don't think the test was testing what it thought it was testing.
* 1. Don't encode input strings to bytes.Kurt B. Kaiser2007-08-311-7/+1
| | | | 2. Re-enable stderr redirection.
* More email package fixes.Barry Warsaw2007-08-312-10/+9
| | | | | | | | | Fix a couple of tests since .body_encode()'s arguments have changed. Also, I think body_encode() should take a string not a byte array for consistency with the rest of the api (but I'm not positive about this). In quoprimime.body_encode(), body_check() must be passed an int. Current status: 7F (no errors!)
* More email package fixes.Barry Warsaw2007-08-314-34/+10
| | | | | | | | | | MIMEApplication() requires a bytes object for its _data, so fix the tests. We no longer need utils._identity() or utils._bdecode(). The former isn't used anywhere AFAICT (where's "make test's" lint? <wink>) and the latter is a kludge that is eliminated by base64.b64encode(). Current status: 5F/5E
* More email package fixes.Barry Warsaw2007-08-312-14/+16
| | | | | | | | This repairs the linear whitespace insertion between RFC 2047 encoded words without leaving bogus trailing spaces at the end lines that end in encoded words. Current status: 7F/9E
* Changed signature of string.Formatter.get_field, per suggestion byEric Smith2007-08-312-7/+27
| | | | | | Ron Adam. Added test case for using all parameters in string.Formatter.
* Fixed test name.Eric Smith2007-08-311-1/+1
|
* Added test cases for string.Formatter subclassing.Eric Smith2007-08-312-8/+53
| | | | | Made format_spec parameter to builtin format optional, defaults to empty string. Added test cases.
* Cut test_raise down to size.Collin Winter2007-08-311-278/+0
|
* Fix test_smtplib by munging asynchat some more.Thomas Wouters2007-08-312-3/+12
|
* Issue #1066: implement PEP 3109, 2/3 of PEP 3134.Collin Winter2007-08-3115-33/+507
|
* Remove the simple slicing API. All slicing is now done with slice objects.Thomas Wouters2007-08-3015-159/+42
|
* Merged revisions 57772-57777 via svnmerge fromThomas Wouters2007-08-301-2/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57776 | thomas.wouters | 2007-08-31 00:35:31 +0200 (Fri, 31 Aug 2007) | 4 lines One more fix to consider missing SSL support. ........
* Added format tests.Eric Smith2007-08-303-10/+22
| | | | | Fixed bug in alignment of negative numbers. Whitespace normalization.
* IDLE's py3k NEWSKurt B. Kaiser2007-08-301-1/+19
|
* Merged revisions 57620-57771 via svnmerge fromThomas Wouters2007-08-3028-581/+761
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57771 | thomas.wouters | 2007-08-30 23:54:39 +0200 (Thu, 30 Aug 2007) | 5 lines Don't lie in __all__ attributes when SSL is not available: only add the SSL classes when they are actually created. ........ r57620 | walter.doerwald | 2007-08-28 18:38:26 +0200 (Tue, 28 Aug 2007) | 5 lines Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation for HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046. ........ r57622 | georg.brandl | 2007-08-28 20:54:44 +0200 (Tue, 28 Aug 2007) | 2 lines Add a crasher for the thread-unsafety of file objects. ........ r57626 | skip.montanaro | 2007-08-29 01:22:52 +0200 (Wed, 29 Aug 2007) | 1 line fixes 813986 ........ r57628 | walter.doerwald | 2007-08-29 01:35:33 +0200 (Wed, 29 Aug 2007) | 2 lines Fix test output. ........ r57631 | skip.montanaro | 2007-08-29 03:24:11 +0200 (Wed, 29 Aug 2007) | 2 lines Install pygettext (once the scriptsinstall target is working again). ........ r57633 | skip.montanaro | 2007-08-29 03:33:45 +0200 (Wed, 29 Aug 2007) | 2 lines Recent items. ........ r57650 | neal.norwitz | 2007-08-29 08:15:33 +0200 (Wed, 29 Aug 2007) | 1 line Add Bill as a developer ........ r57651 | facundo.batista | 2007-08-29 12:28:28 +0200 (Wed, 29 Aug 2007) | 5 lines Ignore test failures caused by 'resource temporarily unavailable' exceptions raised during FailingServerTestCase tests. [GSoC - Alan McIntyre] ........ r57680 | bill.janssen | 2007-08-30 00:35:05 +0200 (Thu, 30 Aug 2007) | 17 lines This contains a number of things: 1) Improve the documentation of the SSL module, with a fuller explanation of certificate usage, another reference, proper formatting of this and that. 2) Fix Windows bug in ssl.py, and general bug in sslsocket.close(). Remove some unused code from ssl.py. Allow accept() to be called on sslsocket sockets. 3) Use try-except-else in import of ssl in socket.py. Deprecate use of socket.ssl(). 4) Remove use of socket.ssl() in every library module, except for test_socket_ssl.py and test_ssl.py. ........ r57714 | georg.brandl | 2007-08-30 12:09:42 +0200 (Thu, 30 Aug 2007) | 2 lines Stronger urge to convert filenames to str before using them as argument to ZipFile.write(). ........ r57716 | georg.brandl | 2007-08-30 12:38:56 +0200 (Thu, 30 Aug 2007) | 2 lines Patch #1680959: add test suite for pipes module. ........ r57717 | georg.brandl | 2007-08-30 14:32:23 +0200 (Thu, 30 Aug 2007) | 3 lines * Skip test_pipes on non-POSIX. * Don't raise TestSkipped within a test function. ........ r57723 | mark.summerfield | 2007-08-30 17:03:03 +0200 (Thu, 30 Aug 2007) | 3 lines Added more cross-references. ........ r57726 | walter.doerwald | 2007-08-30 17:30:09 +0200 (Thu, 30 Aug 2007) | 2 lines Rewrap line. ........ r57727 | walter.doerwald | 2007-08-30 17:34:55 +0200 (Thu, 30 Aug 2007) | 2 lines Set startinpos before calling the error handler. ........ r57730 | bill.janssen | 2007-08-30 19:07:28 +0200 (Thu, 30 Aug 2007) | 3 lines Added docstrings to methods and functions. ........ r57743 | bill.janssen | 2007-08-30 20:08:06 +0200 (Thu, 30 Aug 2007) | 1 line added note on new ssl module and deprecation of socket.ssl ........ r57747 | martin.v.loewis | 2007-08-30 20:14:01 +0200 (Thu, 30 Aug 2007) | 1 line Fix popen usage. ........ r57748 | martin.v.loewis | 2007-08-30 20:15:22 +0200 (Thu, 30 Aug 2007) | 1 line Fix typo. ........ r57750 | martin.v.loewis | 2007-08-30 20:25:47 +0200 (Thu, 30 Aug 2007) | 1 line Bug #1746880: Correctly install DLLs into system32 folder on Win64. ........ r57760 | martin.v.loewis | 2007-08-30 21:04:09 +0200 (Thu, 30 Aug 2007) | 1 line Bug #1709599: Run test_1565150 only if the file system is NTFS. ........ r57762 | martin.v.loewis | 2007-08-30 22:10:57 +0200 (Thu, 30 Aug 2007) | 2 lines Bump autoconf minimum version to 2.61. ........ r57764 | lars.gustaebel | 2007-08-30 22:24:31 +0200 (Thu, 30 Aug 2007) | 2 lines Warn about possible risks when extracting untrusted archives. ........ r57769 | thomas.wouters | 2007-08-30 23:01:17 +0200 (Thu, 30 Aug 2007) | 7 lines Somewhat-preliminary slice-object and extended slicing support for ctypes. The exact behaviour of omitted and negative indices for the Pointer type may need a closer look (especially as it's subtly different from simple slices) but there's time yet before 2.6, and not enough before 3.0a1 :-) ........
* Don't ascii encode eol_convention. Was causing file write to fail.Kurt B. Kaiser2007-08-301-3/+0
|
* Explicitly use UTF-8 as the encoding for the normalization file.Martin v. Löwis2007-08-302-4/+4
|
* Bump IDLE version.Kurt B. Kaiser2007-08-301-1/+1
|