summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22854: Clarify documentation about UnsupportedOperation and add testsMartin Panter2016-03-312-20/+114
| | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
* Issue #26492: Added additional tests for exhausted iterators of mutable ↵Serhiy Storchaka2016-03-303-0/+24
| | | | sequences.
* Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-309-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 Stinner2016-03-301-1/+1
| | | | Use the default timeout of 30 seconds to avoid blocking forever.
* Fix ResourceWarning in test_unittest when interruptedVictor Stinner2016-03-291-3/+6
|
* Issue #25911: Backport os._DummyDirEntry fixesVictor Stinner2016-03-291-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.pyVictor Stinner2016-03-291-0/+1
|
* Issue #23804: Fix SSL recv/read(0) to not return 1024 bytesMartin Panter2016-03-282-4/+11
|
* Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-272-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} functionsBerker Peksag2016-03-271-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 Panter2016-03-271-0/+11
|
* Issue#26616:Fixed a bug in datetime.astimezone() method.Alexander Belopolsky2016-03-251-0/+8
|
* doctest: fix _module_relative_path() error messageVictor Stinner2016-03-251-2/+3
| | | | | Write the module name rather than <module> in the error message, if module has no __file__ attribute (ex: package).
* Issue #25654:Victor Stinner2016-03-254-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 modeVictor Stinner2016-03-251-2/+2
| | | | Use -Wd comment line option to log the ResourceWarning.
* warnings.formatwarning(): catch exceptionsVictor Stinner2016-03-242-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 Stinner2016-03-241-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 Krah2016-03-231-1/+0
|
* Issue #26581: Use the first coding cookie on a line, not the last one.Serhiy Storchaka2016-03-205-5/+5
|
* Added new tests for detecting Python source code encoding.Serhiy Storchaka2016-03-201-2/+81
|
* Issue #12813: uuid.uuid4() no longer depends on ctypesBerker Peksag2016-03-201-1/+0
| | | | uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
* Issue #19164: Improve exception message of uuid.UUID()Berker Peksag2016-03-201-1/+2
| | | | Patch by jgauthier.
* Issue #19265: Improve test coverage of datetime.tzinfoBerker Peksag2016-03-191-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_responseBerker Peksag2016-03-192-1/+22
| | | | Initial patch by Peter Inglesby.
* Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store ↵Steve Dower2016-03-171-1/+2
| | | | is empty. Patch by Baji.
* Issue #26583: Skip test_timestamp_overflow in test_import if bytecodeNed Deily2016-03-171-0/+1
| | | | files cannot be written.
* Merge 3.4 into 3.5Donald Stufft2016-03-173-2/+2
|\
| * Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3Donald Stufft2016-03-173-2/+2
| |
* | Fix pyclbr to support importing packagesVictor Stinner2016-03-171-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 GhostMartin Panter2016-03-172-9/+78
| |
* | faulthandler: Test Py_FatalError() with GIL releasedVictor Stinner2016-03-151-0/+8
| | | | | | | | Issue #26558.
* | Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵Antoine Pitrou2016-03-151-9/+16
| | | | | | | | was untested.
* | #25320: Handle sockets in directories unittest discovery is scanning.Robert Collins2016-03-152-0/+42
| | | | | | | | Patch from Victor van den Elzen.
* | Fix test_venv on FreeBSD buildbotVictor Stinner2016-03-141-1/+10
| | | | | | | | Ignore pip warning in test_venv.test_with_venv().
* | Skip test_site if USER_SITE cannot be createdVictor Stinner2016-03-141-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 Storchaka2016-03-143-23/+22
| |
* | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵Berker Peksag2016-03-142-1/+8
| | | | | | | | datetime.MAXYEAR
* | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-121-1/+1
| |
* | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch bySerhiy Storchaka2016-03-122-7/+25
| | | | | | | | Tamás Bence Gedai.
* | Issue #20589: Fix test_pathlibVictor Stinner2016-03-111-10/+10
| |
* | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raiseBerker Peksag2016-03-112-0/+15
| | | | | | | | NotImplementedError instead of ImportError.
* | Issue 25959: Explain in docstring that PhotoImage.zoom arguments areTerry Jan Reedy2016-03-111-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 Storchaka2016-03-095-138/+181
| | | | | | | | Added few missed tests for configure options.
* | Issue #15068: Avoid creating a reference loop in fileinput.Serhiy Storchaka2016-03-081-13/+15
| |
* | Issue #25911: Tring to silence deprecation warnings in bytes path walk tests.Serhiy Storchaka2016-03-081-0/+11
| |
* | Backed out changeset f9e22717722dSerhiy Storchaka2016-03-081-5/+1
|\ \ | |/
| * Backed out changeset 19a3e0e664afSerhiy Storchaka2016-03-081-5/+1
| |
* | Issue #15068: Got rid of excessive buffering in the fileinput module.Serhiy Storchaka2016-03-082-89/+142
| | | | | | | | The bufsize parameter is no longer used.
* | Issues #23808, #25911: Trying to fix walk tests on Windows.Serhiy Storchaka2016-03-081-1/+5
|\ \ | |/ | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
| * Issues #23808, #25911: Trying to fix walk tests on Windows.Serhiy Storchaka2016-03-081-1/+5
| | | | | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.