Berker Peksag
d07a1cb53b
Issue #26489 : Add dictionary unpacking support to Tools/parser/unparse.py
...
Patch by Guo Ci Teo.
2016-03-06 16:50:44 +02:00
Berker Peksag
d66dd5ce68
Issue #26489 : Add dictionary unpacking support to Tools/parser/unparse.py
...
Patch by Guo Ci Teo.
2016-03-06 16:50:15 +02:00
Berker Peksag
48238c7e37
Issue #2202 : Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
...
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
2016-03-06 16:17:47 +02:00
Berker Peksag
e88dd1c32c
Issue #2202 : Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
...
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
2016-03-06 16:16:40 +02:00
Serhiy Storchaka
8cc859c103
Issue #26167 : Backported copy tests.
2016-03-06 15:03:07 +02:00
Serhiy Storchaka
818e18dd94
Issue #26167 : Minimized overhead in copy.copy() and copy.deepcopy().
...
Optimized copying and deepcopying bytearrays, NotImplemented, slices,
short lists, tuples, dicts, sets.
2016-03-06 14:56:57 +02:00
Serhiy Storchaka
de128e19e2
Issue #26015 : Added new tests for pickling iterators of mutable sequences.
2016-03-06 14:12:04 +02:00
Serhiy Storchaka
aabafe7bc2
Issue #26015 : Added new tests for pickling iterators of mutable sequences.
2016-03-06 14:10:24 +02:00
Serhiy Storchaka
5608411a96
Issue #25718 : Fixed pickling and copying the accumulate() iterator with total is None.
2016-03-06 14:02:26 +02:00
Serhiy Storchaka
d55162517d
Issue #25718 : Fixed pickling and copying the accumulate() iterator with total is None.
2016-03-06 14:00:45 +02:00
Serhiy Storchaka
a0d416f0d1
Issue #26482 : Allowed pickling recursive dequeues.
2016-03-06 08:55:21 +02:00
Serhiy Storchaka
96c058b4de
Fixed typo in pickle tests.
2016-03-04 09:40:03 +02:00
Serhiy Storchaka
be70002866
Fixed typo in pickle tests.
2016-03-04 09:39:47 +02:00
Benjamin Peterson
0f04bc7959
merge 3.5 ( closes #26478 )
2016-03-03 22:10:52 -08:00
Benjamin Peterson
cfc2a1fc70
merge 3.4 ( closes #26478 )
2016-03-03 22:08:01 -08:00
Benjamin Peterson
f11b25b081
properly use the ObjArgs variant of CallMethod in dictview binary operations ( closes #26478 )
2016-03-03 22:05:36 -08:00
Berker Peksag
6282e656e9
Issue #26335 : Make mmap.write() return the number of bytes written like
...
other write methods.
Patch by Jakub Stasiak.
2016-03-02 19:30:18 +02:00
Yury Selivanov
d2dc15b26b
Merge 3.5 (issue #25888 )
2016-03-02 11:31:06 -05:00
Yury Selivanov
c724bae51c
coroutines: Error when awaiting on coroutine that's being awaited
...
Issue #25888
2016-03-02 11:30:46 -05:00
Yury Selivanov
5604446b3b
Merge 3.5 (issue #26338 )
2016-03-02 11:17:18 -05:00
Yury Selivanov
e076ffb068
asyncio: Remove duplicate bind addresses in create_server.
...
Patch by Sebastien Bourdeauducq (issue #26338 )
2016-03-02 11:17:01 -05:00
Yury Selivanov
06495ffe93
Merge 3.5 (issue #26347 )
2016-03-02 11:08:05 -05:00
Yury Selivanov
f9e1f2bda9
inspect: Fix BoundArguments.apply_defaults to handle empty arguments
...
Patch by Frederick Wagner (issue #26347 )
2016-03-02 11:07:47 -05:00
Yury Selivanov
a8ac8e336b
Merge 3.5 (issue #26221 )
2016-03-02 11:03:53 -05:00
Yury Selivanov
1bd030788d
asyncio: Prevent StopIteration from being thrown into a Future
...
Patch by Chris Angelico (issue #26221 )
2016-03-02 11:03:28 -05:00
Yury Selivanov
578bc5b80b
Merge 3.5 (issue #25647 )
2016-03-02 10:49:36 -05:00
Yury Selivanov
dce63234c5
asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647 )
...
Patch by Vladimir Rutsky.
2016-03-02 10:49:16 -05:00
Yury Selivanov
45c84cc0ca
Merge 3.5
2016-03-02 10:41:51 -05:00
Yury Selivanov
0c6a34409e
asyncio, selectors: Update to the upstream version
2016-03-02 10:37:59 -05:00
Yury Selivanov
90faa09152
asyncio: Update 3.4 asyncio/test_tasks to upstream version
2016-03-02 10:33:22 -05:00
Victor Stinner
f2192855dd
Merge 3.5
2016-03-01 22:07:53 +01:00
Victor Stinner
337986740f
Issue #26464 : Fix unicode_fast_translate() again
...
Initialize i variable if the string is non-ASCII.
2016-03-01 21:59:58 +01:00
Victor Stinner
3d9d77a3dc
Merge 3.5
2016-03-01 21:30:50 +01:00
Victor Stinner
6c9aa8f2bf
Fix str.translate()
...
Issue #26464 : Fix str.translate() when string is ASCII and first replacements
removes character, but next replacement uses a non-ASCII character or a string
longer than 1 character. Regression introduced in Python 3.5.0.
2016-03-01 21:30:30 +01:00
Serhiy Storchaka
42e49ac0da
Issue #26457 : Fixed the subnets() methods in IP network classes for the case
...
when resulting prefix length is equal to maximal prefix length.
Based on patch by Xiang Zhang.
2016-03-01 10:26:10 +02:00
Serhiy Storchaka
bb0dbd583b
Issue #26457 : Fixed the subnets() methods in IP network classes for the case
...
when resulting prefix length is equal to maximal prefix length.
Based on patch by Xiang Zhang.
2016-03-01 10:25:45 +02:00
Martin Panter
93088d1b03
Issue #26385 : Merge NamedTemporaryFile fix from 3.5
2016-02-29 11:25:09 +00:00
Martin Panter
7869a22779
Issue #26385 : Cleanup NamedTemporaryFile if open() fails, by SilentGhost
2016-02-28 05:22:20 +00:00
Martin Panter
8cacc63002
Issue #22836 : Merge exception reporting from 3.5
2016-02-28 03:29:51 +00:00
Martin Panter
3263f6874a
Issue #22836 : Keep exception reports sensible despite errors
2016-02-28 03:16:11 +00:00
Martin Panter
de9b27d908
Issue #26390 : Merge pbkdf2_hmac() doc from 3.5
2016-02-26 00:41:38 +00:00
Martin Panter
6e132254a9
Issue #26402 : Merge XML-RPC client fix from 3.5
2016-02-25 12:13:50 +00:00
Martin Panter
eae3336e42
Issue #26402 : Fix XML-RPC client retrying after server disconnection
...
This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte
Fennema, test case by me.
2016-02-25 11:53:40 +00:00
Serhiy Storchaka
f799ca82a0
Issue #25801 : Fixed resource warnings in test_zipfile64.
...
Patch by SilentGhost.
2016-02-25 13:16:02 +02:00
Serhiy Storchaka
f828218d65
Issue #25801 : Fixed resource warnings in test_zipfile64.
...
Patch by SilentGhost.
2016-02-25 12:55:19 +02:00
Jason R. Coombs
b118870490
Issue #26302 : merge from 3.5
2016-02-24 08:50:59 -05:00
Serhiy Storchaka
6c783ac15d
Issue #25913 : Leading <~ is optional now in base64.a85decode() with adobe=True.
...
Patch by Swati Jaiswal.
2016-02-24 12:08:11 +02:00
Serhiy Storchaka
205e75bb62
Issue #25913 : Leading <~ is optional now in base64.a85decode() with adobe=True.
...
Patch by Swati Jaiswal.
2016-02-24 12:05:50 +02:00
Martin Panter
510addf63f
Issue #5824 : Merge socketserver tests from 3.5
2016-02-24 06:14:15 +00:00
Martin Panter
1827eff030
Issue #5824 : Fix DatagramRequestHandler tests by binding the client socket
2016-02-24 05:12:59 +00:00