- 14 Mar, 2017 5 commits
-
-
Jim Fasarakis-Hilliard authored
-
Ivan Levkivskyi authored
-
INADA Naoki authored
Call abs_paths() only if removeduppaths() changed sys.path
-
INADA Naoki authored
PyEval_Call* APIs are not documented and they doesn't respect PY_SSIZE_T_CLEAN. So add comment block which recommends PyObject_Call* APIs to ceval.h. This commit also changes PyEval_CallMethod and PyEval_CallFunction implementation same to PyObject_CallMethod and PyObject_CallFunction to reduce future maintenance cost. Optimization to avoid temporary tuple are copied too. PyEval_CallFunction(callable, "i", (int)i) now calls callable(i) instead of raising TypeError. But accepting this edge case is backward compatible.
-
Xiang Zhang authored
-
- 13 Mar, 2017 3 commits
-
-
Jelle Zijlstra authored
-
Jelle Zijlstra authored
-
Xiang Zhang authored
-
- 12 Mar, 2017 19 commits
-
-
Oren Milman authored
-
Yury Selivanov authored
-
Nikolay Kim authored
-
Serhiy Storchaka authored
FreeBSD is the only platforms with unsigned FD_SETSIZE.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
-
Serhiy Storchaka authored
-
Nick Coghlan authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Based on patch by Vajrasky Kok.
-
Nick Coghlan authored
Directory and zipfile execution previously added the parent directory of the directory or zipfile as sys.path[0] and then subsequently overwrote it with the directory or zipfile itself. This caused problems in isolated mode, as it overwrote the "stdlib as a zip archive" entry in sys.path, as the parent directory was never added. The attempted fix to that issue in bpo-29319 created the opposite problem in *non*-isolated mode, by potentially leaving the parent directory on sys.path instead of overwriting it. This change fixes the root cause of the problem by removing the whole "add-and-overwrite" dance for sys.path[0], and instead simply never adds the parent directory to sys.path in the first place.
-
Nick Coghlan authored
In git worktree directories, `.git` is a configuration file rather than a subdirectory
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Based on patch by Vajrasky Kok.
-
Serhiy Storchaka authored
-
Zachary Ware authored
support.unlink waits for the files to be removed before returning
-
Nick Coghlan authored
-
- 11 Mar, 2017 7 commits
-
-
Serhiy Storchaka authored
* bpo-26121: Use C library implementation for math functions: tgamma(), lgamma(), erf() and erfc(). * Don't use tgamma() and lgamma() from libc on OS X.
-
Zachary Ware authored
-
Jelle Zijlstra authored
-
Serhiy Storchaka authored
Based on patch by Vajrasky Kok.
-
Serhiy Storchaka authored
-
Xiang Zhang authored
-
Mariatta authored
-
- 10 Mar, 2017 5 commits
-
-
Ivan Levkivskyi authored
-
orenmn authored
Some BytesIO methods now accept not just int subclasses but other int-like types.
-
Ivan Levkivskyi authored
-
Mariatta authored
-
Łukasz Langa authored
This is a generated file when --with-dtrace is passed. This entry is present in .hgignore.
-
- 09 Mar, 2017 1 commit
-
-
Serhiy Storchaka authored
-