Larry Hastings
164df4e51a
Version bump for Python 3.5.0b4.
2015-07-25 14:22:13 -07:00
Larry Hastings
197ae02f87
Updated pydoc topics for 3.5.0b4.
2015-07-25 14:17:35 -07:00
Robert Collins
aece8248b6
Issue #24710 : Use cls in TracebackException.from_exception.
...
Minor cleanup patch from Berker Peksag.
2015-07-26 06:50:51 +12:00
Robert Collins
c94a1dc4c9
- Issue #2091 : error correctly on open() with mode 'U' and '+'
...
open() accepted a 'U' mode string containing '+', but 'U' can only be used with
'r'. Patch from Jeff Balogh and John O'Connor.
2015-07-26 06:43:13 +12:00
Berker Peksag
882667203c
Issue #21697 : shutil.copytree() now correctly handles symbolic links that point to directories.
...
Patch by Eduardo Seabra and Thomas Kluyver.
2015-07-25 14:55:32 +03:00
Berker Peksag
940d69d444
Issue #21697 : shutil.copytree() now correctly handles symbolic links that point to directories.
...
Patch by Eduardo Seabra and Thomas Kluyver.
2015-07-25 14:55:06 +03:00
Berker Peksag
5a294d822b
Issue #21697 : shutil.copytree() now correctly handles symbolic links that point to directories.
...
Patch by Eduardo Seabra and Thomas Kluyver.
2015-07-25 14:53:48 +03:00
Berker Peksag
384d6e5d55
Issue #24420 : Fix documentation regression introduced by f0a00ee094ff.
...
These functions accept same arguments as subprocess.Popen().
Patch by Martin Panter.
2015-07-25 14:27:32 +03:00
Berker Peksag
bf1d4b6d7d
Issue #24420 : Fix documentation regression introduced by f0a00ee094ff.
...
These functions accept same arguments as subprocess.Popen().
Patch by Martin Panter.
2015-07-25 14:27:07 +03:00
Berker Peksag
78751f8e77
Issue #24279 : Update test_base64 to use test.support.script_helper.
...
Initial patch by Christie.
2015-07-25 14:14:50 +03:00
Berker Peksag
00f8197540
Issue #24279 : Update test_base64 to use test.support.script_helper.
...
Initial patch by Christie.
2015-07-25 14:14:24 +03:00
Berker Peksag
8028769852
Issue #24713 : Use importlib.reload() in import reference document.
...
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().
Patch by Petr Viktorin.
2015-07-25 13:03:30 +03:00
Berker Peksag
a1bddadddd
Issue #24713 : Use importlib.reload() in import reference document.
...
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().
Patch by Petr Viktorin.
2015-07-25 13:03:08 +03:00
Berker Peksag
7e732a7181
Issue #24713 : Use importlib.reload() in import reference document.
...
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().
Patch by Petr Viktorin.
2015-07-25 13:02:37 +03:00
Serhiy Storchaka
8932cd169c
Issue #14373 : Fixed segmentation fault when gc.collect() is called during
...
constructing lru_cache (C implementation).
2015-07-25 12:11:00 +03:00
Serhiy Storchaka
374164c2f5
Issue #14373 : Fixed segmentation fault when gc.collect() is called during
...
constructing lru_cache (C implementation).
2015-07-25 12:10:21 +03:00
Victor Stinner
9625340cc8
Merge 3.5 (asyncio)
2015-07-25 02:45:18 +02:00
Victor Stinner
389e3d768d
Merge 3.4
2015-07-25 02:43:31 +02:00
Victor Stinner
eaf16abc68
asyncio: sync with github
...
* Fix ResourceWarning warnings in test_streams
* Return True from StreamReader.eof_received() to fix
http://bugs.python.org/issue24539 (but still needs a unittest).
Add StreamReader.__repr__() for easy debugging.
* remove unused imports
* Issue #234 : Drop JoinableQueue on Python 3.5+
2015-07-25 02:40:40 +02:00
Victor Stinner
71080fc351
asyncio: Add asyncio.compat module
...
Move compatibility helpers for the different Python versions to a new
asyncio.compat module.
2015-07-25 02:23:21 +02:00
Ned Deily
401e52e803
Issue #24603 : merge from 3.5
2015-07-24 16:25:30 -07:00
Ned Deily
71f70b8f1a
Issue #24603 : merge from 3.4
2015-07-24 16:24:47 -07:00
Ned Deily
f05b79dbd2
Issue #24603 : Update the OS X 32-bit installer build to use OpenSSL 1.0.2d.
2015-07-24 16:21:18 -07:00
Berker Peksag
0bb2c217b4
Issue #24695 : Fix a regression in traceback.print_exception()
...
If exc_traceback is None we shouldn't print a traceback header
like described in the documentation.
2015-07-24 17:37:27 +03:00
Berker Peksag
c3f417dc47
Issue #24695 : Fix a regression in traceback.print_exception()
...
If exc_traceback is None we shouldn't print a traceback header
like described in the documentation.
2015-07-24 17:36:21 +03:00
Serhiy Storchaka
e0fcf2d205
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:07:12 +03:00
Serhiy Storchaka
c19bb3279c
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:05:59 +03:00
Serhiy Storchaka
178f0b6ddc
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:02:53 +03:00
Raymond Hettinger
9f4b8605e6
Issue #24300 : Minor refactoring.
2015-07-24 00:43:44 -04:00
Meador Inge
f98c35a816
Issue #24485 : Function source inspection fails on closures.
...
The fix for Issue #21217 introduced a regression that caused
`inspect.getsource` to return incorrect results on nested
functions. The root cause of the regression was due to
switching the implementation to analyze the underlying
bytecode instead of the source code.
This commit switches things back to analyzing the source code
in a more complete way. The original bug and the regression
are both fixed by the new source code analysis.
2015-07-23 22:52:49 -05:00
Meador Inge
5b718d7f4f
Issue #24485 : Function source inspection fails on closures.
...
The fix for Issue #21217 introduced a regression that caused
`inspect.getsource` to return incorrect results on nested
functions. The root cause of the regression was due to
switching the implementation to analyze the underlying
bytecode instead of the source code.
This commit switches things back to analyzing the source code
in a more complete way. The original bug and the regression
are both fixed by the new source code analysis.
2015-07-23 22:49:37 -05:00
Robert Collins
c6fde85c68
Add versionchanged information for mock_open.
2015-07-24 04:10:49 +12:00
Robert Collins
7039839895
Add versionchanged information for mock_open.
2015-07-24 04:10:27 +12:00
Robert Collins
f79dfe3f25
Add versionchanged information for mock_open.
2015-07-24 04:09:59 +12:00
Robert Collins
5869185381
Issue #21750 : Further fixup to be styled like other mock APIs.
2015-07-24 03:49:01 +12:00
Robert Collins
88ba360c88
Issue #21750 : Further fixup to be styled like other mock APIs.
2015-07-24 03:48:45 +12:00
Robert Collins
ca647ef60a
Issue #21750 : Further fixup to be styled like other mock APIs.
2015-07-24 03:48:20 +12:00
Yury Selivanov
5661316e4d
Sync NEWS (re removed inspect.getargspec and inspect.getmoduleinfo)
2015-07-23 17:51:34 +03:00
Yury Selivanov
6dfbc5d98e
Issue #13248 : Remove inspect.getmoduleinfo() from 3.6 (deprecated in 3.3)
2015-07-23 17:49:00 +03:00
Yury Selivanov
f1b5ccb993
Issue #13248 : Remove inspect.getargspec from 3.6 (deprecated from 3.0)
2015-07-23 17:36:02 +03:00
Yury Selivanov
28cff18ded
Merge 3.5 (issues #21217 , #24485 ).
2015-07-23 17:10:24 +03:00
Yury Selivanov
4f4913b38b
Issue #24485 : Revert backwards compatibility breaking changes of #21217 .
2015-07-23 17:10:00 +03:00
Yury Selivanov
56786c9ea2
Merge 3.5 (Issue #24692 )
2015-07-23 15:58:57 +03:00
Yury Selivanov
4887523c03
Issue #24692 : Add more tests for types.coroutine
2015-07-23 15:58:37 +03:00
Yury Selivanov
38d3876bfb
Merge 3.5 (Issue #24619 )
2015-07-23 15:02:25 +03:00
Yury Selivanov
96ec934e75
Issue #24619 : Simplify async/await tokenization.
...
This commit simplifies async/await tokenization in tokenizer.c,
tokenize.py & lib2to3/tokenize.py. Previous solution was to keep
a stack of async-def & def blocks, whereas the new approach is just
to remember position of the outermost async-def block.
This change won't bring any parsing performance improvements, but
it makes the code much easier to read and validate.
2015-07-23 15:01:58 +03:00
Raymond Hettinger
70559b5c20
Issue #24681 : Move the store of so->table to the code block where it is used.
2015-07-23 07:42:23 -04:00
Yury Selivanov
6d35043e49
Merge 3.5 (Issue #24687 )
2015-07-23 09:11:13 +03:00
Yury Selivanov
f315c1c016
Issue #24687 : Plug refleak on SyntaxError in function parameters annotations.
2015-07-23 09:10:44 +03:00
Yury Selivanov
9b7a2445d9
Merge 3.5 (Issue #24688 )
2015-07-23 08:55:07 +03:00