Commit graph

85621 commits

Author SHA1 Message Date
Andrew Svetlov
09db75fcd6 Merge 3.4 2014-07-02 07:21:31 +03:00
Andrew Svetlov
ee750d8f8d Use try-finally idiom in example for locks in multiprocessing 2014-07-02 07:21:03 +03:00
Terry Jan Reedy
5e456973a5 Merge with 3.4 2014-07-01 21:33:46 -04:00
Terry Jan Reedy
092b3cf671 More idlelib cleanup inspired by pyflakes. 2014-07-01 21:33:31 -04:00
Zachary Ware
509dab9ef6 Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 20:06:19 -05:00
Zachary Ware
d9de794c23 Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05:00
Terry Jan Reedy
062bc1de19 Merge with 3.4 2014-07-01 18:52:53 -04:00
Terry Jan Reedy
44f09ebd0f Delete a few unused names suggested by pyflakes. 2014-07-01 18:52:37 -04:00
Victor Stinner
7f341ca16e (Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing
parameters
2014-07-01 16:48:42 +02:00
Victor Stinner
f18f87111b Issue #8677: make the zlib module "ssize_t clean" for parsing parameters 2014-07-01 16:48:12 +02:00
Victor Stinner
da8e6a2dff (Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" for
parsing parameters
2014-07-01 16:46:12 +02:00
Victor Stinner
65a3144e54 Closes #21780: make the unicodedata module "ssize_t clean" for parsing parameters 2014-07-01 16:45:52 +02:00
Victor Stinner
7f084064e8 (Merge 3.4) Issue #21781: Make the ssl module "ssize_t clean" for parsing
parameters.  ssl.RAND_add() now supports strings longer than 2 GB.
2014-07-01 16:39:23 +02:00
Victor Stinner
2e57b4e488 Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters.
ssl.RAND_add() now supports strings longer than 2 GB.
2014-07-01 16:37:17 +02:00
Victor Stinner
6a75bb0d83 (Merge 3.4) asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter 2014-07-01 12:39:26 +02:00
Victor Stinner
1690ed397a asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter 2014-07-01 12:38:51 +02:00
Victor Stinner
9f43505f3d (Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu
to format C size_t, because %zi/%u is not supported on all platforms.
2014-07-01 08:57:54 +02:00
Victor Stinner
293f3f526d Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C
size_t, because %zi/%u is not supported on all platforms.
2014-07-01 08:57:10 +02:00
Ned Deily
744a1193aa Issue #21891: remove extraneous semicolon. 2014-06-30 23:31:33 -07:00
Ned Deily
529ea5d184 Issue #21891: remove extraneous semicolon. 2014-06-30 23:31:14 -07:00
Terry Jan Reedy
3c8ae8447e Merge with 3.4 2014-06-30 23:52:32 -04:00
Terry Jan Reedy
8cefd08943 Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
to remove duplication and return info for tests.  Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons.  Use Python subscripting to get widget options.
2014-06-30 23:52:20 -04:00
Berker Peksag
68e013cf0f Issue #13689: Merge from 3.4. 2014-07-01 06:03:24 +03:00
Berker Peksag
fd6400a47d Issue #13689: Remove a dead link from howto/urllib. 2014-07-01 06:02:42 +03:00
Terry Jan Reedy
2e9e6c7644 Merge with 3.4 2014-06-30 20:00:16 -04:00
Terry Jan Reedy
525168bd74 Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster. 2014-06-30 20:00:03 -04:00
Terry Jan Reedy
c26c51a96e Merge with 3.4 2014-06-30 16:09:44 -04:00
Terry Jan Reedy
f5ac57dc05 Issue #21882: In turtle demos, remove module scope gui and sys calls by
either deleting or moving to the module's main function.
2014-06-30 16:09:24 -04:00
Victor Stinner
b1f9ed75bd (Merge 3.4) Issue #21163: BaseEventLoop.run_until_complete() and
test_utils.run_briefly() don't log the "destroy pending task" message anymore.
The log is redundant for run_until_complete() and useless in run_briefly().
2014-06-30 14:51:24 +02:00
Victor Stinner
98b6391fd4 Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly()
don't log the "destroy pending task" message anymore. The log is redundant for
run_until_complete() and useless in run_briefly().
2014-06-30 14:51:04 +02:00
Victor Stinner
91dd20ba60 asyncio: sync with Tulip
- Sort imports
- Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it
  with isinstance(obj, types.GeneratorType)
- CoroWrapper: check at runtime if Python has the yield-from bug #21209.  If
  Python has the bug, check if CoroWrapper.send() was called by yield-from to
  decide if parameters must be unpacked or not.
- Fix "Task was destroyed but it is pending!" warning in
  test_task_source_traceback()
2014-06-30 14:39:47 +02:00
Victor Stinner
b75380f333 asyncio: sync with Tulip
- Sort imports
- Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it
  with isinstance(obj, types.GeneratorType)
- CoroWrapper: check at runtime if Python has the yield-from bug #21209.  If
  Python has the bug, check if CoroWrapper.send() was called by yield-from to
  decide if parameters must be unpacked or not.
- Fix "Task was destroyed but it is pending!" warning in
  test_task_source_traceback()
2014-06-30 14:39:11 +02:00
Victor Stinner
9dd826b30b Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
debug
2014-06-30 12:32:59 +02:00
Berker Peksag
d9375f121e Fix typo in socket.getaddrinfo() docstring.
Reported by Krishna Kumar Thakur on docs@.
2014-06-30 11:30:00 +03:00
Berker Peksag
a6ec5ee3c8 Fix typo in socket.getaddrinfo() docstring.
Reported by Krishna Kumar Thakur on docs@.
2014-06-30 11:28:40 +03:00
Ned Deily
0ca4703b28 Issue #21811: Add Misc/NEWS entry. 2014-06-29 23:54:38 -07:00
Ned Deily
093e66e7f0 Issue #21811: Add Misc/NEWS entry. 2014-06-29 23:51:55 -07:00
Berker Peksag
977c8a354c Issue #14235: Merge from 3.4. 2014-06-30 04:05:54 +03:00
Berker Peksag
67ef591045 Issue #14235: Use importlib.reload() in test_cmd.test_coverage. 2014-06-30 04:04:52 +03:00
Antoine Pitrou
de68722ca0 Issue #21679: Prevent extraneous fstat() calls during open(). Patch by Bohuslav Kabrda. 2014-06-29 20:07:28 -04:00
Stefan Krah
d95224ceaf Merge 3.4. 2014-06-30 00:16:09 +02:00
Stefan Krah
bb458dbe59 Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().
2014-06-30 00:15:45 +02:00
Alexander Belopolsky
f026dae130 Fixes #10541: regrtest -T is broken
* makes test_trace tests restore the tracefunc after they run
 * write_results() in trace module will not terminate if lnotab
   cannot be found.
2014-06-29 17:44:05 -04:00
Berker Peksag
15c6ed5239 Issue #20753: Merge with 3.4. 2014-06-29 15:56:21 +03:00
Berker Peksag
ad324f6bcc Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built without threads. 2014-06-29 15:54:56 +03:00
Victor Stinner
6cdcf0d5ed (Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines module 2014-06-29 00:47:28 +02:00
Victor Stinner
f951d28ac8 asyncio: sync with Tulip, add a new asyncio.coroutines module 2014-06-29 00:46:45 +02:00
Jesus Cea
41c8da95f4 MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) 2014-06-28 18:39:51 +02:00
Jesus Cea
61f32cb5b8 Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) 2014-06-28 18:39:35 +02:00
Antoine Pitrou
8477f7af13 Issue #21863: cProfile now displays the module name of C extension functions, in addition to their own name. 2014-06-27 23:49:29 -04:00