Vinay Sajip
d5963e615d
Fixes #25097 : Merged fi from 3.4.
2015-10-01 20:38:53 +01:00
Vinay Sajip
223349cfb8
Fixes #25097 : Windows test is skipped if there are insufficient privileges, rather than failing.
2015-10-01 20:37:54 +01:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Victor Stinner
87bddbac9d
(Merge 3.4) Issue #25274 : test_recursionlimit_recovery() of test_sys now checks
...
sys.gettrace() when the test is executed, not when the module is loaded.
sys.settrace() may be after after the test is loaded.
2015-10-01 08:56:27 +02:00
Victor Stinner
3f18f10f39
Issue #25274 : test_recursionlimit_recovery() of test_sys now checks
...
sys.gettrace() when the test is executed, not when the module is loaded.
sys.settrace() may be after after the test is loaded.
2015-10-01 08:55:33 +02:00
Serhiy Storchaka
f1c780870a
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:42 +03:00
Serhiy Storchaka
b5102e3550
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:09 +03:00
Serhiy Storchaka
f4ee1c23e8
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:37:09 +03:00
Serhiy Storchaka
68f5ef226e
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:36:06 +03:00
Serhiy Storchaka
3066fc41d1
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:33:36 +03:00
Serhiy Storchaka
525faaeffc
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:12:29 +03:00
Serhiy Storchaka
e060619d4b
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:10:07 +03:00
Guido van Rossum
28d982dfc5
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)
2015-09-29 12:00:01 -07:00
Guido van Rossum
d455a50773
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).
2015-09-29 11:54:45 -07:00
Andrew Svetlov
e4be3c2597
Merge 3.4 -> 3.5
2015-09-29 18:36:44 +03:00
Andrew Svetlov
d94c1b92ed
Fix StreamReader.__repr__
2015-09-29 18:36:00 +03:00
Eric V. Smith
ad4003c7fb
Issue #25034 : Merge from 3.4.
2015-09-29 10:30:04 -04:00
Eric V. Smith
85976b14dd
Fixed issue #25034 : Fix string.Formatter problem with auto-numbering
...
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Serhiy Storchaka
cb764960c9
Added additional unpickling tests.
2015-09-29 15:50:45 +03:00
Serhiy Storchaka
b8b951f6ee
Added additional unpickling tests.
2015-09-29 15:49:58 +03:00
Serhiy Storchaka
104de66b76
Moved unpickling tests with prepickled data to separate class.
2015-09-29 15:34:53 +03:00
Serhiy Storchaka
c6b54b45ea
Moved unpickling tests with prepickled data to separate class.
2015-09-29 15:33:24 +03:00
Guido van Rossum
d2f184652c
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)
2015-09-28 07:44:49 -07:00
Guido van Rossum
99f96c5451
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct.
2015-09-28 07:42:34 -07:00
Berker Peksag
636b83fdc5
Issue #25249 : Remove unneeded mkstemp helper in test_subprocess
...
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().
Patch by Nir Soffer.
2015-09-28 13:33:43 +03:00
Berker Peksag
16a1f28194
Issue #25249 : Remove unneeded mkstemp helper in test_subprocess
...
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().
Patch by Nir Soffer.
2015-09-28 13:33:14 +03:00
Alexander Belopolsky
365ba8f6c1
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:32:15 -04:00
Alexander Belopolsky
edc6885b3f
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:31:45 -04:00
Benjamin Peterson
58b53953f8
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node ( closes #25131 )
2015-09-25 22:44:43 -07:00
Martin Panter
429f28d1ae
Issue #25211 : Merge test_long from 3.4 into 3.5
2015-09-26 00:07:29 +00:00
Martin Panter
cbe16aefb8
Issue #25211 : Eliminate lazy error message class by using subTest
...
Some of the calls to the Frm class were buggy anyway.
2015-09-25 23:50:47 +00:00
Martin Panter
982a08f8bb
Issue #25047 : Merge Element Tree encoding from 3.4 into 3.5
2015-09-23 01:43:08 +00:00
Martin Panter
89f76d3f91
Issue #25047 : Respect case writing XML encoding declarations
...
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
2015-09-23 01:14:35 +00:00
Berker Peksag
9b93c6b5df
Issue #25137 : Add a note to whatsnew/3.5.rst for nested functools.partial calls
...
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
2015-09-22 13:08:16 +03:00
Victor Stinner
e355604447
Merge 3.4 (Issue #23630 , fix test_asyncio)
2015-09-21 22:29:30 +02:00
Victor Stinner
582b17c2c5
Issue #23630 : Fix test_asyncio on Windows
...
The proactor event loop requires also to mock loop._stop_serving.
2015-09-21 22:28:44 +02:00
Victor Stinner
e63f1a65ed
Merge 3.4 (test_asyncio)
2015-09-21 22:20:36 +02:00
Victor Stinner
72e1eae7bb
Issue #25114 : Fix test_asyncio
...
ssl.SSLContext() does not always disable compression. Fix unit test.
2015-09-21 22:20:19 +02:00
Victor Stinner
7b58a2bb1d
Merge 3.4 (asyncio)
2015-09-21 18:41:05 +02:00
Victor Stinner
5e4a7d8dc7
Issue #23630 , asyncio: host parameter of loop.create_server() can now be a
...
sequence of strings. Patch written by Yann Sionneau.
2015-09-21 18:33:43 +02:00
Victor Stinner
d1fcca8ada
Merge 3.4 (asyncio)
2015-09-21 18:08:06 +02:00
Victor Stinner
f7dc7fb74d
Issue #25114 , asyncio: add ssl_object extra info to SSL transports
...
This info is required on Python 3.5 and newer to get specific information on
the SSL object, like getting the binary peer certificate (instead of getting
it as text).
2015-09-21 18:06:17 +02:00
Victor Stinner
6dae395ed5
Issue #25122 : test_eintr: the FreeBSD fix will be released in FreeBSD 10.3
2015-09-21 14:05:02 +02:00
Victor Stinner
900db26d34
Merge 3.4 (test_socket, issue #25138 )
2015-09-21 09:04:17 +02:00
Victor Stinner
808d6416e3
Issue #25138 : test_socket.test_idna() uses support.transient_internet() instead
...
of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
2015-09-21 09:04:01 +02:00
Serhiy Storchaka
f2d7ea1af1
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:59:48 +03:00
Serhiy Storchaka
d86a6ef41c
Issue #25101 : Try to create a file to test write access in test_zipfile.
2015-09-19 10:55:20 +03:00
Victor Stinner
4b363e2701
Merge 3.4 (test_email)
2015-09-18 16:32:51 +02:00
Victor Stinner
53936474aa
Issue #24836 : Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
...
Leopard because this OS uses out of date (pre 2011k) timezone files.
2015-09-18 16:32:23 +02:00
Victor Stinner
84ff4abd79
Merge 3.4 (datetime rounding)
2015-09-18 14:50:18 +02:00