Commit Graph

37682 Commits

Author SHA1 Message Date
Raymond Hettinger
a166ce561c Add more tests for pickling itertools.cycle 2015-08-15 14:45:49 -07: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
Terry Jan Reedy
fa02bc0d3f Merge with 3.5 2015-08-14 17:00:12 -04:00
Terry Jan Reedy
a0bcfaff9a Merge with 3.4 2015-08-14 16:59:58 -04:00
Terry Jan Reedy
c6dd5b1c66 Issue #24833: Add attribute reference needed for 3.x. 2015-08-14 16:59:42 -04: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
Yury Selivanov
233983380d Issue #24867: Fix Task.get_stack() for 'async def' coroutines 2015-08-14 15:30:59 -04:00
Brett Cannon
d868376288 Merge from 3.5 for issue #24492 2015-08-14 11:09:56 -07:00
Brett Cannon
7c97a05618 Merge from 3.5.0 for issue #24492 2015-08-14 11:06:43 -07:00
Robert Collins
6908265812 Issue #21159: Improve message in configparser.InterpolationMissingOptionError.
Patch from Łukasz Langa.
2015-08-14 20:16: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
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
5b9cd7fa2e Merge from 3.5 2015-08-10 21:01:00 -07:00
Steve Dower
cae101f5ec Issue #24839: platform._syscmd_ver raises DeprecationWarning 2015-08-10 20:57:37 -07:00
Larry Hastings
73b4a7a794 Merged fixes for two bad bugs. This will be the new Python 3.5.0rc1. 2015-08-09 21:37:20 -07:00
Ned Deily
76ba13bf71 Issue #24745: merge from 3.5 2015-08-09 23:23:21 -04:00
Ned Deily
4a3d96cafb Issue #24745: Prevent IDLE initialization crash with Tk 8.4:
"TkFixedFont" does not exist in 8.4.
2015-08-09 23:21:29 -04:00
Yury Selivanov
31978d9ff4 Merge 3.5 (issues #24835, #24763) 2015-08-09 18:22:11 -04:00
Yury Selivanov
131426ebe3 Merge 3.4 (issues #24835, #24763) 2015-08-09 18:21:58 -04:00
Yury Selivanov
9632ea2f26 Issue #24763: Fix asyncio test on Windows (fix reverted change)
See also issue #24835
2015-08-09 18:21:25 -04: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
Larry Hastings
f7ae14f543 Regenerated pydoc topics for Python 3.5.0rc1. 2015-08-09 03:34:21 -07:00
Raymond Hettinger
455b5092a1 Add more tests of hash effectiveness. 2015-08-09 00:35:00 -07:00
Zachary Ware
7c4a6f8bd0 Merge 3.5 2015-08-08 22:05:05 -05:00
Zachary Ware
83ee5a315f Merge 3.4 2015-08-08 22:03:43 -05:00
Zachary Ware
9a47ed8839 regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect anymore 2015-08-08 22:03:27 -05:00
Steve Dower
0f363ff18e Merge with 3.5 2015-08-08 09:13:26 -07: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
Steve Dower
9548f1ee38 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:43 -07:00
Steve Dower
917c2c3654 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:26 -07:00
Steve Dower
3a7ffa7474 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:03 -07: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
Steve Dower
61ddabab49 Issue #24798: _msvccompiler.py doesn't properly support manifests 2015-08-07 14:36:02 -07: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
Yury Selivanov
1720e1fc0b Merge 3.5 (issue #23812) 2015-08-06 14:04:30 -04:00
Yury Selivanov
e03f42717c Merge 3.4 (issue #23812) 2015-08-06 14:04:12 -04:00
Yury Selivanov
159fbdd805 Issue #23812: Fix getter-cancellation with many pending getters code path 2015-08-06 14:03:38 -04: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
Terry Jan Reedy
c7c66c9142 Issue #23672:Merge with 3.5 2015-08-06 00:55:07 -04:00
Terry Jan Reedy
0901d84e35 Issue #23672:Merge with 3.4 2015-08-06 00:54:45 -04:00
Terry Jan Reedy
5c28e9f887 Issue #23672: Allow Idle to edit and run files with astral chars in name.
Patch by Mohd Sanad Zaki Rizvi.
2015-08-06 00:54:07 -04:00