- 19 Dec, 2018 2 commits
-
-
Serhiy Storchaka authored
-
Jules Lasne (jlasne) authored
-
- 18 Dec, 2018 10 commits
-
-
Victor Stinner authored
Fix test_multiprocessing_main_handling: use multiprocessing.Pool with a context manager and then explicitly join the pool.
-
Victor Stinner authored
Fix a race condition in check_interrupted_write() of test_io: create directly the thread with SIGALRM signal blocked, rather than blocking the signal later from the thread. Previously, it was possible that the thread gets the signal before the signal is blocked.
-
Vladimir Matveev authored
-
Hrvoje Nikšić authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
Add a comment explaining why system_alias() doesn't alias Darwin to macOS.
-
Victor Stinner authored
check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case.
-
Victor Stinner authored
Remove ctypes callback workaround: no longer create a callback at startup. Avoid SELinux alert on "import ctypes" and "import uuid".
-
Serhiy Storchaka authored
-
Victor Stinner authored
uuid.uuid1() now calls time.time_ns() rather than int(time.time() * 1e9). Replace also int(nanoseconds/100) with nanoseconds // 100. Add an unit test.
-
- 17 Dec, 2018 14 commits
-
-
Victor Stinner authored
Rename test.bisect module to test.bisect_cmd to avoid conflict with bisect module when running directly a test like "./python Lib/test/test_xmlrpc.py".
-
Victor Stinner authored
Make platform.architecture() parsing of "file" command output more reliable: * Add the "-b" option to the "file" command to omit the filename; * Force the usage of the C locale; * Search also the "shared object" pattern. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Zackery Spytz authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Vajrasky Kok authored
-
-
Beomsoo Kim authored
I thought these simple changes doesn't need bpo number(Am I right..?). Please refer to the commit message for detail.
-
Victor Stinner authored
bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer, time.monotonic() is now always system-wide.
-
Victor Stinner authored
TextTestRunner of unittest.runner now uses time.perf_counter() rather than time.time() to measure the execution time of a test: time.time() can go backwards, whereas time.perf_counter() is monotonic. Similar change made in libregrtest, pprint and random.
-
Victor Stinner authored
Replace time.time() with time.monotonic() in tests to measure time delta. test_zipfile64: display progress every minute (60 secs) rather than every 5 minutes (5*60 seconds).
-
Paul Ganssle authored
platform.dist() is deprecated and slated for removal in Python 3.8. The upload command itself should also not be used to upload to PyPI, but while it continues to exist it should not use deprecated functions.
-
- 16 Dec, 2018 3 commits
-
-
Victor Stinner authored
-
Beomsoo Kim authored
polish documentation for profile and resource modules
-
Victor Stinner authored
"make profile-opt" no longer replaces CFLAGS_NODIST with CFLAGS. It now adds profile-guided optimization (PGO) flags to CFLAGS_NODIST, existing CFLAGS_NODIST flags are kept.
-
- 14 Dec, 2018 10 commits
-
-
mkkot authored
…copy of python binary https://bugs.python.org/issue35450
-
Steve Dower authored
-
Victor Stinner authored
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
-
Victor Stinner authored
struct.calcsize('P') now always works.
-
Victor Stinner authored
bpo-34279, bpo-35412: support.run_unittest() no longer raises TestDidNotRun if a test result contains skipped tests. The exception is now only raised if no test have been run and no test have been skipped.
-
Victor Stinner authored
* Add the pid and parent pid to multiprocessing.BaseProcess.__repr__(). * Add negative sign (ex: "-SIGTERM") to exitcode (process killed by a signal) * Only call _popen.poll() once. Example: <ForkProcess(ForkPoolWorker-1, started daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12449 parent=12448 started daemon> Example: <ForkProcess(ForkPoolWorker-1, stopped[SIGTERM] daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12960 parent=12959 stopped exitcode=-SIGTERM daemon>
-
Jules Lasne (jlasne) authored
# Fixed missing colun in library/sys.po [bpo-35492](https://bugs.python.org/issue35492): Fixed missing colun in library/sys.po
-
Victor Stinner authored
* Add multiprocessing.Pool.__repr__() to ease debug * RUN, CLOSE and TERMINATE constants values are now strings rather than integer to ease debug
-
Serhiy Storchaka authored
-
Vladimir Matveev authored
-
- 13 Dec, 2018 1 commit
-
-
Victor Stinner authored
multiprocessing.Pool.__enter__() now fails if the pool is not running: "with pool:" fails if used more than once.
-