Commit Graph

78004 Commits

Author SHA1 Message Date
Terry Jan Reedy 09f4f253b5 Issue #15618: Make turtle.py itself work when run from a module with
from __future__ import unicode_literals.  Initial patch by Juancarlo Añez.

The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix.  If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
2014-03-05 23:15:57 -05:00
Serhiy Storchaka fd48a56b27 Correct and improve comments in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
2014-03-03 21:16:27 +02:00
Benjamin Peterson 695870a5c1 add Chris Angelico 2014-03-01 19:16:12 -05:00
Benjamin Peterson bde1cfb0cd fix test_posix.test_initgroups to work without supplemental groups (closes #20249) 2014-03-01 19:14:12 -05:00
Terry Jan Reedy 44fad467b9 Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
2014-02-27 18:47:23 -05:00
Serhiy Storchaka 68b8a94c91 Issue #20501: fileinput module no longer reads whole file into memory when using
fileinput.hook_encoded.
2014-02-26 20:59:08 +02:00
R David Murray 17a4322d09 #20628: wrap lines to < 80. 2014-02-24 15:36:45 -05:00
R David Murray d2b5b316ab #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
2014-02-24 15:35:19 -05:00
Georg Brandl 3cb99f3911 Closes #20735: remove erroneous deprecated marker from stringprep docs 2014-02-24 09:26:53 +01:00
Terry Jan Reedy bd7cf3ade3 Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).
2014-02-23 23:32:59 -05:00
Antoine Pitrou e0a03d6e2e Restore title style 2014-02-24 00:41:14 +01:00
Antoine Pitrou aa73ea0408 Issue #20743: Fix a reference leak in test_tcl. 2014-02-23 19:39:06 +01:00
Benjamin Peterson 82c25876ba use sphinx from its own virtualenv (closes #20693) 2014-02-22 01:32:50 -05:00
Benjamin Peterson 0b1faeab6f update logo url (#20695) 2014-02-19 22:51:08 -05:00
Serhiy Storchaka 2ac9d31108 Issue #6815: os.path.expandvars() now supports non-ASCII Unicode environment
variables names and values.
2014-02-19 23:27:37 +02:00
Zachary Ware c77d4ba85b Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.

As suggested by Serhiy Storchaka.
2014-02-19 10:43:13 -06:00
Serhiy Storchaka 3e0cb09e33 Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:33:30 +02:00
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