Robert Collins
9644f2450d
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:18:35 +12:00
R David Murray
803502c56b
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-15 18:33:45 -04:00
Yury Selivanov
bb78adeece
Merge 3.4 (Issue #24867 )
2015-08-14 15:32:37 -04:00
Brett Cannon
7c97a05618
Merge from 3.5.0 for issue #24492
2015-08-14 11:06:43 -07:00
Robert Collins
f7a92673ab
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:47:41 +12:00
Robert Collins
ac37ba0742
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:11:35 +12:00
R David Murray
c77088d055
Merge: #21167 : Fix definition of NAN when ICC used without -fp-model strict.
2015-08-13 10:04:21 -04:00
R David Murray
edbc28ce81
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:58:07 -04:00
Robert Collins
2ebdc13d11
Issue #23725 : Overhaul tempfile docs.
...
Patch from Zbigniew Jędrzejewski-Szmek.
2015-08-13 11:38:02 +12:00
larry
6707906ea5
Merged in brettcannon/cpython350/3.5 (pull request #2 )
...
Issue #24492 : make sure that ``from ... import ...` raises an ImportError if __name__ is not defined on a package.
2015-08-11 18:59:15 -07:00
Steve Dower
9b8a1fa023
Issue #24847 : Fixes tcltk installer layout of VC runtime DLL
2015-08-11 18:49:13 -07:00
Brett Cannon
3008bc0f4a
Issue #24492 : make sure that ``from ... import ...` raises an
...
ImportError if __name__ is not defined on a package.
Thanks to Armin Rigo for the bug report and diagnosing the cause.
2015-08-11 18:01:31 -07:00
Steve Dower
cae101f5ec
Issue #24839 : platform._syscmd_ver raises DeprecationWarning
2015-08-10 20:57:37 -07:00
Larry Hastings
2ab6ddb19d
Post-release bump for Python 3.5.0rc1.
2015-08-10 18:03:52 -07:00
Serhiy Storchaka
89e51221b6
Fixed doubled spaces in Misc/NEWS.
2015-08-09 13:11:36 +03:00
Serhiy Storchaka
054d3cdde8
Fixed doubled spaces in Misc/NEWS.
2015-08-09 13:07:18 +03:00
Serhiy Storchaka
c97a962e08
Issue #24824 : Signatures of codecs.encode() and codecs.decode() now are
...
compatible with pydoc.
2015-08-09 12:23:08 +03:00
Robert Collins
d84b29f805
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:22:54 +12:00
Berker Peksag
86b34da5ef
Issue #23004 : mock_open() now reads binary data correctly when the type of read_data is bytes.
...
Initial patch by Aaron Hill.
2015-08-06 13:15:51 +03:00
Yury Selivanov
3fc0f2d288
Issue #23812 : Fix asyncio.Queue.get() to avoid loosing items on cancellation.
...
Patch by Gustavo J. A. M. Carneiro.
2015-08-05 13:52:33 -04:00
Nick Coghlan
91e561aa77
Issue #24129 : Clarify reference docs for name resolution.
...
This includes removing the assumption that readers will be familiar with the
name resolution scheme Python used prior to the introduction of lexical
scoping for function namespaces.
Patch by Ivan Levkivskyi.
2015-08-05 23:07:24 +10:00
Zachary Ware
920a335e97
Issue #24751 : When running regrtest with '-w', don't fail if re-run succeeds.
2015-08-04 21:54:54 -05:00
Robert Collins
1ae28d2ff3
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:20:53 +12:00
Robert Collins
2fee5c9367
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:06 +12:00
Robert Collins
a0e5d981cd
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:06:29 +12:00
Zachary Ware
3e77677692
Issue #23652 : Make the select module compile against LSB headers.
...
Patch by Matt Frank.
2015-08-01 21:34:05 -05:00
Terry Jan Reedy
1c837f4010
Issue 24745: Add ACKS entry.
2015-08-01 19:12:37 -04:00
Terry Jan Reedy
231007fe14
Issue #21192 : Idle Editor. When a file is run, put its name in the restart bar.
...
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:37 -04:00
Robert Collins
2080dc97a7
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:18:22 +12:00
Robert Collins
5ccc18f298
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 08:59:02 +12:00
Jason R. Coombs
dcf841b78e
Merge
2015-07-29 14:25:58 -04:00
Robert Collins
bd4dd54737
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:14:32 +12:00
Jason R. Coombs
842c07414e
Issue #24729 : Correct reference to open function.
2015-07-29 14:04:36 -04:00
Victor Stinner
111803c038
Issue #23319 : Add Matthieu Gautier to Misc/ACKS
2015-07-29 14:40:38 +02:00
Victor Stinner
9c631a0f71
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:33:52 +02:00
Ned Deily
bb1c079657
Issue #19450 : Update OS X installer builds to use SQLite 3.8.11.
2015-07-28 23:22:23 -07:00
Robert Collins
1ee9283254
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:52:40 +12:00
Steve Dower
54d361fd86
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:05:18 -07:00
Raymond Hettinger
acd61b6e40
Issue #24735 : Fix invalid memory access in combinations_with_replacement()
2015-07-28 02:05:44 -07:00
Berker Peksag
aaf6114b37
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:06:31 +03:00
Robert Collins
ddc7440b0e
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:01 +12:00
Serhiy Storchaka
83236f7a8b
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:01:22 +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
Serhiy Storchaka
178f0b6ddc
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:02:53 +03:00
Robert Collins
e02f6c20ff
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:37:26 +12:00
Zachary Ware
689b55c1cb
Issue #24603 : Update the Windows build to use OpenSSL 1.0.2d
2015-07-21 23:20:47 -05:00
Serhiy Storchaka
3018cc49e8
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:19:05 +03:00
Robert Collins
5329aaa74b
Issue #21750 : mock_open.read_data can now be read from each instance, as it
...
could in Python 3.3.
2015-07-17 20:08:45 +12:00
Victor Stinner
579db160b3
Closes #23247 : Fix a crash in the StreamWriter.reset() of CJK codecs
2015-07-16 22:17:31 +02:00
Robert Collins
b37f43f94b
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:42:28 +12:00
Steve Dower
71a36f735b
Issue #24634 : Importing uuid should not try to load libc on Windows
2015-07-14 13:25:03 -07:00
Stefan Krah
0c51595a78
Issue #15944 : memoryview: Allow arbitrary formats when casting to bytes.
...
Original patch by Martin Panter.
2015-08-08 13:38:10 +02:00
Eric Snow
8c7f9558eb
Issue #24667 : Resize odict in all cases that the underlying dict resizes.
2015-08-07 17:45:12 -06:00
Steve Dower
31202eaa5c
Issue #24798 : _msvccompiler.py doesn't properly support manifests
2015-08-05 11:39:19 -07:00
Robert Collins
00cf3c394a
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:32:15 +12:00
Berker Peksag
abfaecdfdd
Issue #23004 : mock_open() now reads binary data correctly when the type of read_data is bytes.
...
Initial patch by Aaron Hill.
2015-08-06 13:16:52 +03:00
Yury Selivanov
14acf5f41d
Issue #24791 : Fix grammar regression for call syntax: 'g(*a or b)'.
2015-08-05 17:54:10 -04:00
Yury Selivanov
22506d24ee
Issue #23812 : Fix asyncio.Queue.get() to avoid loosing items on cancellation.
...
Patch by Gustavo J. A. M. Carneiro.
2015-08-05 13:55:54 -04:00
Nick Coghlan
73c6f64a5e
Merge issue #24129 from 3.4
2015-08-05 23:23:24 +10:00
Guido van Rossum
d70fe639c1
Issue #23973 : Update typing.py from GitHub repo.
2015-08-05 12:11:06 +02:00
Zachary Ware
40648838b2
Issue #24751 : Merge with 3.4
2015-08-04 21:58:00 -05:00
Robert Collins
b3ca31f5f1
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:28:53 +12:00
Robert Collins
1f9a29f31b
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:43 +12:00
Robert Collins
f3d9c315b6
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:07:06 +12:00
Zachary Ware
1824544d82
Issue #23652 : Merge with 3.4
2015-08-01 21:38:04 -05:00
Terry Jan Reedy
dba51b8378
Issue 24745: Add ACKS entry.
2015-08-01 19:15:11 -04:00
Terry Jan Reedy
26f667676f
Merge with 3.4
2015-07-31 22:35:00 -04:00
Robert Collins
19fae1a932
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:19:06 +12:00
Robert Collins
78378e8939
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 09:01:38 +12:00
Jason R. Coombs
0598da39ec
Merge with 3.4 for Issue #24729
2015-07-29 14:29:26 -04:00
Robert Collins
f8d5063645
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:16:46 +12:00
Victor Stinner
991d1d3e4a
Merge 3.4 (Misc/ACKS)
2015-07-29 14:40:53 +02:00
Victor Stinner
5ef6fde92c
Merge 3.4 (ctypes)
2015-07-29 14:35:12 +02:00
Ned Deily
e0374c7a03
Issue #19450 : merge from 3.4
2015-07-28 23:25:41 -07:00
Robert Collins
f7e3b5e153
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:53:30 +12:00
Steve Dower
4e167ca7c1
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:09:40 -07:00
Berker Peksag
0659c43d73
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:08:24 +03:00
Robert Collins
f66f4208b7
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:54 +12:00
Larry Hastings
71427eea74
Merge Python 3.5.0b4 changes back with 3.5 branch head.
2015-07-26 07:59:45 -07:00
Larry Hastings
3d1dc904f4
Post-release updates for Python 3.5.0b4.
2015-07-26 07:55:08 -07:00
Serhiy Storchaka
f002225f7e
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:02:23 +03:00
Larry Hastings
164df4e51a
Version bump for Python 3.5.0b4.
2015-07-25 14:22:13 -07: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
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
Ned Deily
71f70b8f1a
Issue #24603 : merge from 3.4
2015-07-24 16:24:47 -07: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
c19bb3279c
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:05:59 +03: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
Yury Selivanov
4f4913b38b
Issue #24485 : Revert backwards compatibility breaking changes of #21217 .
2015-07-23 17:10:00 +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
2f07a66ded
Issue #24688 : ast.get_docstring() for 'async def' functions.
2015-07-23 08:54:35 +03:00
Robert Collins
38de40db00
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:39:06 +12:00
Yury Selivanov
8fb307cd65
Issue #24619 : New approach for tokenizing async/await.
...
This commit fixes how one-line async-defs and defs are tracked
by tokenizer. It allows to correctly parse invalid code such
as:
>>> async def f():
... def g(): pass
... async = 10
and valid code such as:
>>> async def f():
... async def g(): pass
... await z
As a consequence, is is now possible to have one-line
'async def foo(): await ..' functions:
>>> async def foo(): return await bar()
2015-07-22 13:33:45 +03:00
Zachary Ware
80acc3ebbc
Issue #24603 : Update the Windows build to use OpenSSL 1.0.2d
2015-07-21 23:27:08 -05:00
Yury Selivanov
e4e811d65b
Issue #24669 : Fix inspect.getsource() for 'async def' functions.
...
Patch by Kai Groner.
2015-07-21 19:01:52 +03:00
Serhiy Storchaka
d92d4efe3d
Issue #23573 : Restored optimization of bytes.rfind() and bytearray.rfind()
...
for single-byte argument on Linux.
2015-07-20 22:58:02 +03:00
Serhiy Storchaka
485407ce1e
Issue #24580 : Symbolic group references to open group in re patterns now are
...
explicitly forbidden as well as numeric group references.
2015-07-18 23:27:00 +03:00
Serhiy Storchaka
2489bd5d4e
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:20:50 +03:00
Serhiy Storchaka
f12e3e2b69
Fixed typos in Misc/NEWS.
2015-07-18 23:18:33 +03:00
Robert Collins
4838717b53
Issue #21750 : mock_open.read_data can now be read from each instance, as it
...
could in Python 3.3.
2015-07-17 20:10:23 +12:00