Commit Graph

57157 Commits

Author SHA1 Message Date
Nick Coghlan 55062e387e Dummy merge from 3.2 2012-10-20 00:04:16 +10:00
Nick Coghlan 62b4136277 Fix broken test and replace redundant generator with a tuple 2012-10-20 00:03:46 +10:00
Nick Coghlan 059e37f599 Dummy merge from 3.2 2012-10-19 23:40:21 +10:00
Nick Coghlan c71b4c7198 Issue #6074: Actually delete the source file in the test as intended 2012-10-19 23:38:36 +10:00
Nick Coghlan 11d752e374 Remove unused import 2012-10-19 23:37:16 +10:00
Nick Coghlan eb8d627bbd Issue #6074: Apply an appropriate fix for importlib based imports 2012-10-19 23:32:00 +10:00
Nick Coghlan 90eb8ae6ce Dummy merge from 3.2, as that approach to resolving #6074 is not applicable to importlib 2012-10-19 22:58:06 +10:00
Nick Coghlan 34937ce249 Issue #6074: Forward port Windows read-only source file fix from 2.7 2012-10-19 22:38:14 +10:00
Giampaolo Rodola' 2d51f687e1 Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. 2012-10-19 13:40:28 +02:00
Giampaolo Rodola' b0cc91290c Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. 2012-10-19 13:34:32 +02:00
Georg Brandl 2ee776bcea Fix merging mistake. 2012-10-19 07:37:44 +02:00
Ned Deily bfbf3f139d Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
2012-10-18 18:16:44 -07:00
Mark Dickinson 44362a88ad Issue #16277: merge fix from 3.2 2012-10-18 19:53:28 +01:00
Mark Dickinson 91044799f7 Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof(long). 2012-10-18 19:21:43 +01:00
Chris Jerdonek 206f962f32 Merge from 3.2: clarify universal-newline wording in tutorial (issue #16266). 2012-10-17 20:21:05 -07:00
Chris Jerdonek 5bf7f1f6e3 Clarify universal-newline wording in tutorial (issue #16266). 2012-10-17 20:17:41 -07:00
Trent Nelson dd35500073 Merge heads. 2012-10-17 18:08:16 -04:00
Trent Nelson ecbe2a9185 Issue #15298: refactor previous fix from 66959d419369. 2012-10-17 18:03:24 -04:00
Andrew Svetlov e60983e4a5 merge heads 2012-10-17 17:29:20 +03:00
Andrew Svetlov 72db18c4c0 null merge 2012-10-17 17:21:36 +03:00
Andrew Svetlov 0dccbe1387 null merge 2012-10-17 17:20:46 +03:00
Andrew Svetlov 2365f41a0e Merge issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
2012-10-17 17:16:19 +03:00
Andrew Svetlov abfc7df149 Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
2012-10-17 17:15:43 +03:00
Antoine Pitrou 31605ace0d Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. 2012-10-17 16:13:55 +02:00
Antoine Pitrou 1eff0fc3cd Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. 2012-10-17 16:12:30 +02:00
Andrew Svetlov 65b4b40e24 Merge issue #16265: Fix collapsing of code sample in tutorial.
Thanks to Yongzhi Pan from docs@
2012-10-17 16:46:00 +03:00
Andrew Svetlov e9cf97cf20 Issue #16265: Fix collapsing of code sample in tutorial.
Thanks to Yongzhi Pan from docs@
2012-10-17 16:41:28 +03:00
Trent Nelson 016884cbaa Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-17 06:15:40 -04:00
Trent Nelson 45bb613e25 Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-17 06:15:15 -04:00
Trent Nelson 5595ab564c Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:47:31 -04:00
Trent Nelson 739fc541b1 Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
2012-10-17 04:45:30 -04:00
Trent Nelson ee528cccde Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.
Reported by: Ned Deily.
2012-10-17 04:23:50 -04:00
Eric Snow 547298c94c Close #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing. 2012-10-16 22:35:38 -07:00
R David Murray e54c718572 A couple more whatsnew updates. 2012-10-16 21:52:24 -04:00
Antoine Pitrou 0c7081aff4 Merge for issue #15744: add tests for the writelines() method of file objects. 2012-10-16 23:05:01 +02:00
Antoine Pitrou 3ed2cb5520 Also add tests for TextIOWrapper.writelines() (issue #15744). 2012-10-16 23:02:27 +02:00
Antoine Pitrou 131a489903 Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.
2012-10-16 22:57:11 +02:00
Ezio Melotti ad626807a6 Fix typo. 2012-10-16 21:50:33 +03:00
Trent Nelson 56d4c03cb2 Merge issue #15819: tweak logic in previous commit. 2012-10-16 11:07:31 -04:00
Trent Nelson 6603118125 Issue #15819: tweak logic in previous commit (617591e7d708). 2012-10-16 11:04:04 -04:00
Nick Coghlan d6d5cf33ef A dict comprehension is much prettier (thanks Antoine) 2012-10-16 23:14:03 +10:00
Trent Nelson 5ecd00402e Merge heads. 2012-10-16 08:56:41 -04:00
Trent Nelson 4d4ec6502d Merge issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.
2012-10-16 08:51:24 -04:00
Nick Coghlan f06ea25df2 Tweak the threaded example in concurrent.futures 2012-10-16 22:50:04 +10:00
Trent Nelson 9effe699b7 Issue #15819: additional fixes for out-of-tree builds from read-only src.
Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.
2012-10-16 08:41:32 -04:00
Trent Nelson c101bf32c4 Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Trent Nelson 8a42022748 Merge heads. 2012-10-16 07:48:34 -04:00
Trent Nelson d783c8ed00 Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.

This fixes a regression introduced by 3.3.  Patch by Charles-François Natali.
2012-10-16 07:47:34 -04:00
Andrew Svetlov 2bfe386091 Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion 2012-10-16 13:52:25 +03:00
Andrew Svetlov 03cb99c2d1 Issue #15936: Add link from os.urandom to random.SystemRandom 2012-10-16 13:15:06 +03:00