- 12 Dec, 2017 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit b748e3b2)
-
- 10 Dec, 2017 1 commit
-
-
Steven Loria authored
netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc
-
- 09 Dec, 2017 1 commit
-
-
Vinay Sajip authored
bpo-32212: Updated logging documentation to make parameter names more consistent with source. (GH-4765) (GH-4768) (cherry picked from commit a9f8df64)
-
- 07 Dec, 2017 1 commit
-
-
Nir Soffer authored
In fileio, there were 3 fstat() calls and one lseek() call that did not release the GIL during the call. This can cause all threads to hang for unlimited time when using io.FileIO with inaccessible NFS server. Same issue seen in fileio exists also in fileobject, fixed in the same way.
-
- 05 Dec, 2017 1 commit
-
- 02 Dec, 2017 1 commit
-
-
Serhiy Storchaka authored
[2.7] bpo-10544: Deprecate "yield" in comprehensions and generator expressions in Py3k mode. (GH-4579) (#4676)
-
- 30 Nov, 2017 2 commits
-
-
Victor Stinner authored
When PyGILState_Ensure() is called in a non-Python thread before PyEval_InitThreads(), only call PyEval_InitThreads() after calling PyThreadState_New() to fix a crash. (cherry picked from commit b4d1e1f7)
-
Victor Stinner authored
Avoid also "cd $(srcdir)" to not change the current directory. (cherry picked from commit 3be3b97a)
-
- 29 Nov, 2017 3 commits
-
-
Barry Warsaw authored
Remove a flakey test and rewrite another one for readability.
-
Miss Islington (bot) authored
(cherry picked from commit cc55e78a)
-
Miss Islington (bot) authored
characters/bytes for non-negative n. This makes it compatible with read() methods of other file-like objects. (cherry picked from commit 219c2de5)
-
- 27 Nov, 2017 1 commit
-
-
Victor Stinner authored
(cherry picked from commit afd055a5)
-
- 26 Nov, 2017 1 commit
-
-
Zachary Ware authored
-
- 25 Nov, 2017 2 commits
-
-
Miss Islington (bot) authored
Mention that the lower the priority number, the higher priority it represents. (cherry picked from commit 9d5ec808)
-
Miss Islington (bot) authored
The provided code example was supposed to find repeated words, however it returned false results. (cherry picked from commit 610e5afd)
-
- 24 Nov, 2017 3 commits
-
-
Miss Islington (bot) authored
The paragraph that contains example of string literal concatenation was placed after the section about concatenation using the '+' sign. Moved the paragraph to the appropriate section. (cherry picked from commit 78a5722a)
-
Miss Islington (bot) authored
Move footnote markers to be closer to the related terminology: before the end of the sentence, instead of after. (cherry picked from commit cdfe910e)
-
Victor Stinner authored
_PyObject_DebugReallocApi() now calls Py_FatalError() if realloc() fails to shrink a memory block. Call Py_FatalError() because _PyObject_DebugReallocApi() erased freed bytes *before* realloc(), expecting that realloc() *cannot* fail to shrink a memory block.
-
- 23 Nov, 2017 3 commits
-
-
Victor Stinner authored
* bpo-31324: Optimize support._match_test() (#4421) * Rename support._match_test() to support.match_test(): make it public * Remove support.match_tests global variable. It is replaced with a new support.set_match_tests() function, so match_test() doesn't have to check each time if patterns were modified. * Rewrite match_test(): use different code paths depending on the kind of patterns for best performances. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 803ddd8c) * bpo-31324: Fix test.support.set_match_tests(None) (#4505) (cherry picked from commit bb11c3c9) (cherry picked from commit 70b2f8797146a56a6880743424f0bedf4fc30c62)
-
Victor Stinner authored
Fix the following warning: Warning -- files was modified by test_builtin Before: [] After: ['@test_19422_tmp'] 1 test altered the execution environment: test_builtin
-
Victor Stinner authored
Replace python3 with python2.
-
- 20 Nov, 2017 1 commit
-
-
Victor Stinner authored
The line number in correct when using the -x option: Py_Main() uses ungetc() to not skip the first newline character.
-
- 19 Nov, 2017 1 commit
-
-
Masayuki Yamamoto authored
(cherry picked from commit 7750bded)
-
- 17 Nov, 2017 2 commits
-
-
Erik Bray authored
`kargs` -> `kwargs`
-
native-api authored
-
- 14 Nov, 2017 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit b0b44b4b)
-
- 11 Nov, 2017 1 commit
-
-
Gregory P. Smith authored
* Work around a GC process finalization bug. The logging RLock instances may exist but the threading.RLock class itself has already been emptied causing a Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef ..." to be printed to stderr on process termination. This catches that exception and ignores it because there is absolutely nothing we can or should do about it from the context of a weakref handler called from the gc context.
-
- 10 Nov, 2017 1 commit
-
-
Serhiy Storchaka authored
-
- 09 Nov, 2017 2 commits
-
-
Serhiy Storchaka authored
[2.7] bpo-31927: Fix reading arbitrary data when parse a AF_BLUETOOTH address (GH-4235) (GH-4352) (#4355) on NetBSD and DragonFly BSD. (cherry picked from commit d3187158). (cherry picked from commit 596286f8f3c8e53ef010d6298464775dc900a515)
-
Serhiy Storchaka authored
select.kevent objects are now comparable with other objects in Python 2.
-
- 08 Nov, 2017 4 commits
-
-
Victor Stinner authored
Define __hash__() in test_functools and test_itertools to fix the following warning: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
-
Mazay0 authored
Fix CCompiler.set_executable() of distutils to handle properly Unicode strings.
-
Oren Milman authored
bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (GH-4333)
-
- 07 Nov, 2017 5 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit 5a66c8a6)
-
Miss Islington (bot) authored
(cherry picked from commit cb04f751)
-
Serhiy Storchaka authored
-
Miss Islington (bot) authored
bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (GH-3968) (#4302) (cherry picked from commit e56ab746)
-
Oren Milman authored
-
- 04 Nov, 2017 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit aafece7a)
-