Commit graph

18307 commits

Author SHA1 Message Date
Andrew Svetlov
1024541a0d Issue #14496: Fix wrong name in idlelib/tabbedpages.py.
Patch by Popa Claudiu.
2012-04-05 16:58:05 +03:00
R David Murray
ca60b36735 test_tools fix: don't import analyze_dxp if no _thread module 2012-04-04 22:37:50 -04:00
R David Murray
54ac832a24 #14490, #14491: add 'sundry'-style import tests for Tools/scripts.
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running.  Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:28:14 -04:00
Georg Brandl
b6046301ef Closes #14495: fix typo. 2012-04-04 20:17:06 +02:00
Antoine Pitrou
6d20cba8d6 Issue #14482: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows.  Patch by Popa Claudiu.
2012-04-03 20:12:23 +02:00
Benjamin Peterson
6215444a0a remove uneeded line 2012-04-02 14:22:50 -04:00
Benjamin Peterson
e900096dc4 prevent writing to stderr from messing up the exception state (closes #14474) 2012-04-02 11:15:17 -04:00
Antoine Pitrou
709176f10c Issue #14151: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms.  Patch by Popa Claudiu.
2012-04-01 17:19:09 +02:00
Antoine Pitrou
70deb3de39 Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.
2012-04-01 01:00:17 +02:00
Antoine Pitrou
f70401e842 Issue #14406: Fix a race condition when using concurrent.futures.wait(return_when=ALL_COMPLETED).
Patch by Matt Joiner.
2012-03-31 20:23:30 +02:00
R David Murray
de0f6297a7 #14434: make tutorial link in 'help' banner version-specific
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.
2012-03-31 12:06:35 -04:00
Andrew Svetlov
f3c297675d update NEWS as Terry Reedy proposed 2012-03-31 14:10:10 +03:00
Vinay Sajip
6f5e54e769 Closes #14436: Convert msg + args to string before pickling. 2012-03-29 20:17:18 +01:00
Andrew Svetlov
67ac079203 Issue #14409: IDLE doesn't not execute commands from shell with default keybinding for <Return>.
Patch by Roger Serwy.
2012-03-29 19:01:28 +03:00
Georg Brandl
d86440750f Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
Charles-François Natali
8e6fe648cc Issue #13902: Fix a random test_threading failure on FreeBSD 6 buildbots (due
to a known bug in pthread implementation on FreeBSD < 7).
2012-03-24 20:36:09 +01:00
Vinay Sajip
ee64b28cf4 Closes #14314: backported fix. 2012-03-23 14:36:22 +00:00
Giampaolo Rodola'
a3481e70d1 attempt to fix asyncore buildbot failure 2012-03-23 15:07:07 +01:00
Giampaolo Rodola'
350c94b900 fix #10340: properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect. 2012-03-22 16:17:43 +01:00
Benjamin Peterson
a4e4e35783 check by equality for __future__ not identity (closes #14378) 2012-03-22 08:19:04 -04:00
R David Murray
e112153727 #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 14:53:42 -04:00
Andrew Svetlov
0f71f44156 #3573: idle now doesn't hungs if launched as: idle -e <directory>
Patch by Guilherme Polo.
2012-03-21 13:23:41 +02:00
Giampaolo Rodola'
7941736ddb Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr. 2012-03-20 16:49:55 +01:00
Georg Brandl
3187749646 Merge 3.2.3rc2 from release clone. 2012-03-18 20:37:43 +01:00
Georg Brandl
226af70a59 Bump to 3.2.3rc2. 2012-03-18 07:34:49 +01:00
R David Murray
c6bfce9871 #14333: fix test_queue so it can be run via standard unittest test discovery. 2012-03-17 16:38:39 -04:00
R David Murray
1b6c724df0 #11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
2012-03-16 22:43:05 -04:00
Benjamin Peterson
16d84ac355 check to make sure the attribute is a string (#14334) 2012-03-16 09:32:59 -05:00
Senthil Kumaran
be3f851411 closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem 2012-03-16 01:13:50 -07:00
Senthil Kumaran
6b3434ae04 Explain the use of charset parameter with Content-Type header. Issue11082 2012-03-15 18:11:16 -07:00
Senthil Kumaran
73277fe0eb closes Issue #11199: Fix the with urllib which hangs on particular ftp urls. 2012-03-15 13:26:12 -07:00
R David Murray
9fd170e2d0 #14062: fix BytesParser handling of linesep for Header objects
This also affected smtplib.SMTP.send_message, which calls BytesParser.
2012-03-14 14:05:03 -04:00
R David Murray
7441a7aedd #14291: if a header has non-ascii unicode, default to CTE using utf-8
In Python2, if a unicode string was assigned as the value of a header,
email would automatically CTE encode it using the UTF8 charset.
This capability was lost in the Python3 translation, and this patch
restores it.

Patch by Ali Ikinci, assisted by R. David Murray.

I also added a fix for the mailbox test that was depending (with a comment
that it was a bad idea to so depend) on non-ASCII causing message_from_string
to raise an error.  It now uses support.patch to induce an error during
message serialization.
2012-03-14 02:59:51 -04:00
Martin v. Löwis
eb945a938d Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:32:29 -07:00
Vinay Sajip
69437da15f Merged upstream change. 2012-03-13 12:18:19 +00:00
Vinay Sajip
27f48979ca Closes #14267: Corrected computation of rollover filename. 2012-03-13 12:10:33 +00:00
Senthil Kumaran
47b5ddb9cf 3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers 2012-03-13 01:50:27 -07:00
Michael Foord
e01c62cd6b Fix unittest test discovery for Jython 2012-03-13 00:09:54 -07:00
Ezio Melotti
df723e1e5e #14179: add tests for re.compile. Patch by Florian Mladitsch. 2012-03-13 01:29:48 +02:00
Eric V. Smith
1d4798cb93 Merge heads. 2012-03-12 15:18:30 -07:00
Eric V. Smith
edbb6ca084 str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. 2012-03-12 15:16:22 -07:00
Ezio Melotti
85769539a3 #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk. 2012-03-12 23:52:40 +02:00
Benjamin Peterson
ef87f06798 allow AST objects to be like its subclasses 2012-03-12 09:43:09 -07:00
Benjamin Peterson
d279e286f2 every other ast object has a dict, so I think AST should, too 2012-03-12 09:27:36 -07:00
Antoine Pitrou
1f9a835400 Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
Georg Brandl
e144c74e02 Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split(). 2012-03-10 09:26:53 +01:00
Benjamin Peterson
52c424343d allow cycles throught the __dict__ slot to be cleared (closes #1469629)
Patch from Armin, test from me.
2012-03-07 18:41:11 -06:00
Benjamin Peterson
1ae230aa1a merge heads 2012-03-07 14:50:35 -06:00
Benjamin Peterson
e48944b69c keep the buffer object around while we're using it (closes #14212) 2012-03-07 14:50:25 -06:00
Éric Araujo
a420c820fe Backout buggy patch committed for #13719 2012-03-07 20:48:55 +01:00