- 16 Jun, 2016 1 commit
-
-
Serhiy Storchaka authored
-
- 15 Jun, 2016 7 commits
-
-
Zachary Ware authored
-
Ned Deily authored
-
Serhiy Storchaka authored
-
Berker Peksag authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Martin Panter authored
Patch by John Hagen.
-
- 14 Jun, 2016 20 commits
-
-
Serhiy Storchaka authored
by Jelle Zijlstra.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
managed by a contextlib.ExitStack() and one of the exit stack generators catches and raises it in a chain, do not re-raise the original exception when exiting, let the new chained one through. This avoids the PEP 479 bug described in issue25782.
-
Victor Stinner authored
Casting Py_ssize_t to Py_ssize_t is useless.
-
Victor Stinner authored
Issue #27278: Fix os.urandom() implementation using getrandom() on Linux. Truncate size to INT_MAX and loop until we collected enough random bytes, instead of casting a directly Py_ssize_t to int.
-
Victor Stinner authored
-
Martin Panter authored
-
Berker Peksag authored
-
Berker Peksag authored
They are not used as base classes by another tests so they can safely be removed.
-
Berker Peksag authored
sqlite3.OptimizedUnicode is an alias for str in Python 3 and its behavior is already tested in CheckOptimizedUnicode in Lib/sqlite3/test/factory.py. sqlite3.OptimizedUnicode was undocumented in 0fc10a33eb4c and probably added back with the result of a bad merge.
-
Serhiy Storchaka authored
containing spaces.
-
Martin Panter authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Martin Panter authored
-
Terry Jan Reedy authored
Previously, when IDLE was started from a console or by import, a cascade of warnings was emitted. Patch by Serhiy Storchaka.
-
Martin Panter authored
-
Martin Panter authored
Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner. If the "gcc", "cc" or "objdump" command is not available, the code was supposed to raise an OSError exception. But there was a bug in the code. The shell code returns the exit code 10 if the required command is missing, and the code tries to check for the status 10. The problem is that os.popen() doesn't return the exit code directly, but a status which should be processed by os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never raised. The OSError exception was not documented and ctypes.util.find_library() is expected to return None if the library is not found.
-
Martin Panter authored
Based on patch by Serhiy Storchaka.
-
Ned Deily authored
-
- 13 Jun, 2016 6 commits
-
-
Martin Panter authored
-
Berker Peksag authored
Patch by Gareth Rees.
-
Berker Peksag authored
-
Larry Hastings authored
-
Larry Hastings authored
-
Larry Hastings authored
-
- 12 Jun, 2016 6 commits
-
-
Berker Peksag authored
Update current tests that use old pattern with assertRaises to make them more maintainable.
-
Berker Peksag authored
-
Berker Peksag authored
-
Berker Peksag authored
-
Serhiy Storchaka authored
functools.partial objects.
-
Berker Peksag authored
Patch by Dave Sawyer.
-