- 30 Mar, 2016 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
-
Berker Peksag authored
Reported by Matthew Cole on docs@p.o.
-
Victor Stinner authored
Use the default timeout of 30 seconds to avoid blocking forever.
-
- 29 Mar, 2016 4 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
* 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).
-
Victor Stinner authored
-
Andrew Svetlov authored
-
- 20 Nov, 2011 1 commit
-
-
Raymond Hettinger authored
-
- 28 Mar, 2016 1 commit
-
-
Martin Panter authored
-
- 27 Mar, 2016 5 commits
-
-
Berker Peksag authored
_Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
-
Berker Peksag authored
If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
-
Berker Peksag authored
The behaviour of the close method is tested by ClosedCurTests in Lib/sqlite3/test/dbapi.py. This is basically a backport of https://github.com/ghaering/pysqlite/issues/73.
-
Berker Peksag authored
-
Martin Panter authored
-
- 14 Mar, 2016 1 commit
-
-
Victor Stinner authored
Fix a warning on Windows 64-bit.
-
- 25 Mar, 2016 4 commits
-
-
Alexander Belopolsky authored
-
Victor Stinner authored
Write the module name rather than <module> in the error message, if module has no __file__ attribute (ex: package).
-
Victor Stinner authored
* 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.
-
Victor Stinner authored
Use -Wd comment line option to log the ResourceWarning.
-
- 22 Jan, 2016 1 commit
-
-
Victor Stinner authored
Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used. Using void* causes compilation warnings depending on which implementation of atomic types is used.
-
- 24 Mar, 2016 3 commits
-
-
Victor Stinner authored
Declare the function even if thread support is disabled.
-
Victor Stinner authored
Issue #21925: warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process.
-
Victor Stinner authored
test_warnings: only run test_improper_option() and test_warnings_bootstrap() once. The unit test doesn't depend on self.module.
-
- 23 Mar, 2016 3 commits
-
-
Stefan Krah authored
-
Terry Jan Reedy authored
-
doko@ubuntu.com authored
-
- 22 Mar, 2016 6 commits
-
-
Victor Stinner authored
Issue #26588: Enhance assertion in set_reentrant()
-
Victor Stinner authored
Issue #26588: Fix _tracemalloc start/stop: don't play with the reentrant flag. set_reentrant(1) fails with an assertion error if tracemalloc_init() is called first in a thread A and tracemalloc_start() is called second in a thread B. The tracemalloc is imported in a thread A. Importing the module calls tracemalloc_init(). tracemalloc.start() is called in a thread B.
-
Martin Panter authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Martin Panter authored
-
- 21 Mar, 2016 2 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
- 20 Mar, 2016 5 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Berker Peksag authored
uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
-
Berker Peksag authored
Patch by jgauthier.
-
Berker Peksag authored
Patch by Andrew Szeto.
-