summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28257: Backported a test.Serhiy Storchaka2016-10-021-0/+5
|
* Issue #28322: Fixed possible crashes when unpickle itertools objects fromSerhiy Storchaka2016-10-021-0/+32
| | | | incorrect pickle data. Based on patch by John Leitch.
* Issue #28275: Clean up to avoid use-after-free after bzip decompress failureMartin Panter2016-10-012-5/+9
|
* Issue #28283: Remove flaky test test_sock_connect_sock_write_race againBerker Peksag2016-10-011-86/+0
| | | | It was added back in 53a578f51f21.
* Misc asyncio improvements from upstreamGuido van Rossum2016-09-303-20/+148
|
* Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-301-1/+39
| | | | frozensets.
* Issue #28300: Fix typos, patch by Shlomi FishBerker Peksag2016-09-281-1/+1
|
* Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.Alexander Belopolsky2016-09-281-0/+21
| | | | | Methods itermonthdays() and itermonthdays2() are reimplemented so that they don't call itermonthdates() which can cause datetime.date under/overflow.
* Update typing.py and test_typing.py from upstream ↵Guido van Rossum2016-09-271-223/+114
| | | | (https://github.com/python/typing)
* Issue #28283: Remove flaky test test_sock_connect_sock_write_raceBerker Peksag2016-09-271-86/+0
|
* Issue #21578: Fixed misleading error message when ImportError called withSerhiy Storchaka2016-09-271-0/+17
| | | | invalid keyword args.
* Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().Serhiy Storchaka2016-09-271-0/+9
| | | | Original patch by John Leitch.
* Issue #11957: Restored re tests for passing count and maxsplit as positionalSerhiy Storchaka2016-09-251-0/+5
| | | | arguments.
* Issue #28203: Fix incorrect type in error message from complex(1.0, {2:3}). ↵Mark Dickinson2016-09-241-0/+8
| | | | Patch by Soumya Sharma.
* Issue #28221: Remove unused assignment from test_asyncore_server()Martin Panter2016-09-231-2/+0
| | | | | The later value of FOO is fine. The test just needs to verify that the server converted it to lowercase.
* Issue #27829: regrtest -W displays stderr if env changedVictor Stinner2016-09-231-1/+1
| | | | | | 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.
* Make Lib/test/ssltests.py more useful and faster for OpenSSL testingChristian Heimes2016-09-221-6/+21
|
* Fix references to Python 3’s socketserver (lowercase) moduleMartin Panter2016-09-222-2/+2
|
* Issue #27348: Restore “Exception: None” formatting in traceback moduleMartin Panter2016-09-221-5/+12
| | | | | | | | | | | | | 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.
* Extend the test to lower pickle protocols.Serhiy Storchaka2016-09-221-1/+1
|
* test_asynico: fix test_sock_connect_sock_write_race()Victor Stinner2016-09-211-1/+1
| | | | Issue #28176: Increase timeout from 10 seconds to 60 seconds.
* Issue #28189: dictitems_contains no longer swallows compare errors.Raymond Hettinger2016-09-191-0/+26
| | | | (Patch by Xiang Zhang)
* Issue #26610: Skip test_with_pip if _ctypes is not available in OpenIndianaBerker Peksag2016-09-181-0/+7
|
* Issue #28075: Fix test_access_denied in Python 3.5Berker Peksag2016-09-181-12/+14
| | | | I forgot there two variations of os.stat() in Python 3.5.
* Issue #28176: Increase timeout for test_sock_connect_sock_write_raceBerker Peksag2016-09-171-1/+1
|
* Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfileBerker Peksag2016-09-171-0/+19
|
* Fix test_access_denied in 3.5Berker Peksag2016-09-171-1/+2
|
* Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of ↵Berker Peksag2016-09-171-0/+19
| | | | | | os.stat() Patch by Eryk Sun.
* Issue #25270: Prevent codecs.escape_encode() from raising SystemError when ↵Berker Peksag2016-09-161-0/+20
| | | | an empty bytestring is passed
* Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoinBerker Peksag2016-09-161-0/+2
| | | | Patch by Gergely Imreh and Markus Holtermann.
* Issue #28145: Spelling fixesMartin Panter2016-09-161-1/+1
|
* Issue #27759: Fix selectors incorrectly retain invalid file descriptors.Yury Selivanov2016-09-151-0/+23
| | | | Patch by Mark Williams.
* Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect.Yury Selivanov2016-09-151-23/+101
|
* Issue #26909: Fix slow pipes IO in asyncio.Yury Selivanov2016-09-151-27/+22
| | | | Patch by INADA Naoki.
* Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.Yury Selivanov2016-09-151-1/+8
| | | | Patch by iceboy.
* Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)Yury Selivanov2016-09-151-0/+11
| | | | Patch by Seth Michael Larson.
* Issue #27906: Fix socket accept exhaustion during high TCP traffic.Yury Selivanov2016-09-152-1/+15
| | | | Patch by Kevin Conway.
* Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().Serhiy Storchaka2016-09-141-23/+92
|
* Issue #28131: Fix a regression in zipimport's compile_source()Berker Peksag2016-09-141-0/+13
| | | | zipimport should use the same optimization level as the interpreter.
* Issue #27952: Capture stderr in run_script()Berker Peksag2016-09-131-1/+2
|
* Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributesRaymond Hettinger2016-09-121-0/+8
| | | | (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.)
* asyncio: Add set_protocol / get_protocol methods to TransportsYury Selivanov2016-09-121-0/+1
|
* Issue #28079: Update typing and test typing from python/typing repo.Guido van Rossum2016-09-111-2/+140
| | | | Ivan Levkivskyi (3.5 version)
* #19003: Only replace \r and/or \n line endings in email.generator.R David Murray2016-09-111-0/+12
| | | | | This is a further restoration of backward compatibility, as well as being correct per the RFCs.
* Issue #27952: Get fixcid.py working with the re moduleMartin Panter2016-09-111-0/+91
|
* Backported tests for issue #28070.Serhiy Storchaka2016-09-101-0/+3
|
* Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd filesSteve Dower2016-09-101-2/+9
|
* Correct spelling in documentation and code commentMartin Panter2016-09-101-1/+1
|
* regrtest: accept options after test namesVictor Stinner2016-09-101-1/+1
|
* Issue #28019: itertools.count() no longer rounds non-integer step in rangeSerhiy Storchaka2016-09-101-5/+23
| | | | between 1.0 and 2.0 to 1.