Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 2 | -20/+114 |
| | | | | | 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. | ||||
* | Fix ResourceWarning in test_unittest when interrupted | Victor Stinner | 2016-03-29 | 1 | -3/+6 |
| | |||||
* | Issue #25911: Backport os._DummyDirEntry fixes | Victor Stinner | 2016-03-29 | 1 | -2/+36 |
| | | | | | | | | | * Fix test_os.BytesWalkTests on Windows * Mimick better the reference os.DirEntry on Windows * _DummyDirEntry now caches os.stat() result * _DummyDirEntry constructor now tries to get os.stat() * Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False). | ||||
* | 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 | 2 | -4/+11 |
| | |||||
* | Issue #25195: Fix a regression in mock.MagicMock | Berker Peksag | 2016-03-27 | 2 | -0/+20 |
| | | | | | | | _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer. | ||||
* | Issue #23758: Improve num_params docs of create_{function,aggregate} functions | Berker Peksag | 2016-03-27 | 1 | -0/+31 |
| | | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier. | ||||
* | 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 |
| | |||||
* | doctest: fix _module_relative_path() error message | Victor Stinner | 2016-03-25 | 1 | -2/+3 |
| | | | | | Write the module name rather than <module> in the error message, if module has no __file__ attribute (ex: package). | ||||
* | Issue #25654: | Victor Stinner | 2016-03-25 | 4 | -18/+38 |
| | | | | | | | | | * 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 | 2 | -2/+25 |
| | | | | | | 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 | 5 | -5/+5 |
| | |||||
* | 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 #19164: Improve exception message of uuid.UUID() | Berker Peksag | 2016-03-20 | 1 | -1/+2 |
| | | | | Patch by jgauthier. | ||||
* | 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 | 2 | -1/+22 |
| | | | | Initial patch by Peter Inglesby. | ||||
* | Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵ | Steve Dower | 2016-03-17 | 1 | -1/+2 |
| | | | | is empty. Patch by Baji. | ||||
* | Issue #26583: Skip test_timestamp_overflow in test_import if bytecode | Ned Deily | 2016-03-17 | 1 | -0/+1 |
| | | | | files cannot be written. | ||||
* | Merge 3.4 into 3.5 | Donald Stufft | 2016-03-17 | 3 | -2/+2 |
|\ | |||||
| * | Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3 | Donald Stufft | 2016-03-17 | 3 | -2/+2 |
| | | |||||
* | | Fix pyclbr to support importing packages | Victor Stinner | 2016-03-17 | 1 | -3/+5 |
| | | | | | | | | | | Issue #26569: Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages. | ||||
* | | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost | Martin Panter | 2016-03-17 | 2 | -9/+78 |
| | | |||||
* | | 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. | ||||
* | | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 2 | -0/+42 |
| | | | | | | | | Patch from Victor van den Elzen. | ||||
* | | 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 | 2 | -1/+8 |
| | | | | | | | | datetime.MAXYEAR | ||||
* | | Issue #26513: Fixes platform module detection of Windows Server | Steve Dower | 2016-03-12 | 1 | -1/+1 |
| | | |||||
* | | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by | Serhiy Storchaka | 2016-03-12 | 2 | -7/+25 |
| | | | | | | | | 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 | 2 | -0/+15 |
| | | | | | | | | NotImplementedError instead of ImportError. | ||||
* | | Issue 25959: Explain in docstring that PhotoImage.zoom arguments are | Terry Jan Reedy | 2016-03-11 | 1 | -4/+8 |
| | | | | | | | | | | multipliers, not final sizes. Explain y default for .zoom and .subsample. Initial patch by Serhiy Storchaka. | ||||
* | | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. | Serhiy Storchaka | 2016-03-09 | 5 | -138/+181 |
| | | | | | | | | Added few missed tests for configure options. | ||||
* | | Issue #15068: Avoid creating a reference loop in fileinput. | Serhiy Storchaka | 2016-03-08 | 1 | -13/+15 |
| | | |||||
* | | 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 | 2 | -89/+142 |
| | | | | | | | | 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. | ||||
| * | 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. |