Zachary Ware
dd091d7531
Issue #20510 : Rewrote test_exit in test_sys to match existing comments
...
and to modernize. Initial patch by Gareth Rees.
2014-02-18 08:36:14 -06:00
Terry Jan Reedy
8ab7cba924
whitespace
2014-02-17 23:16:26 -05:00
Terry Jan Reedy
6858f00dab
Issue #8478 : Untokenizer.compat now processes first token from iterator input.
...
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
2014-02-17 23:12:07 -05:00
Terry Jan Reedy
7751a34400
Untokenize: An logically incorrect assert tested user input validity.
...
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
2014-02-17 16:45:38 -05:00
Benjamin Peterson
5503579db6
backout 369bf9fbaeff
2014-02-16 14:51:17 -05:00
Benjamin Peterson
f387e96768
remove tests for #19081
2014-02-16 14:48:26 -05:00
Benjamin Peterson
384e9cb3a1
finish backing out #19081
2014-02-16 14:46:57 -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
Benjamin Peterson
7a91bf8675
give non-iterable TypeError a message ( closes #20507 )
2014-02-15 13:02:52 -05:00
Ezio Melotti
207b5f466d
#19890 : fix typo in multiprocessing docs. Patch by Mike Short.
2014-02-15 16:58:52 +02:00
Ezio Melotti
ac3dfc63b5
#20634 : fix typo in IDLE README noticed by Saimadhav Heblikar.
2014-02-15 13:01:08 +02:00
Benjamin Peterson
93cd25d0a8
fix links to builtin repr function ( closes #20573 )
2014-02-14 14:10:39 -05: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
Serhiy Storchaka
ee09d7c098
Issue #19255 : Clear error after failed PyDict_SetItem() on shutdown.
...
This silences a Coverity complain.
2014-02-12 09:54:48 +02:00
Ned Deily
ad38ef7c09
Add references for Xcode and the Python Developer's Guide
...
to the internal Mac/README file.
2014-02-11 17:57:14 -08:00
Benjamin Peterson
2748c5c106
avoid name clash with posix_close ( closes #20594 )
2014-02-11 10:16:16 -05: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
d0b7ac5556
Merge heads
2014-02-10 19:27: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
Ezio Melotti
9c96f0ba29
#19906 : clarify note in urllib docs.
2014-02-10 09:59:04 +02:00
Serhiy Storchaka
98a9722e4a
Issue #20437 : Fixed 43 potential bugs when deleting objects references.
2014-02-09 13:14:04 +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
Ned Deily
ddc697f212
Issue #20374 : delete spurious empty line
2014-02-05 17:01:41 -08:00
Ned Deily
b0fd12d96c
Issue #20374 : Avoid compiler warnings when compiling readline with libedit.
2014-02-05 16:52:26 -08: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
Vinay Sajip
8bf70f74cf
Issue #20509 : Added cross-reference in documentation.
2014-02-04 16:25:41 +00:00
Benjamin Peterson
d16e01cf75
mmap obmalloc arenas so that they may be immediately returned to the system when unused ( closes #20494 )
2014-02-04 10:20:26 -05: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
da0dbc004c
Merge heads
2014-02-03 20:42:43 +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
Benjamin Peterson
60f0793c30
use system mercurial
2014-02-03 13:33:56 -05:00
Vinay Sajip
5146825e00
Added cookbook entry on logging filter configuration using dictConfig().
2014-02-03 11:51:22 +00: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
Ned Deily
1964d5bdf7
Issue #19990 : Install test/imghdrdata.
2014-02-02 13:59:26 -08:00
Antoine Pitrou
8a2e22ef35
Issue #20423 : fix documentation of io.StringIO's newline parameter
2014-02-02 22:48:25 +01:00