Commit Graph

17593 Commits

Author SHA1 Message Date
Larry Hastings 9783e443bc Misc/NEWS needs a Python 3.5.0rc3 section in 3.5 and trunk. 2015-08-25 17:21:22 -07:00
Larry Hastings 45d1c00831 Merge from 3.5 (with 3.5.0rc2 changes) into default (3.6). Messy! 2015-08-25 14:21:59 -07:00
Larry Hastings 06a7d611da Merge from Python 3.5.0 (rc2) to Python 3.5.1. 2015-08-25 14:13:55 -07:00
Larry Hastings 9126d5499e Added missing #-marks to Misc/NEWS lines. 2015-08-25 14:08:21 -07:00
Larry Hastings abcf3a128e Added missing IDLE updates to Misc/NEWS that shipped with Python 3.5.0rc1. 2015-08-25 13:51:14 -07:00
Larry Hastings b96646684e Move misplaced Misc/NEWS item from 3.5.0rc1 to 3.5.0rc2. 2015-08-25 13:41:35 -07:00
Larry Hastings cd9b2123f6 Add missing Misc/NEWS item for merged pull request for issue #24867. 2015-08-25 13:37:23 -07:00
Larry Hastings a51812ae98 Post-release updates for Python 3.5.0rc2. 2015-08-25 13:30:58 -07:00
Martin Panter ccf426e7e7 Issue #24808: Merge 3.5 into 3.6 2015-08-25 05:41:51 +00:00
Martin Panter 36f22a2820 Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async field 2015-08-25 05:25:21 +00:00
Martin Panter 78d5033337 Issue #24808: Update the documentation of some PyTypeObject fields
Patch by Joseph Weston.
2015-08-25 05:06:39 +00:00
Berker Peksag 2a8fb58604 Issue #10708: Add a link to devguide in Misc/Porting. 2015-08-25 07:18:42 +03:00
Berker Peksag ef4554f716 Issue #10708: Add a link to devguide in Misc/Porting. 2015-08-25 07:18:21 +03:00
Larry Hastings e6c6f69ac9 Version bump for Python 3.5.0rc2. 2015-08-24 20:31:53 -07:00
Larry Hastings 1df0b35e3d Issue #24769: Interpreter now starts properly when dynamic loading
is disabled.  Patch by Petr Viktorin.
2015-08-24 19:53:56 -07:00
Larry Hastings 7250d02b73 Merged in 1st1/cpython350 (pull request #5)
Issue #24867: Fix asyncio.Task.get_stack() for 'async def' coroutines
2015-08-24 16:53:45 -07:00
Larry Hastings 90f5bca3b6 Merged in stevedower/cpython350 (pull request #6)
Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk.
2015-08-24 16:47:56 -07:00
Robert Collins d949e5b057 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:15:49 +12:00
Robert Collins 478eadc5f3 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:15:05 +12:00
Robert Collins a2b0055396 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:14:28 +12:00
Robert Collins 4bffa5fa3a Issue #24633: site-packages/README -> README.txt. 2015-08-24 11:46:56 +12:00
Robert Collins f01b16c1fe Issue #20362: Honour TestCase.longMessage correctly in assertRegex.
Patch from Ilia Kurenkov.
2015-08-20 11:13:38 +12:00
Robert Collins be6caca534 Issue #20362: Honour TestCase.longMessage correctly in assertRegex.
Patch from Ilia Kurenkov.
2015-08-20 11:13:09 +12:00
Steve Dower ab2a34abb7 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-19 08:39:12 -07:00
Raymond Hettinger 95801bbe4e Issue #24879: Teach pydoc to display named tuple fields in the order they were defined. 2015-08-18 22:25:16 -07:00
Steve Dower 9f0cbbc376 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-18 16:00:56 -07:00
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