Antoine Pitrou
be8d06f523
Issue #18216 : gettext now raises an error when a .mo file has an unsupported major version number. Patch by Aaron Hill.
2014-10-28 20:17:51 +01:00
Berker Peksag
ed68dd450a
Issue #22596 : support.transient_internet() now also catches
...
ConnectionRefusedError exceptions wrapped by urllib.error.URLError.
This change should fix sporadic failures in test_urllib2net.
2014-10-25 05:43:23 +03:00
Berker Peksag
8b63d3af9f
Issue #22596 : support.transient_internet() now also catches
...
ConnectionRefusedError exceptions wrapped by urllib.error.URLError.
This change should fix sporadic failures in test_urllib2net.
2014-10-25 05:42:30 +03:00
Antoine Pitrou
b64bca9852
Issue #13918 : Provide a locale.delocalize() function which can remove
...
locale-specific number formatting from a string representing a number,
without then converting it to a specific type. Patch by Cédric Krier.
2014-10-23 22:52:31 +02:00
Victor Stinner
b9d0199c07
Issue #22637 : avoid using a shell in uuid
...
Replace os.popen() with subprocess.Popen() in the uuid module.
2014-10-21 22:33:10 +02:00
Berker Peksag
1ed2e69a4a
Issue #22186 : Fix typos in Lib/.
...
Patch by Févry Thibault.
2014-10-19 18:07:05 +03:00
Berker Peksag
f23530f569
Issue #22186 : Fix typos in Lib/.
...
Patch by Févry Thibault.
2014-10-19 18:04:38 +03:00
Terry Jan Reedy
36d99dcf2b
Merge with 3.4
2014-10-18 17:10:32 -04:00
Terry Jan Reedy
dd09efdd53
Issue #20155 : Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
...
revised by R. David Murray.
2014-10-18 17:10:09 -04:00
Robert Collins
933430ab69
Issue #17401 : document closefd in io.FileIO docs and add to repr
...
closefd was documented in the open docs but not the matching FileIO
class documented. Further, closefd, part of the core state for the
object was not shown.
In review it was noted that the open docs are a little confusing about
the interaction between closefd and paths, so tweaked them at the same
time.
2014-10-18 13:32:43 +13:00
R David Murray
afce02ed38
Merge: #9351 : set_defaults on subparser is no longer ignored if set on parent.
2014-10-17 19:58:03 -04:00
R David Murray
7570cbdc6b
#9351 : set_defaults on subparser is no longer ignored if set on parent.
...
Before, if a default was set on the parent parser, any default for that
variable set via set_defaults on a subparser would be ignored. Now
the subparser set_defaults is honored.
Patch by Jyrki Pullianinen.
2014-10-17 19:55:11 -04:00
R David Murray
d2ff243b38
Merge: #21991 : make headerregistry params property MappingProxyType.
2014-10-17 19:32:08 -04:00
R David Murray
685b3495e1
#21991 : make headerregistry params property MappingProxyType.
...
It is unlikely anyone is using the fact that the dictionary returned
by the 'params' attribute was previously writable, but even if someone
is the API is provisional so this kind of change is acceptable (and
needed, to get the API "right" before it becomes official).
Patch by Stéphane Wirtel.
2014-10-17 19:30:13 -04:00
Antoine Pitrou
bc92bbd4d2
Issue #22653 : Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.
2014-10-18 00:35:44 +02:00
Antoine Pitrou
d696732025
Issue #22653 : Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.
2014-10-18 00:35:00 +02:00
Zachary Ware
f88cad0087
Merge with 3.4
2014-10-17 14:24:43 -05:00
Zachary Ware
be16d68071
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
2014-10-17 14:24:14 -05:00
Zachary Ware
459c36490f
Issue #16000 : Convert test_curses to use unittest
2014-10-17 14:10:51 -05:00
Zachary Ware
baf45c590c
Issue #16000 : Convert test_curses to use unittest
2014-10-17 13:59:18 -05:00
Benjamin Peterson
dc8899f0e2
merge 3.4 ( #22643 )
2014-10-15 13:40:15 -04:00
Benjamin Peterson
3f9f612b7d
merge 3.3 ( #22643 )
2014-10-15 13:40:01 -04:00
Benjamin Peterson
4d856895bd
test is cpython only
2014-10-15 13:39:46 -04:00
Benjamin Peterson
6925264334
merge 3.4 ( #22643 )
2014-10-15 11:49:15 -04:00
Benjamin Peterson
1cbb3fe775
merge 3.3 ( #22643 )
2014-10-15 11:48:41 -04:00
Benjamin Peterson
e1bd38c03c
fix integer overflow in unicode case operations ( closes #22643 )
2014-10-15 11:47:36 -04:00
Antoine Pitrou
94522ebe38
Issue #22641 : In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.
2014-10-15 16:59:58 +02:00
Antoine Pitrou
fd39a89e0e
Issue #22641 : In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.
2014-10-15 16:58:21 +02:00
Berker Peksag
6554b86b1f
Issue #21338 : Add silent mode for compileall.
...
quiet parameters of compile_{dir, file, path} functions now have
a multilevel value.
Also, -q option of the CLI now have a multilevel value.
Patch by Thomas Kluyver.
2014-10-15 11:10:57 +03:00
Ethan Furman
41d31967c6
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
2014-10-14 18:57:58 -07:00
Ethan Furman
7184bac544
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
2014-10-14 18:56:53 -07:00
Victor Stinner
c7dc55eb15
Merge 3.4 (asyncio)
2014-10-14 23:03:13 +02:00
Victor Stinner
f67f460242
Issue #18643 : asyncio.windows_utils now reuse socket.socketpair() on Windows if
...
available
Since Python 3.5, socket.socketpair() is now also available on Windows.
Make csock blocking before calling the accept() method, and fix also a typo in
an error message.
2014-10-14 22:56:25 +02:00
Charles-François Natali
98c745a773
Issue #18643 : Add socket.socketpair() on Windows.
2014-10-14 21:22:44 +01:00
Ethan Furman
987f3dd161
Issue22506: merge from 3.4
2014-10-14 08:59:14 -07:00
Ethan Furman
0ae550bdde
Issue22506: added methods on base Enum class now show up in dir of Enum subclass (3.4)
2014-10-14 08:58:32 -07:00
Charles-François Natali
4fa7a9fd1a
Merge.
2014-10-13 19:32:38 +01:00
Charles-François Natali
acbf5235b8
Issue #22435 : Fix a file descriptor leak when SocketServer bind fails.
2014-10-13 19:28:50 +01:00
Antoine Pitrou
44fff77684
Whitespace
2014-10-13 20:21:12 +02:00
Antoine Pitrou
0373a106a1
Issue #17636 : Circular imports involving relative imports are now supported.
2014-10-13 20:19:45 +02:00
Charles-François Natali
0f4f048fa5
Issue #22435 : Fix a file descriptor leak when SocketServer bind fails.
2014-10-13 19:19:26 +01:00
R David Murray
b0f5686ba4
#20815 : small readability improvements in ipaddress tests.
2014-10-12 15:17:44 -04:00
R David Murray
7567865867
#20815 : small readability improvements in ipaddress tests.
...
Patch by Michel Albert. We don't normally do patches that just tweak
whitespace, but ipaddress is relatively new and the package maintainers
approved the patch.
2014-10-12 15:17:22 -04:00
R David Murray
95cbe63001
Merge: #11973 : add test for previously fixed kevent signed/unsigned bug.
2014-10-12 12:42:01 -04:00
R David Murray
90f7afda61
#11973 : add test for previously fixed kevent signed/unsigned bug.
...
Patch by David Naylor.
2014-10-12 12:39:46 -04:00
Victor Stinner
2de8a6980a
(Merge 3.4) Issue #22601 : run_forever() now consumes BaseException of the
...
temporary task
If the coroutine raised a BaseException, consume the exception to not log a
warning. The caller doesn't have access to the local task.
2014-10-11 14:35:33 +02:00
Victor Stinner
c8bd53f815
Issue #22601 : run_forever() now consumes BaseException of the temporary task
...
If the coroutine raised a BaseException, consume the exception to not log a
warning. The caller doesn't have access to the local task.
2014-10-11 14:30:18 +02:00
Antoine Pitrou
759920c5cb
Issue #22604 : Fix assertion error in debug mode when dividing a complex number by (nan+0j).
2014-10-10 23:51:04 +02:00
Antoine Pitrou
9086f9260f
Issue #22604 : Fix assertion error in debug mode when dividing a complex number by (nan+0j).
2014-10-10 23:49:32 +02:00
Brett Cannon
1eb32c2045
Issue #20152 : Port the array module to Argument Clinic.
2014-10-10 16:26:45 -04:00