Benjamin Peterson
f387e96768
remove tests for #19081
2014-02-16 14:48:26 -05:00
Benjamin Peterson
e9aab0fb98
backout #19081 to fix #20621
2014-02-16 14:20:14 -05:00
Benjamin Peterson
33b8219aa6
add missing test assertion ( closes #20080 )
...
Patch by Vajrasky Kok.
2014-02-15 13:19:59 -05:00
Ezio Melotti
ac3dfc63b5
#20634 : fix typo in IDLE README noticed by Saimadhav Heblikar.
2014-02-15 13:01:08 +02:00
Ned Deily
e789a1d866
Issue #20605 : Make test_socket getaddrinfo OS X segfault test more robust.
2014-02-13 22:49:30 -08:00
Ezio Melotti
f6c0ec4ff0
#19680 : add back documentation for print and exec in the interactive help.
2014-02-14 07:04:15 +02:00
Serhiy Storchaka
1d19f97eed
Issue #17671 : Fixed a crash when use non-initialized io.BufferedRWPair.
...
Based on patch by Stephen Tu.
2014-02-12 10:52:07 +02:00
Vinay Sajip
79ce12e0fb
Issue #20558 : Improved implementation of error handling.
2014-02-11 11:32:40 +00:00
Serhiy Storchaka
a4b9c878e4
Issue #19856 : shutil.move() failed to move a directory to other directory
...
on Windows if source name ends with os.altsep.
2014-02-11 10:30:06 +02:00
Serhiy Storchaka
306158541c
issue12085: Use more Pythonic way to check _child_created.
...
_active shouldn't be cached, it set to None on shutdown.
2014-02-10 19:19:53 +02:00
R David Murray
2cfae9b03f
#14983 : always add a line end after a MIME boundary marker.
...
This is more RFC compliant (see issue) and fixes a problem with
signature verifiers rejecting the part when signed. There is some
amount of backward compatibility concern here since it changes
the output, but the RFC issue coupled with fixing the problem
with signature verifiers seems worth the small risk of breaking
code that depends on the current incorrect output.
2014-02-08 17:54:12 -05:00
Terry Jan Reedy
4ade2d25fc
Issue #20406 : Use Python application icons for Idle window title bars.
...
Patch mostly by Serhiy Storchaka.
2014-02-08 09:39:51 -05:00
Serhiy Storchaka
79b6f17d70
Issue #20549 : Use specific asserts in mailbox, smtplib and poplib tests.
2014-02-08 15:05:53 +02:00
Serhiy Storchaka
528bed8e4a
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:49:55 +02:00
Serhiy Storchaka
708a5ea964
Issue #20546 : Use specific asserts in int tests.
2014-02-08 14:28:20 +02:00
R David Murray
ca00c6ea65
#20013 : don't raise socket error when selected mailbox deleted.
...
I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.
The patch itself was tested by the person who reported the bug.
2014-02-07 13:51:22 -05:00
Serhiy Storchaka
76249ea4a7
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:06:05 +02:00
Serhiy Storchaka
6a036793b6
Issue #20520 : Fixed readline test in test_codecs.
2014-02-06 09:26:32 +02:00
Serhiy Storchaka
cfc2c7bb86
Issue #19920 : Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
2014-02-05 20:55:13 +02:00
Serhiy Storchaka
dd9d64eb53
Issue #20498 : Fixed io.StringIO tests for newline='\n'. Added new tests.
2014-02-05 13:41:38 +02:00
Serhiy Storchaka
90ecc00183
Skip expr* tests for large integers for Tcl <8.5.
...
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
2014-02-03 22:30:22 +02:00
Antoine Pitrou
f581411255
Issue #20426 : When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
2014-02-03 20:59:59 +01:00
Serhiy Storchaka
942aaac705
Issue #19761 : Fixed Tkinter tests on OS X.
2014-02-03 21:33:21 +02:00
Serhiy Storchaka
ccffb25c54
Issue #20368 : The null character now correctly passed from Tcl to Python (in
...
unicode strings only). Improved error handling in variables-related commands.
2014-02-03 21:23:46 +02:00
Serhiy Storchaka
d2eff237a6
Issue #20368 : Add tests for Tkinter methods exprstring(), exprdouble(),
...
exprlong() and exprboolean().
2014-02-03 20:41:04 +02:00
Antoine Pitrou
c06634acfc
Issue #20435 : Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
2014-02-02 23:37:29 +01:00
Serhiy Storchaka
15b67d7d5b
Issue #19320 : Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
2014-02-02 23:04:06 +02:00
Benjamin Peterson
b898b4f9e9
use with statement to ensure zipfile is always closed ( closes #20102 )
2014-02-02 15:30:22 -05:00
Terry Jan Reedy
67908e9a76
Update the python.gif icon for the Idle classbrowser and pathbowser
...
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:08:24 -05:00
Ezio Melotti
5a88853bdc
#20288 : fix handling of invalid numeric charrefs in HTMLParser.
2014-02-01 21:20:22 +02:00
Terry Jan Reedy
3ac26c1bd2
Idle test: 2nd try at suppressing compile time warning (hint by Nick Coghlan).
2014-01-30 21:37:24 -05:00
Vinay Sajip
9cdf2d0338
Issue #20444 : Reduced code duplication. Thanks to dongwm for the report and patch.
2014-01-30 20:22:01 +00:00
Terry Jan Reedy
0a600cf235
Idlelib & buildbots: suppress py3 deprecation message even if enabled.
2014-01-29 14:42:32 -05:00
Serhiy Storchaka
47cb38cdcc
Backported a test for lone surrogates support in io.StringIO.
2014-01-29 11:49:13 +02:00
Terry Jan Reedy
1625272444
Silence deprecation warning in sunau.py
2014-01-29 00:15:59 -05:00
Terry Jan Reedy
8119c13fe4
Idlelib: silence two buildbot Deprecation Warnings with better code.
2014-01-28 23:13:35 -05:00
Gregory P. Smith
9ca520a09c
Remove unneeded use of globals() and locals() in test on imports
...
introduced with the issue19081 tests.
2014-01-28 00:29:46 -08:00
Gregory P. Smith
1a47955255
Refactor the new test for issue19081 to exec import statements into a
...
test_ns dict instead of the actual globals() and locals(). Suggested
after review by Thomas Wouters.
2014-01-27 22:06:51 -08:00
Serhiy Storchaka
31f5121275
Issue #19456 : ntpath.join() now joins relative paths correctly when a drive
...
is present.
2014-01-27 23:14:51 +02:00
Gregory P. Smith
027ab39014
Issue #19081 : Remove the zipimporter.files reference as the zip TOC
...
caches are module global in the zip_directory_cache. When it is
updated due to a changed zip file, all zipimporter instances need to
see the same updates TOC cache. This fixes the bug for the overlooked
submodule import case from the earlier round of changes. Includes
tests that would fail otherwise.
It also refactors zipimporter_init in the process to make it a bit
easier to read and understand. Less reuse of the same variable for
multiple purposes and the local path buffer is malloc'ed instead
of consuming a large MAXPATHLEN+2 chunk stack space.
2014-01-27 00:15:10 -08:00
Terry Jan Reedy
1d9b9215f0
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:17 -05:00
Terry Jan Reedy
e7ec1be8c7
Idlelib.calltips: add test of starred first parameters. They should not be
...
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:25 -05:00
Terry Jan Reedy
62ea43cc06
Merge heads.
2014-01-26 20:10:56 -05:00
Terry Jan Reedy
e7a72a194d
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:07 -05:00
Serhiy Storchaka
30d68c66e3
Issue #19990 : Added tests for the imghdr module.
...
Based on patch by Claudiu Popa.
2014-01-26 23:48:20 +02:00
Serhiy Storchaka
4a44f8791c
Fixed a bug in previous changeset: StreamReader returned '' instead of u''.
2014-01-26 21:19:59 +02:00
Serhiy Storchaka
2403a787b9
Issue #8260 : The read(), readline() and readlines() methods of
...
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
2014-01-26 19:20:24 +02:00
Serhiy Storchaka
1adbacfd1c
Issue #20331 : Fixed possible FD leaks in various modules:
...
SimpleHTTPServer, imghdr, mailcap, mimetypes, xml.etree.
2014-01-25 19:42:27 +02:00
Serhiy Storchaka
eb7ef94166
Third attempt to fix test_user_command on OpenSolaris.
2014-01-23 16:08:35 +02:00
Serhiy Storchaka
dc97667254
Other attempt to fix test_user_command on OpenSolaris.
2014-01-23 14:38:44 +02:00