Victor Stinner
d9e810a870
Issue #12523 : asynchat.async_chat.push() now raises a TypeError if it doesn't
...
get a bytes string
2014-07-08 00:00:30 +02:00
Berker Peksag
b132069ea4
Issue #21707 : Merge with 3.4.
2014-07-07 21:30:54 +03:00
Berker Peksag
a90afbc7ee
Issue #21707 : Fix tests on Windows.
2014-07-07 21:29:50 +03:00
Serhiy Storchaka
11116da935
Merge heads
2014-07-07 15:18:22 +03:00
Serhiy Storchaka
80dce52800
Merge heads
2014-07-07 15:11:42 +03:00
Berker Peksag
7a5a8c8f7c
Issue #21707 : Merge with 3.4.
2014-07-07 14:59:47 +03:00
Berker Peksag
0a0d1da987
Issue #21707 : Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code().
2014-07-07 14:58:12 +03:00
Serhiy Storchaka
3cb4af8fbf
Issue #21881 : Just omit tests for platform-specific NaN representation in test_tcl.
2014-07-07 14:57:57 +03:00
Serhiy Storchaka
6f1435c939
Issue #21881 : Just omit tests for platform-specific NaN representation in test_tcl.
2014-07-07 14:57:08 +03:00
Serhiy Storchaka
f2c4ba1207
Issue #19593 : Use specific asserts in importlib tests.
2014-07-07 14:09:43 +03:00
Serhiy Storchaka
344f8316fd
Issue #19593 : Use specific asserts in importlib tests.
2014-07-07 14:08:19 +03:00
Serhiy Storchaka
3bc13cc8b0
Merge heads
2014-07-07 13:46:09 +03:00
Serhiy Storchaka
66ca861f86
Issue #21881 : Be more tolerant in test_tcl to not parsable by float() NaN
...
representations (on mips and m68k platforms).
2014-07-07 13:45:15 +03:00
Serhiy Storchaka
667abc7d42
Issue #21881 : Be more tolerant in test_tcl to not parsable by float() NaN
...
representations (on mips and m68k platforms).
2014-07-07 13:44:33 +03:00
Benjamin Peterson
96baaae46f
for some reason, you don't get the right checksum from an incremental build
2014-07-06 22:07:08 -07:00
Antoine Pitrou
006c725426
Merge pathlib fixes
2014-07-06 21:38:35 -04:00
Antoine Pitrou
e50dafcd63
Issue #20639 : calling Path.with_suffix('') allows removing the suffix again.
...
Patch by July Tikhonov.
2014-07-06 21:37:15 -04:00
Antoine Pitrou
7084e736db
Issue #21714 : Disallow the construction of invalid paths using Path.with_name(). Original patch by Antony Lee.
2014-07-06 21:31:12 -04:00
Benjamin Peterson
3032ed7cb1
upgrade to unicode 7.0.0
2014-07-06 13:04:20 -07:00
Berker Peksag
1c5f56a955
Issue #9554 : Use modern unittest features in test_argparse.
...
Initial patch by Denver Coneybeare and Radu Voicilas.
2014-07-06 09:33:20 +03:00
Victor Stinner
8c57548f89
(Merge 3.4) Closes #21886 , #21447 : Fix a race condition in asyncio when setting
...
the result of a Future with call_soon(). Add an helper, a private method, to
set the result only if the future was not cancelled.
2014-07-05 15:30:42 +02:00
Victor Stinner
a9acbe82e7
Closes #21886 , #21447 : Fix a race condition in asyncio when setting the result
...
of a Future with call_soon(). Add an helper, a private method, to set the
result only if the future was not cancelled.
2014-07-05 15:29:41 +02:00
Antoine Pitrou
a93342b8b2
Issue #21897 : Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.
2014-07-04 20:26:22 -04:00
Antoine Pitrou
acc8cf2cfa
Issue #21897 : Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.
2014-07-04 20:24:13 -04:00
R David Murray
76e13c1c29
#15014 : Add 'auth' command to implement auth mechanisms and use it in login.
...
Patch by Milan Oberkirch.
2014-07-03 14:47:46 -04:00
Zachary Ware
d8b129f279
Closes #21151 : Merge with 3.4
2014-07-03 11:03:46 -05:00
Zachary Ware
ad4690fcca
Issue #21151 : Fixed a segfault in the winreg module.
...
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:58:06 -05:00
Berker Peksag
f7eaa0c63c
Issue #21755 : Skip {Frozen,Source}_DeadlockAvoidanceTests tests when
...
Python is built without threads.
2014-07-03 06:25:10 +03:00
Victor Stinner
b57d6a2fec
(Merge 3.4) asyncio: sync with Tulip
...
* _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode,
not in read mode
* Examples: close the event loop at exit
* More reliable CoroWrapper.__del__. If the constructor is interrupted by
KeyboardInterrupt or the coroutine objet is destroyed lately, some the
_source_traceback attribute doesn't exist anymore.
* repr(Task): include also the future the task is waiting for
2014-07-03 00:59:28 +02:00
Victor Stinner
2dba23af71
asyncio: sync with Tulip
...
* _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode,
not in read mode
* Examples: close the event loop at exit
* More reliable CoroWrapper.__del__. If the constructor is interrupted by
KeyboardInterrupt or the coroutine objet is destroyed lately, some the
_source_traceback attribute doesn't exist anymore.
* repr(Task): include also the future the task is waiting for
2014-07-03 00:59:00 +02:00
Berker Peksag
3e887222aa
Issue #5800 : headers parameter of wsgiref.headers.Headers is now optional.
...
Patch by Pablo Torres Navarrete and SilentGhost.
2014-07-02 08:37:22 +03: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
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
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
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
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
Victor Stinner
0882e27e2a
(Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages in
...
tests
2014-06-28 01:19:28 +02:00