- 17 Mar, 2018 1 commit
-
-
Marcel Plch authored
Multi-phase initialized modules allow m_traverse to be called while the module is still being initialized, so module authors may need to account for that.
-
- 14 Mar, 2018 1 commit
-
-
Zackery Spytz authored
-
- 13 Mar, 2018 5 commits
-
-
Łukasz Langa authored
-
xdegaye authored
(cherry picked from commit e32bbaf376a09c149fa7c7f2919d7c9ce4e2a055)
-
Miro Hrončok authored
Creating backup files with ~ suffix can be undesirable in some environment, such as when building RPM packages. Instead of requiring the user to remove those files manually, option -n was added, that simply disables this feature. -n was selected because 2to3 has the same option with this behavior.
-
Łukasz Langa authored
New tests also added. I also made the comments in line with the builtin Grammar/Grammar. PEP 306 was withdrawn, Kees Blom's railroad program has been lost to the sands of time for at least 16 years now (I found a python-dev post from people looking for it).
-
Ned Deily authored
-
- 12 Mar, 2018 5 commits
-
-
Ned Deily authored
-
Antoine Pietri authored
-
Andrew Svetlov authored
-
Thomas Moreau authored
-
Antoine Pietri authored
Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com>
-
- 11 Mar, 2018 11 commits
-
-
Nir Soffer authored
fstat may block for long time if the file descriptor is on a non-responsive NFS server, hanging all threads. Most fstat() calls are handled by _Py_fstat(), releasing the GIL internally, but but _Py_fstat_noraise() does not release the GIL, and most calls release the GIL explicitly around it. This patch fixes last 2 calls to _Py_fstat_no_raise(), avoiding hangs when calling: - mmap.mmap() - os.urandom() - random.seed()
-
Antoine Pitrou authored
In some conditions the standard streams will be None or closed in the child process (for example if using "pythonw" instead of "python" on Windows). Avoid failing with a non-0 exit code in those conditions. Report and initial patch by poxthegreat.
-
Siddhesh Poyarekar authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
consisting of non-constants: `x in [a, b]` and `for x in [a, b]`. The case of all constant elements already was optimized.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Matt Eaton authored
-
Berker Peksag authored
-
- 10 Mar, 2018 7 commits
-
-
Emanuele Gaifas authored
-
Xiang Zhang authored
-
Serhiy Storchaka authored
and remove redundant code.
-
Serhiy Storchaka authored
A StopAsyncIteration raised on assigning or unpacking will be now propagated instead of stopping the iteration.
-
Andrew Svetlov authored
* Skip write()/data_received() if sslpipe is destroyed
-
Serhiy Storchaka authored
-
Eric Appelt authored
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs.
-
- 09 Mar, 2018 4 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Steven M. Vascellaro authored
Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9". This format is more consistent with the surrounding examples.
-
- 08 Mar, 2018 3 commits
-
-
Alexey Izbyshev authored
-
Xiang Zhang authored
-
Xiang Zhang authored
* fix a typo: documention -> documentation * fix the type of IPv?Network.hostmask * add documentation about IPv?Network.netmask * fix IPv6Network constructor doc that extended netmasks are not supported
-
- 07 Mar, 2018 2 commits
-
-
INADA Naoki authored
-
Xiang Zhang authored
-
- 06 Mar, 2018 1 commit
-
-
Yury Selivanov authored
-