Yury Selivanov
ab7cc7598a
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:30:15 -04:00
Yury Selivanov
77a8cd65be
Issue #23572 : Fixed functools.singledispatch on classes with falsy metaclasses.
...
Patch by Ethan Furman.
2015-08-18 14:20:00 -04:00
Victor Stinner
7a0eadc6d5
(Merge 3.5) cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:48 -07:00
Victor Stinner
1e26dc7ef6
(Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:23:16 -07:00
Victor Stinner
6579459d4b
cgi.FieldStorage.read_multi ignores Content-Length
...
Issue #24764 : cgi.FieldStorage.read_multi() now ignores the Content-Length
header in part headers. Patch written by Peter Landry and reviewed by Pierre
Quentel.
2015-08-18 10:21:10 -07:00
Yury Selivanov
7ca6c55a4e
Issue #24867 : Fix asyncio.Task.get_stack() for 'async def' coroutines
2015-08-17 14:46:51 -04:00
Terry Jan Reedy
755cb0ae8d
Idle NEWS entries.
2015-08-16 22:15:09 -04:00
Terry Jan Reedy
a3611751f6
Idle NEWS entries.
2015-08-16 22:14:05 -04:00
Terry Jan Reedy
2756d8aa11
Idle NEWS entries.
2015-08-16 22:12:36 -04:00
Terry Jan Reedy
92491af4e5
Merge with 3.5
2015-08-16 21:55:13 -04:00
Terry Jan Reedy
ac28169696
Merge with 3.4
2015-08-16 21:54:58 -04:00
Terry Jan Reedy
a350e856c3
Issue #23672 : ACKS
2015-08-16 21:54:39 -04:00
Robert Collins
61e767b8fb
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:35 +12:00
Robert Collins
5409177b62
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:19:19 +12:00
Robert Collins
9644f2450d
Issue #24774 : Fix docstring in http.server.test.
...
Patch from Chiu-Hsiang Hsu.
2015-08-17 12:18:35 +12:00
Raymond Hettinger
ca3788c2e8
Issue #24874 : Speed-up itertools and make it pickles more compact.
2015-08-16 14:49:24 -07: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
Raymond Hettinger
79c878d5f2
Fix crash in itertools.cycle.__setstate__() caused by lack of type checking.
...
Will backport after the 3.6 release is done.
2015-08-15 13:51:59 -07:00
Yury Selivanov
14f7b8bfb2
Merge 3.5 (issue #24867 )
2015-08-14 15:35:14 -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
7126eaa2d1
Issue #21159 : Improve message in configparser.InterpolationMissingOptionError.
...
Patch from Łukasz Langa.
2015-08-14 11:50:14 +12: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
587748e271
Merge: #21167 : Fix definition of NAN when ICC used without -fp-model strict.
2015-08-13 10:07:54 -04: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
3286718708
Issue #23725 : Overhaul tempfile docs.
...
Patch from Zbigniew Jędrzejewski-Szmek.
2015-08-13 11:38:44 +12: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
Robert Collins
df395991f6
Issue #9232 : Support trailing commas in function declarations.
...
For example, "def f(*, a = 3,): pass" is now legal.
Patch from Mark Dickinson.
2015-08-12 08:00:06 +12: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
Robert Collins
dfa95c9a8f
Issue #20059 : urllib.parse raises ValueError on all invalid ports.
...
Patch by Martin Panter.
2015-08-10 09:53:30 +12:00
Serhiy Storchaka
846a1487cb
Backed out changeset 42e2e67b8e6f
2015-08-09 13:44:04 +03:00
Serhiy Storchaka
57fbec8c7c
Added section for 3.5.0rc1 in Misc/NEWS and moved relevant entities to it.
2015-08-09 13:33:51 +03:00
Serhiy Storchaka
902ad3cfa7
Fixed doubled spaces in Misc/NEWS.
2015-08-09 13:12:49 +03: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
224d403050
Issue #24824 : Signatures of codecs.encode() and codecs.decode() now are
...
compatible with pydoc.
2015-08-09 12:25:07 +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
Stefan Krah
5f35725fb8
Merge #15944 .
2015-08-08 13:38:59 +02: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
5060bc51ca
Merge from 3.5 (issue #24667 ).
2015-08-07 17:47:35 -06:00
Eric Snow
8c7f9558eb
Issue #24667 : Resize odict in all cases that the underlying dict resizes.
2015-08-07 17:45:12 -06:00
Robert Collins
8e9f9852be
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:34:23 +12: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
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
2b347a8f1d
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:17:27 +03: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
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
14acf5f41d
Issue #24791 : Fix grammar regression for call syntax: 'g(*a or b)'.
2015-08-05 17:54:10 -04:00
Steve Dower
31202eaa5c
Issue #24798 : _msvccompiler.py doesn't properly support manifests
2015-08-05 11:39:19 -07: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
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
94b17d7685
Merge issue #24129 from 3.5
2015-08-05 23:24:55 +10:00
Nick Coghlan
73c6f64a5e
Merge issue #24129 from 3.4
2015-08-05 23:23:24 +10: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
Guido van Rossum
a9d77fad34
Issue #23973 : Update typing.py from GitHub repo. (Merge from 3.5.)
2015-08-05 12:13:11 +02:00
Guido van Rossum
d70fe639c1
Issue #23973 : Update typing.py from GitHub repo.
2015-08-05 12:11:06 +02:00
Zachary Ware
6e435e2d11
Closes #24751 : Merge with 3.5
2015-08-04 21:59:09 -05:00
Zachary Ware
40648838b2
Issue #24751 : Merge with 3.4
2015-08-04 21:58:00 -05: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
8c81711d6c
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:32:11 +12:00
Robert Collins
b3ca31f5f1
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:28:53 +12:00
Robert Collins
1ae28d2ff3
Issue #20769 : Improve reload() docs. Patch by Dorian Pula.
2015-08-05 08:20:53 +12:00
Robert Collins
a5ffba00ab
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:58 +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
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
55b88700d2
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:07:21 +12:00
Robert Collins
f3d9c315b6
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:07: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
78f02a5f72
Closes #23652 : Merge with 3.5
2015-08-01 21:38:53 -05:00
Zachary Ware
1824544d82
Issue #23652 : Merge with 3.4
2015-08-01 21:38:04 -05: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
8efb76fb39
Merge with 3.5
2015-08-01 19:15:28 -04:00
Terry Jan Reedy
dba51b8378
Issue 24745: Add ACKS entry.
2015-08-01 19:15:11 -04:00
Terry Jan Reedy
1c837f4010
Issue 24745: Add ACKS entry.
2015-08-01 19:12:37 -04:00
Terry Jan Reedy
99b80b5072
Merge with 3.5
2015-07-31 22:35:15 -04:00
Terry Jan Reedy
26f667676f
Merge with 3.4
2015-07-31 22:35:00 -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
354b6e50bb
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:20:04 +12: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
2080dc97a7
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:18:22 +12:00
Robert Collins
2808e441c5
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 09:02:09 +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
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
Berker Peksag
76b1714be8
Issue #24360 : Improve __repr__ of argparse.Namespace() for invalid identifiers.
...
Patch by Matthias Bussonnier.
2015-07-29 23:51:47 +03:00
Jason R. Coombs
ada5578f95
Merge with 3.5 for Issue #24729
2015-07-29 14:29:47 -04:00
Jason R. Coombs
0598da39ec
Merge with 3.4 for Issue #24729
2015-07-29 14:29:26 -04:00
Jason R. Coombs
dcf841b78e
Merge
2015-07-29 14:25:58 -04:00
Robert Collins
8ed4818289
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:20:21 +12:00
Robert Collins
f8d5063645
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:16:46 +12: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
e625e7c793
Merge 3.5 (Misc/ACKS)
2015-07-29 14:41:02 +02:00
Victor Stinner
991d1d3e4a
Merge 3.4 (Misc/ACKS)
2015-07-29 14:40:53 +02:00
Victor Stinner
111803c038
Issue #23319 : Add Matthieu Gautier to Misc/ACKS
2015-07-29 14:40:38 +02:00
Victor Stinner
245edd4d52
Merge 3.5 (ctypes)
2015-07-29 14:36:03 +02:00
Victor Stinner
5ef6fde92c
Merge 3.4 (ctypes)
2015-07-29 14:35:12 +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
34a0105bee
Issue #19450 : merge from 3.5
2015-07-28 23:29:51 -07:00
Ned Deily
e0374c7a03
Issue #19450 : merge from 3.4
2015-07-28 23:25:41 -07: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
d32a944037
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:55:33 +12: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
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
4e167ca7c1
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:09:40 -07: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
Robert Collins
c6d9228290
Issue #23426 : run_setup was broken in distutils.
...
Patch from Alexander Belopolsky.
2015-07-28 15:55:07 +12:00
Berker Peksag
d7a094c1ce
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:49 +03: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
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
3e1770f5f3
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:46:42 +12:00
Robert Collins
f66f4208b7
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:54 +12:00
Robert Collins
ddc7440b0e
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:01 +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
0ccf208653
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:03:16 +03: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
Serhiy Storchaka
83236f7a8b
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:01:22 +03:00
Larry Hastings
164df4e51a
Version bump for Python 3.5.0b4.
2015-07-25 14:22:13 -07: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
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
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
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
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
Yury Selivanov
5661316e4d
Sync NEWS (re removed inspect.getargspec and inspect.getmoduleinfo)
2015-07-23 17:51:34 +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
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
Yury Selivanov
2f07a66ded
Issue #24688 : ast.get_docstring() for 'async def' functions.
2015-07-23 08:54:35 +03:00
Robert Collins
8b73e6197e
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:40:13 +12:00
Robert Collins
38de40db00
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:39:06 +12:00
Robert Collins
e02f6c20ff
Issue #22153 : Improve unittest docs. Patch from Martin Panter and evilzero.
2015-07-23 06:37:26 +12:00
Robert Collins
d4f4a6dddb
Issue #13938 : 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
2015-07-23 06:19:18 +12:00
Robert Collins
9e1bf4968f
Issue #8585 : improved tests for zipimporter2. Patch from Mark Lawrence.
2015-07-23 02:57:56 +12:00
Yury Selivanov
3f1701a1fb
Merge 3.5 (Issue #24619 )
2015-07-22 13:38:18 +03: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
bdaaf49cea
Issue #24603 : Merge with 3.5
2015-07-21 23:28:28 -05:00
Zachary Ware
80acc3ebbc
Issue #24603 : Update the Windows build to use OpenSSL 1.0.2d
2015-07-21 23:27:08 -05:00
Zachary Ware
689b55c1cb
Issue #24603 : Update the Windows build to use OpenSSL 1.0.2d
2015-07-21 23:20:47 -05:00
Yury Selivanov
8d603f1796
Merge 3.5 (Issue #24669 )
2015-07-21 19:04:22 +03: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
Ethan Furman
ad1a34197e
Close issue6549: minor ttk.Style fixes
2015-07-21 00:54:19 -07:00
Serhiy Storchaka
c8fe04484e
Issue #23573 : Restored optimization of bytes.rfind() and bytearray.rfind()
...
for single-byte argument on Linux.
2015-07-20 22:58:29 +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
498b5e98e9
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:37:31 +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
44a5cd654d
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:21:16 +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
3018cc49e8
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:19:05 +03:00
Serhiy Storchaka
5324f65c3c
Fixed typos in Misc/NEWS.
2015-07-18 23:18:49 +03:00
Serhiy Storchaka
f12e3e2b69
Fixed typos in Misc/NEWS.
2015-07-18 23:18:33 +03:00
Robert Collins
ccea2d6d99
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:57 +12: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
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
71f89216c4
Merge 3.5
2015-07-16 22:21:11 +02:00
Victor Stinner
8cc80f1d81
Merge 3.4
2015-07-16 22:20:19 +02:00
Victor Stinner
579db160b3
Closes #23247 : Fix a crash in the StreamWriter.reset() of CJK codecs
2015-07-16 22:17:31 +02:00
Raymond Hettinger
d702044bcd
merge
2015-07-15 23:52:29 -07:00
Raymond Hettinger
a3626bc5bd
Issue #24583 : Fix crash when set is mutated while being updated.
2015-07-15 23:50:14 -07:00
Serhiy Storchaka
3a22908659
Issue #24631 : Fixed regression in the timeit modulu with multyline setup.
2015-07-15 22:12:33 +03:00
Serhiy Storchaka
ced770da07
Issue #24631 : Fixed regression in the timeit modulu with multyline setup.
2015-07-15 22:11:36 +03:00
Robert Collins
a7282c0ff7
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:51:22 +12:00
Robert Collins
76d508b5d4
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:49:43 +12: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
Robert Collins
f58f88c4c7
Issue #23661 : unittest.mock side_effects can now be exceptions again.
...
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Robert Collins
a3fffb0539
Issue #23661 : unittest.mock side_effects can now be exceptions again.
...
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Charles-François Natali
dc87e4b885
Issue #23530 : Improve os.cpu_count() description.
...
Patch by Julian Taylor.
2015-07-13 21:01:39 +01:00
Serhiy Storchaka
e5505175e5
Issue #24608 : chunk.Chunk.read() now always returns bytes, not str.
2015-07-10 22:26:44 +03:00
Serhiy Storchaka
05121159b3
Issue #24608 : chunk.Chunk.read() now always returns bytes, not str.
2015-07-10 22:26:08 +03:00
Serhiy Storchaka
d44768ff16
Issue #24608 : chunk.Chunk.read() now always returns bytes, not str.
2015-07-10 22:24:47 +03:00
Barry Warsaw
f5b062997b
- Issue #15014 : SMTP.auth() and SMTP.login() now support RFC 4954's optional
...
initial-response argument to the SMTP AUTH command.
2015-07-09 10:42:37 -04:00
Barry Warsaw
c5ea754e48
- Issue #15014 : SMTP.auth() and SMTP.login() now support RFC 4954's optional
...
initial-response argument to the SMTP AUTH command.
2015-07-09 10:39:55 -04:00
Serhiy Storchaka
6d7cfadc6b
Corrected empty lines in Misc/NEWS.
2015-07-06 20:04:21 +03:00
Serhiy Storchaka
958b3cc8c7
Corrected empty lines in Misc/NEWS.
2015-07-06 20:02:50 +03:00
Serhiy Storchaka
ebbdb7d3d7
Corrected empty lines in Misc/NEWS.
2015-07-06 19:58:11 +03:00
Serhiy Storchaka
5bccb29de5
Issue #18684 : Fixed reading out of the buffer in the re module.
2015-07-06 14:23:04 +03:00
Serhiy Storchaka
02eae6b1f2
Issue #18684 : Fixed reading out of the buffer in the re module.
2015-07-06 14:03:01 +03:00
Serhiy Storchaka
03d6ee3823
Issue #18684 : Fixed reading out of the buffer in the re module.
2015-07-06 13:58:33 +03:00
Lars Gustäbel
7afe40e40e
Merge with 3.5: Issue #24259 : tarfile now raises a ReadError if an archive is truncated inside a data segment.
2015-07-06 09:32:05 +02:00
Lars Gustäbel
e12aa62d68
Merge with 3.4: Issue #24259 : tarfile now raises a ReadError if an archive is truncated inside a data segment.
2015-07-06 09:29:41 +02:00
Lars Gustäbel
0357268d96
Issue #24259 : tarfile now raises a ReadError if an archive is truncated inside a data segment.
2015-07-06 09:27:24 +02:00
Ned Deily
da2d51f97a
merge 3.5.0b3 changes from 3.5
2015-07-05 11:17:43 -07:00
Larry Hastings
ab30353adb
Merge with ongoing work in 3.5 branch.
2015-07-05 10:31:09 -07:00
Larry Hastings
b34db6ad9b
Post-release fixes for Python 3.5.0b3.
2015-07-05 10:26:00 -07:00
Benjamin Peterson
9f71cb0fee
merge 3.5 ( #24569 )
2015-07-05 10:38:05 -05:00
Benjamin Peterson
d5d77aac60
set items in dict displays from left to right ( closes #24569 )
2015-07-05 10:37:25 -05:00
Benjamin Peterson
1554b17856
add news section for next beta
2015-07-05 10:37:00 -05:00
Benjamin Peterson
191a8f0a34
merge heads
2015-07-04 22:53:45 -05:00
Benjamin Peterson
63eaf7b73d
merge heads
2015-07-04 22:53:11 -05:00
Benjamin Peterson
1da0612e70
merge heads
2015-07-04 22:52:33 -05:00
Benjamin Peterson
d34c246baf
merge 3.5 ( #24407 )
2015-07-04 19:59:50 -05:00
Benjamin Peterson
e54d5321cc
merge 3.4 ( #24407 )
2015-07-04 19:59:24 -05:00
Benjamin Peterson
2a48a6eb33
merge 3.3 ( #24407 )
2015-07-04 19:58:11 -05:00
Benjamin Peterson
a82f77fb00
protect against mutation of the dict during insertion ( closes #24407 )
2015-07-04 19:55:16 -05:00
Ned Deily
a84e1e929f
Issue #24432 : merge from 3.5
2015-07-03 23:47:02 -07:00
Ned Deily
704dde196c
Issue #24432 : Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.
2015-07-03 23:43:22 -07:00
Ned Deily
0454d48e02
Issue #24432 : Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c.
2015-07-03 23:35:00 -07:00
Steve Dower
df418b67ab
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:17:17 -07:00
Steve Dower
f92673c254
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:16:37 -07:00
Steve Dower
a09ef0389b
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:13:48 -07:00
Yury Selivanov
d48fb485d9
Merge 3.5 (Issue #24400 )
2015-07-03 13:11:54 -04:00
Yury Selivanov
fdbeb2b4b6
Issue #24400 : Resurrect inspect.isawaitable()
...
collections.abc.Awaitable and collections.abc.Coroutine no longer
use __instancecheck__ hook to detect generator-based coroutines.
inspect.isawaitable() can be used to detect generator-based coroutines
and to distinguish them from regular generator objects.
2015-07-03 13:11:35 -04:00
Nick Coghlan
11e6d79eca
Merge fix for #24458 from 3.5
2015-07-03 19:52:05 +10:00
Nick Coghlan
2ab5b092e5
Close #24458 : PEP 489 documentation
...
Patch by Petr Viktorin.
2015-07-03 19:49:15 +10:00
Yury Selivanov
bb215e2300
Merge 3.5 (Issue #19235 )
2015-07-03 01:10:11 -04:00
Yury Selivanov
f488fb422a
Issue #19235 : Add new RecursionError exception. Patch by Georg Brandl.
2015-07-03 01:04:23 -04:00
Yury Selivanov
d6d0b5b1fa
Merge 3.5 (Issue #24450 )
2015-07-03 00:24:14 -04:00
Yury Selivanov
e13f8f3cab
Issue #24450 : Add gi_yieldfrom to generators; cr_await to coroutines.
...
Patch by Benno Leslie and Yury Selivanov.
2015-07-03 00:23:30 -04:00
Benjamin Peterson
09dd773c13
merge 3.5 ( #24552 )
2015-07-02 16:19:05 -05:00
Benjamin Peterson
42e913aa3a
merge 3.4 ( #24552 )
2015-07-02 16:18:58 -05:00
Benjamin Peterson
80f78a3efc
fix use after free ( closes #24552 )
2015-07-02 16:18:38 -05:00
Lars Gustäbel
60eaba04cd
Merge with 3.5: Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:42:09 +02:00
Lars Gustäbel
49c521fd5d
Merge with 3.4: Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:41:03 +02:00
Lars Gustäbel
b7a688b3a4
Issue #24514 : tarfile now tolerates number fields consisting of only whitespace.
2015-07-02 19:38:38 +02:00
Yury Selivanov
84b31c988f
Merge 3.5 (NEWS)
2015-06-30 18:25:55 -04:00
Yury Selivanov
88632d72f2
Note removal of inspect.isawaitable() in the NEWS file
2015-06-30 18:25:36 -04:00
Serhiy Storchaka
c28e985f3c
Issue #19176 : Fixed doctype() related bugs in C implementation of ElementTree.
...
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method. Direct call of doctype() now issues a warning. Parser's
doctype() now is not called if target's doctype() is called. Based on patch
by Martin Panter.
2015-06-29 23:11:51 +03:00
Serhiy Storchaka
4a01cab898
Issue #19176 : Fixed doctype() related bugs in C implementation of ElementTree.
...
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method. Direct call of doctype() now issues a warning. Parser's
doctype() now is not called if target's doctype() is called. Based on patch
by Martin Panter.
2015-06-29 23:08:52 +03:00
Serhiy Storchaka
05744ac6e0
Issue #19176 : Fixed doctype() related bugs in C implementation of ElementTree.
...
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method. Direct call of doctype() now issues a warning. Parser's
doctype() now is not called if target's doctype() is called. Based on patch
by Martin Panter.
2015-06-29 22:35:58 +03:00
Serhiy Storchaka
81da944d61
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:18:55 +03:00
Serhiy Storchaka
bc9e75ed02
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:18:01 +03:00
Serhiy Storchaka
7b6e3b91f5
Issue #24467 : Fixed possible buffer over-read in bytearray. The bytearray
...
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.
2015-06-29 21:14:06 +03:00
Jason R. Coombs
cbc50d96b8
Issue #20387 : Merge with 3.5
2015-06-28 11:15:13 -04:00
Jason R. Coombs
a95a476b3a
Issue #20387 : Merge test and patch from 3.4.4
2015-06-28 11:13:30 -04:00
Jason R. Coombs
50373e6c21
Issue #20387 : Merge
2015-06-28 11:10:29 -04:00
Serhiy Storchaka
1e8d91adfe
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module.
2015-06-28 17:56:28 +03:00
Serhiy Storchaka
b9b9e7b46a
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module.
2015-06-28 17:55:33 +03:00
Serhiy Storchaka
449e2be12b
Issue #24456 : Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
...
functions of the audioop module.
2015-06-28 17:52:09 +03:00
Jason R. Coombs
80c29ac1ea
Issue #20387 : Merge patch and test
2015-06-28 10:23:11 -04:00
Serhiy Storchaka
9aad9f2740
Issue #24336 : The contextmanager decorator now works with functions with
...
keyword arguments called "func" and "self". Patch by Martin Panter.
2015-06-28 17:09:11 +03:00
Serhiy Storchaka
eab7704044
Issue #24336 : The contextmanager decorator now works with functions with
...
keyword arguments called "func" and "self". Patch by Martin Panter.
2015-06-28 17:08:35 +03:00