Eric V. Smith
280c458f9e
Closes issue #12546 : Allow \x00 as a fill character for builtin type __format__ methods.
2014-04-14 12:08:21 -04:00
Eric V. Smith
2ea9712ee9
Issue #12546 : Allow \x00 as a fill character for builtin type __format__ methods.
2014-04-14 11:55:10 -04:00
Michael Foord
a185679152
Merge
2014-04-14 11:24:38 -04:00
Michael Foord
d2623d7786
Issue 20968. unittest.mock.MagicMock now supports division
2014-04-14 11:23:48 -04:00
Benjamin Peterson
a548a30fed
merge 3.4 ( #21209 )
2014-04-13 23:52:43 -04:00
Benjamin Peterson
f6e50b4a81
fix sending tuples to custom generator objects with yield from ( closes #21209 )
...
Debugged by Victor.
2014-04-13 23:52:01 -04:00
Benjamin Peterson
79f3ef6336
merge 3.4
2014-04-13 22:32:12 -04:00
Benjamin Peterson
584f5cbf16
merge 3.3
2014-04-13 22:31:42 -04:00
Benjamin Peterson
156285c35f
merge 3.2
2014-04-13 22:28:16 -04:00
Benjamin Peterson
99b5afab74
in scan_once, prevent the reading of arbitrary memory when passed a negative index
...
Bug reported by Guido Vranken.
2014-04-13 22:10:38 -04:00
R David Murray
e084e97f9f
Mierge #21169 : fix getpass to use replace error handler on UnicodeEncodeError.
2014-04-13 22:09:29 -04:00
R David Murray
d5aa487cce
#21169 : fix getpass to use replace error handler on UnicodeEncodeError.
...
If the input stream encoding couldn't encode one or more of the
non-ascii characters in the prompt, it would fail, throwing a
UnicodeEncodeError. Now if that happens we re-encoding using the
'replace' error handler.
Patch by Kushal Das.
2014-04-13 22:07:39 -04:00
Serhiy Storchaka
3d794fb240
Issue #20635 : Added tests for Tk geometry managers.
2014-04-13 19:55:08 +03:00
Serhiy Storchaka
e544f9a27e
Issue #20635 : Added tests for Tk geometry managers.
2014-04-13 19:52:23 +03:00
Serhiy Storchaka
9c5553e122
Issue #21171 : Fixed undocumented filter API of the rot13 codec.
...
Patch by Berker Peksag.
2014-04-13 17:08:51 +03:00
Serhiy Storchaka
a39938ff44
Issue #21171 : Fixed undocumented filter API of the rot13 codec.
...
Patch by Berker Peksag.
2014-04-13 17:07:04 +03:00
Mark Dickinson
0c346d827d
Issue #21193 : Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeError. Patch by Josh Rosenberg.
2014-04-11 14:34:40 -04:00
Mark Dickinson
5990d2864c
Issue #20539 : Improve math.factorial error messages and types for large inputs.
...
- Better message for the OverflowError in large positive inputs.
- Changed exception type from OverflowError to ValueError for large negative inputs.
2014-04-10 09:29:39 -04:00
Vinay Sajip
bed54b569a
Closes #21172 : Merged fix from 3.4.
2014-04-10 07:14:01 +01:00
Vinay Sajip
1b7611405d
Issue #21172 : isinstance check relaxed from dict to collections.Mapping.
2014-04-10 07:12:19 +01:00
Benjamin Peterson
82f69fd93b
merge 3.4
2014-04-10 00:24:47 -04:00
Benjamin Peterson
0654be18b3
teach 2to3 about 'yield from'
2014-04-10 00:23:18 -04:00
Benjamin Peterson
8b4c7ed6eb
merge 3.4
2014-04-10 00:15:34 -04:00
Benjamin Peterson
4ab92c800a
add matrix multiplication operator support to 2to3
2014-04-10 00:12:47 -04:00
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
2014-04-09 23:55:56 -04:00
Ned Deily
d5ed2c1cd2
Issue #20644 : merge from 3.4
2014-04-08 17:47:48 -07:00
Yury Selivanov
67ae50ee1c
inspect: Make Signature and Parameter hashable. Issue #20334 .
2014-04-08 11:46:50 -04:00
Yury Selivanov
3f73ca23cf
inspect.signautre: Fix functools.partial support. Issue #21117
2014-04-08 11:30:45 -04:00
Ned Deily
7e60f51486
Issue #20644 : OS X installer build support for documentation build changes
...
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.
2014-04-07 12:10:21 -07:00
Yury Selivanov
0fceaf45e2
inspect.signautre: Fix functools.partial support. Issue #21117
2014-04-08 11:28:02 -04:00
Victor Stinner
7b2262fe78
(Merge 3.4) Issue #21155 : asyncio.EventLoop.create_unix_server() now raises a
...
ValueError if path and sock are specified at the same time. asyncio: Document
Task.cancel() properly.
2014-04-07 11:20:22 +02:00
Victor Stinner
1fd03a4a22
Issue #21155 : asyncio.EventLoop.create_unix_server() now raises a ValueError if
...
path and sock are specified at the same time.
2014-04-07 11:18:54 +02:00
Mark Dickinson
3c286e2e0d
Issue #21136 : Avoid unnecessary normalization in Fractions resulting from power and other operations.
2014-04-05 09:29:00 +01:00
Brett Cannon
a04dbe4fe7
Issue #17621 : Introduce importlib.util.LazyLoader.
2014-04-04 13:53:38 -04:00
Giampaolo Rodola'
f22b2f0cf4
update Misc/NEWS
2014-04-04 17:17:36 +02:00
Brett Cannon
e7ef805833
merge of fix for issue #20942
2014-04-04 10:03:42 -04:00
Brett Cannon
18fc4e70f3
Issue #20942 : PyImport_ImportFrozenModuleObject() no longer sets
...
__file__.
This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).
2014-04-04 10:01:46 -04:00
Serhiy Storchaka
bcc174615c
Issue #20636 : Improved the repr of Tkinter widgets.
2014-04-04 15:45:02 +03:00
Serhiy Storchaka
578c9211d6
Issue #19505 : The items, keys, and values views of OrderedDict now support
...
reverse iteration using reversed().
2014-04-04 15:19:36 +03:00
Vinay Sajip
3d1e2e4cbb
Closes #21149 : Improved thread-safety in logging cleanup during interpreter shutdown.
2014-04-04 10:57:25 +01:00
Vinay Sajip
156307bfd6
Issue #21149 : Improved thread-safety in logging cleanup during interpreter shutdown.
2014-04-04 10:51:49 +01:00
Benjamin Peterson
d818fc9205
merge 3.4 ( #21134 )
2014-04-02 12:16:55 -04:00
Benjamin Peterson
9b09ba1234
bail in unicode error's __str__ methods if the objects are not properly initialized ( closes #21134 )
2014-04-02 12:15:06 -04:00
Benjamin Peterson
18395290c3
merge 3.4 ( #21082 )
2014-04-01 19:21:57 -04:00
Benjamin Peterson
9dc203fff9
merge 3.3 ( #21082 )
2014-04-01 19:18:48 -04:00
Benjamin Peterson
4717e2112b
merge 3.2 ( #21082 )
2014-04-01 19:17:57 -04:00
Benjamin Peterson
ee5f1c13d1
remove directory mode check from makedirs ( closes #21082 )
2014-04-01 19:13:18 -04:00
Martin v. Löwis
3da9fbbe83
Add test case for freeze.
2014-03-30 21:32:03 +02:00
Martin v. Löwis
669b095031
Merge 3.4 ( #16047 )
2014-03-30 21:15:26 +02:00
Martin v. Löwis
c00d39e96a
Issue #16047 : Fix module exception list and __file__ handling in freeze.
...
Patch by Meador Inge.
2014-03-30 21:07:25 +02:00