Serhiy Storchaka
7344285c19
Issue #28257 : Improved error message when pass a non-iterable as
...
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
2016-10-02 10:33:46 +03:00
Serhiy Storchaka
8f0f205649
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
...
incorrect pickle data. Based on patch by John Leitch.
2016-10-02 09:13:14 +03:00
Serhiy Storchaka
85c3f268f4
Issue #28322 : Fixed possible crashes when unpickle itertools objects from
...
incorrect pickle data. Based on patch by John Leitch.
2016-10-02 08:34:53 +03:00
Martin Panter
55c9239af6
Issue #28275 : Merge bz2 fix from 3.5 into 3.6
2016-10-01 03:11:04 +00:00
Martin Panter
38317d3318
Issue #28275 : Clean up to avoid use-after-free after bzip decompress failure
2016-10-01 02:45:17 +00:00
Berker Peksag
ef223a19f7
Issue #28228 : imghdr now supports pathlib
2016-10-01 05:01:54 +03:00
Berker Peksag
6c63f197df
Issue #28283 : Merge from 3.5
2016-10-01 04:17:33 +03:00
Berker Peksag
34b9d14be6
Issue #28283 : Remove flaky test test_sock_connect_sock_write_race again
...
It was added back in 53a578f51f21.
2016-10-01 04:16:59 +03:00
Berker Peksag
d8e9713cf1
Issue #28226 : Fix test_compileall on Windows
2016-10-01 02:44:37 +03:00
Berker Peksag
812a2b65af
Issue #28226 : compileall now supports pathlib
2016-10-01 00:54:18 +03:00
Guido van Rossum
0035be3fee
Misc asyncio improvements from upstream (merge 3.5->3.6)
2016-09-30 08:18:34 -07:00
Guido van Rossum
e3c65a7a22
Misc asyncio improvements from upstream
2016-09-30 08:17:15 -07:00
Serhiy Storchaka
3738c2d8ae
Issue #27942 : String constants now interned recursively in tuples and frozensets.
2016-09-30 10:23:01 +03:00
Serhiy Storchaka
00a0fc1144
Issue #27942 : String constants now interned recursively in tuples and frozensets.
2016-09-30 10:07:26 +03:00
Berker Peksag
408b78c06f
Issue #27322 : Set sys.path to a temp dir in test_compile_path
2016-09-28 17:38:53 +03:00
Berker Peksag
d39370ba41
Issue #28300 : Merge from 3.5
2016-09-28 17:22:26 +03:00
Berker Peksag
c16387b17f
Issue #28300 : Fix typos, patch by Shlomi Fish
2016-09-28 17:21:52 +03:00
Alexander Belopolsky
e3fd248c77
Issue #28253 : Fixed calendar functions for extreme months: 0001-01 and 9999-12.
...
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
2016-09-27 20:27:55 -04:00
Alexander Belopolsky
957b75699f
Issue #28253 : Fixed calendar functions for extreme months: 0001-01 and 9999-12.
...
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
2016-09-27 20:26:39 -04:00
Guido van Rossum
6703e042fa
Update typing.py and test_typing.py from upstream ( https://github.com/python/typing ) (merge 3.5->3.6)
2016-09-27 15:22:40 -07:00
Guido van Rossum
4cefe74aef
Update typing.py and test_typing.py from upstream ( https://github.com/python/typing )
2016-09-27 15:20:12 -07:00
Berker Peksag
49d2c389a3
Issue #28283 : Merge from 3.5
2016-09-28 00:40:18 +03:00
Berker Peksag
63461bc384
Issue #28283 : Remove flaky test test_sock_connect_sock_write_race
2016-09-28 00:39:36 +03:00
Serhiy Storchaka
389ef9dcda
Issue #21578 : Fixed misleading error message when ImportError called with
...
invalid keyword args.
2016-09-27 20:51:04 +03:00
Serhiy Storchaka
47dee11ba7
Issue #21578 : Fixed misleading error message when ImportError called with
...
invalid keyword args.
2016-09-27 20:45:35 +03:00
Serhiy Storchaka
a12e7842a5
Issue #28275 : Fixed possible use adter free in LZMADecompressor.decompress().
...
Original patch by John Leitch.
2016-09-27 20:23:41 +03:00
Serhiy Storchaka
c0b7037d4f
Issue #28275 : Fixed possible use adter free in LZMADecompressor.decompress().
...
Original patch by John Leitch.
2016-09-27 20:14:26 +03:00
Raymond Hettinger
9016f2864a
Issue #18844 : Make the number of selections a keyword-only argument for random.choices().
2016-09-26 21:45:57 -07:00
Serhiy Storchaka
0eb60a7cb9
Issue #11957 : Restored re tests for passing count and maxsplit as positional
...
arguments.
2016-09-25 20:39:04 +03:00
Serhiy Storchaka
b02f8fc3af
Issue #11957 : Restored re tests for passing count and maxsplit as positional
...
arguments.
2016-09-25 20:36:23 +03:00
Mark Dickinson
6997946ec4
Issue #28203 : Merge from 3.5
2016-09-24 15:28:34 +01:00
Mark Dickinson
613f8e513c
Issue #28203 : Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
2016-09-24 15:26:36 +01:00
Christian Heimes
a5d0765990
Finish GC code for SSLSession and increase test coverage
2016-09-24 10:48:05 +02:00
Martin Panter
22ecc4b36d
Issue #28221 : Merge SSL test cleanup from 3.5 into 3.6
2016-09-24 03:03:07 +00:00
Martin Panter
8609cda961
Issue #28221 : Remove unused assignment from test_asyncore_server()
...
The later value of FOO is fine. The test just needs to verify that the server
converted it to lowercase.
2016-09-23 23:45:56 +00:00
Christian Heimes
e370409cb1
Add test cases for internal SHA3 helpers
2016-09-23 11:32:30 +02:00
Victor Stinner
21c8c92422
Merge 3.5 (issue #27829 )
2016-09-23 11:15:50 +02:00
Victor Stinner
bd2ffa5022
Issue #27829 : regrtest -W displays stderr if env changed
...
regrtest -W hides output if a test pass, but also when env changed and so the
env changed warning is hidden. So it's hard to debug. With this change, stderr
is now always displayed when a test doesn't pass.
2016-09-23 11:13:53 +02:00
Serhiy Storchaka
63dc548109
Issue #28086 : Single var-positional argument of tuple subtype was passed
...
unscathed to the C-defined function. Now it is converted to exact tuple.
2016-09-22 19:41:20 +03:00
Christian Heimes
5ed548715a
Make Lib/test/ssltests.py more useful and faster for OpenSSL testing
2016-09-22 16:49:51 +02:00
Christian Heimes
55b196a1e4
Make Lib/test/ssltests.py more useful and faster for OpenSSL testing
2016-09-22 16:49:35 +02:00
Martin Panter
3217b1243e
Merge socketserver fixes from 3.5 into 3.6
2016-09-22 10:33:51 +00:00
Martin Panter
f3b0639417
Issue #27348 : Merge exception formatting fix from 3.5 into 3.6
2016-09-22 10:33:21 +00:00
Martin Panter
463ef2b3cf
Fix references to Python 3’s socketserver (lowercase) module
2016-09-22 09:37:56 +00:00
Martin Panter
bb8b1cb6af
Issue #27348 : Restore “Exception: None” formatting in traceback module
...
This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.
Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.
Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
2016-09-22 09:37:39 +00:00
Serhiy Storchaka
e3d504090c
Extend the test to lower pickle protocols.
2016-09-22 11:42:38 +03:00
Serhiy Storchaka
92bb90a9ff
Extend the test to lower pickle protocols.
2016-09-22 11:39:25 +03:00
Serhiy Storchaka
afd02a439f
Issue #28214 : Now __set_name__ is looked up on the class instead of the
...
instance.
2016-09-21 15:54:59 +03:00
Victor Stinner
1c56bf0bad
Merge 3.5
2016-09-21 09:16:31 +02:00
Victor Stinner
0256f42839
test_asynico: fix test_sock_connect_sock_write_race()
...
Issue #28176 : Increase timeout from 10 seconds to 60 seconds.
2016-09-21 09:15:36 +02:00