Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26718: super.__init__ no longer leaks memory if called multiple times. | Serhiy Storchaka | 2016-04-13 | 1 | -0/+9 |
| | | | | NOTE: A direct call of super.__init__ is not endorsed! | ||||
* | Issue #26647: Fix typo in test_grammar | Victor Stinner | 2016-04-12 | 1 | -1/+1 |
| | | | | Patch written by Demur Rumed. | ||||
* | Issue #26733: Fixed formatting line numbers in test_dis. | Serhiy Storchaka | 2016-04-12 | 1 | -11/+11 |
| | | | | Based on patch by Xiang Zhang. | ||||
* | Issue #25339: PYTHONIOENCODING now has priority over locale in setting the | Serhiy Storchaka | 2016-04-10 | 1 | -4/+23 |
| | | | | error handler for stdin and stdout. | ||||
* | Remove relics of str8 (became bytes) and buffer (bytearray) type tests | Martin Panter | 2016-04-10 | 1 | -33/+0 |
| | | | | Remove redundant tests now that str is unicode. | ||||
* | Issue #26712: Unify (r)split, (l/r)strip tests into string_tests | Martin Panter | 2016-04-10 | 3 | -96/+35 |
| | | | | This eliminates a few redundant test cases. | ||||
* | Issue #21069: Move test_fileno() from test_urllibnet and rewrite it | Martin Panter | 2016-04-09 | 2 | -11/+41 |
| | | | | | | | | * No longer attempts to close already freed socket file descriptor * Use socket object to be compatible with Windows * Do not use a timeout to avoid complication with non-blocking mode * Use internal localhost server rather than depending on a third party * Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data | ||||
* | Issue #26609: Fix HTTP server tests to request an absolute URL path | Martin Panter | 2016-04-09 | 1 | -12/+29 |
| | |||||
* | Issue #26709: Fixed Y2038 problem in loading binary PLists. | Serhiy Storchaka | 2016-04-08 | 1 | -0/+9 |
| | |||||
* | Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest | Martin Panter | 2016-04-06 | 4 | -229/+54 |
| | | | | | | | | | | | | | | | | ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte- array, therefore many of the test cases inherited in this class were not actually being run on the bytearray type. The tests in buffer_tests.py were redundant with methods in string_tests .MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon. | ||||
* | Many changes from the upstream repo (https://github.com/python/typing). | Guido van Rossum | 2016-04-05 | 1 | -27/+129 |
| | | | | | | | | | | | | | | | | | | | | | | | | This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there. Summary: - Add typing.DefaultDict (as a generic variant of collections.defaultdict). - Use collections.Reversible if it exists (only relevant for Python 3.6). - Revamped generic class behavior to conform to updated PEP 484. - Improve speed of Generic.__new__. - Make sure __init__ is called for new Generic instances. Fix issue #26391. - Refactor async support to be compatible with 3.2, 3.3, 3.4. - Remove 'io' and 're' from __all__ (they still exist, just not included by "import *"). Fix issue #26234. - Change @overload -- you can now use it outside stubs (you still cannot call the decorated function though). | ||||
* | Fix typos in documentation and comments | Martin Panter | 2016-04-05 | 1 | -5/+5 |
| | |||||
* | Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang | Martin Panter | 2016-04-03 | 1 | -0/+7 |
| | |||||
* | asyncio: allow None as wait timeout | Victor Stinner | 2016-04-01 | 1 | -0/+16 |
| | | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum. | ||||
* | Issue #22854: Fix logic for skipping test | Martin Panter | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | Issue #22854: Skip pipe seek tests on Windows | Martin Panter | 2016-03-31 | 1 | -2/+7 |
| | |||||
* | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 1 | -11/+105 |
| | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | Issue #26492: Added additional tests for exhausted iterators of mutable ↵ | Serhiy Storchaka | 2016-03-30 | 3 | -0/+24 |
| | | | | sequences. | ||||
* | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 9 | -0/+55 |
| | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
* | test_urllibnet: set timeout on test_fileno() | Victor Stinner | 2016-03-30 | 1 | -1/+1 |
| | | | | Use the default timeout of 30 seconds to avoid blocking forever. | ||||
* | Issue #26643: Add missing shutil resources to regrtest.py | Victor Stinner | 2016-03-29 | 1 | -0/+1 |
| | |||||
* | Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes | Martin Panter | 2016-03-28 | 1 | -1/+8 |
| | |||||
* | Issue #26644: Raise ValueError for negative SSLSocket.recv() and read() | Martin Panter | 2016-03-27 | 1 | -0/+11 |
| | |||||
* | Issue#26616:Fixed a bug in datetime.astimezone() method. | Alexander Belopolsky | 2016-03-25 | 1 | -0/+8 |
| | |||||
* | Issue #25654: | Victor Stinner | 2016-03-25 | 1 | -5/+13 |
| | | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka. | ||||
* | Issue #21925: Fix test_warnings for release mode | Victor Stinner | 2016-03-25 | 1 | -2/+2 |
| | | | | Use -Wd comment line option to log the ResourceWarning. | ||||
* | warnings.formatwarning(): catch exceptions | Victor Stinner | 2016-03-24 | 1 | -0/+17 |
| | | | | | | Issue #21925: warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process. | ||||
* | Fix test_warnings.test_improper_option() | Victor Stinner | 2016-03-24 | 1 | -6/+9 |
| | | | | | test_warnings: only run test_improper_option() and test_warnings_bootstrap() once. The unit test doesn't depend on self.module. | ||||
* | Issue #26621: Remove unnecessary test. | Stefan Krah | 2016-03-23 | 1 | -1/+0 |
| | |||||
* | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 2 | -2/+2 |
| | |||||
* | Added new tests for detecting Python source code encoding. | Serhiy Storchaka | 2016-03-20 | 1 | -2/+81 |
| | |||||
* | Issue #12813: uuid.uuid4() no longer depends on ctypes | Berker Peksag | 2016-03-20 | 1 | -1/+0 |
| | | | | uuid.uuid4() always uses os.urandom() after 756d040aa8e8. | ||||
* | Issue #19265: Improve test coverage of datetime.tzinfo | Berker Peksag | 2016-03-19 | 1 | -0/+3 |
| | | | | | | | Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams. | ||||
* | Issue #26560: Avoid potential ValueError in BaseHandler.start_response | Berker Peksag | 2016-03-19 | 1 | -0/+21 |
| | | | | Initial patch by Peter Inglesby. | ||||
* | Issue #26583: Skip test_timestamp_overflow in test_import if bytecode | Ned Deily | 2016-03-17 | 1 | -0/+1 |
| | | | | files cannot be written. | ||||
* | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost | Martin Panter | 2016-03-17 | 1 | -9/+70 |
| | |||||
* | faulthandler: Test Py_FatalError() with GIL released | Victor Stinner | 2016-03-15 | 1 | -0/+8 |
| | | | | Issue #26558. | ||||
* | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵ | Antoine Pitrou | 2016-03-15 | 1 | -9/+16 |
| | | | | was untested. | ||||
* | Fix test_venv on FreeBSD buildbot | Victor Stinner | 2016-03-14 | 1 | -1/+10 |
| | | | | Ignore pip warning in test_venv.test_with_venv(). | ||||
* | Skip test_site if USER_SITE cannot be created | Victor Stinner | 2016-03-14 | 1 | -2/+7 |
| | | | | | Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and cannot be created. | ||||
* | Issue #20556: Used specific assert methods in threading tests. | Serhiy Storchaka | 2016-03-14 | 3 | -23/+22 |
| | |||||
* | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵ | Berker Peksag | 2016-03-14 | 1 | -0/+4 |
| | | | | datetime.MAXYEAR | ||||
* | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by | Serhiy Storchaka | 2016-03-12 | 1 | -7/+21 |
| | | | | Tamás Bence Gedai. | ||||
* | Issue #20589: Fix test_pathlib | Victor Stinner | 2016-03-11 | 1 | -10/+10 |
| | |||||
* | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise | Berker Peksag | 2016-03-11 | 1 | -0/+9 |
| | | | | NotImplementedError instead of ImportError. | ||||
* | Issue #25911: Tring to silence deprecation warnings in bytes path walk tests. | Serhiy Storchaka | 2016-03-08 | 1 | -0/+11 |
| | |||||
* | Backed out changeset f9e22717722d | Serhiy Storchaka | 2016-03-08 | 1 | -5/+1 |
|\ | |||||
| * | Backed out changeset 19a3e0e664af | Serhiy Storchaka | 2016-03-08 | 1 | -5/+1 |
| | | |||||
* | | Issue #15068: Got rid of excessive buffering in the fileinput module. | Serhiy Storchaka | 2016-03-08 | 1 | -1/+69 |
| | | | | | | | | The bufsize parameter is no longer used. | ||||
* | | Issues #23808, #25911: Trying to fix walk tests on Windows. | Serhiy Storchaka | 2016-03-08 | 1 | -1/+5 |
|\ \ | |/ | | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag. |