- 26 Jan, 2018 1 commit
-
-
Mariatta authored
In str.join, if any of the iterable contains a Unicode object, str.join will return a Unicode object. A Type error will be raised if iterable contains values other than a string or Unicode object.
-
- 25 Jan, 2018 1 commit
-
-
Victor Stinner authored
test_subprocess.test_leaking_fds_on_error() failed when the PATH environment variable contains a path to an existing file. Fix the test: ignore also ENOTDIR, not only ENOENT and EACCES.
-
- 24 Jan, 2018 2 commits
-
-
Xiang Zhang authored
(cherry picked from commit 131fd7f9)
-
Miss Islington (bot) authored
glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system. (cherry picked from commit e768c86e)
-
- 19 Jan, 2018 1 commit
-
-
Pablo Galindo authored
It should be `urllib2.URLError` instead of just `URLError`.
-
- 17 Jan, 2018 2 commits
-
-
Gregory P. Smith authored
This test doesn't care about order, the underlying filesystem APIs do not guarantee directory listings on subsequent calls will be in the same order.
-
Miss Islington (bot) authored
(cherry picked from commit 7d91c025)
-
- 15 Jan, 2018 1 commit
-
-
Anthony Sottile authored
See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx?f=255&MSPPError=-2147217396#maxpath Paths that begin with `\\?\` are "extended-length paths".
-
- 12 Jan, 2018 1 commit
-
-
Miss Islington (bot) authored
glibc has removed Sun RPC. Use replacement libtirpc headers and library in nis module Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit f3031b8a)
-
- 07 Jan, 2018 2 commits
-
-
Zachary Ware authored
-
Zachary Ware authored
It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed. (cherry picked from commit 7f7de371)
-
- 05 Jan, 2018 1 commit
-
-
Benjamin Peterson authored
(cherry picked from commit 65f2a6dc)
-
- 04 Jan, 2018 2 commits
-
-
Serhiy Storchaka authored
(cherry picked from commit 1e6d8525f9dd3dcdc83adb93b164082c8b95d17a)
-
Serhiy Storchaka authored
-
- 02 Jan, 2018 4 commits
-
-
Benjamin Peterson authored
830daae1 added some new GIL-releasing to new_buffersize. This is fine, but it's better to avoid reacquiring the GIL for as long as possible. Also, it should use FILE_(BEGIN|END)_ALLOW_THREADS to avoid having the file closed from under it.
-
Benjamin Peterson authored
Multiple threads iterating over a file can corrupt the file's internal readahead buffer resulting in crashes. To fix this, cache buffer state thread-locally for the duration of a file_iternext call and only update the file's internal state after reading completes. No attempt is made to define or provide "reasonable" semantics for iterating over a file on multiple threads. (Non-crashing) races are still present. Duplicated, corrupt, and missing data will happen. This was originally fixed by 6401e567, which raised an exception from seek() and next() when concurrent operations were detected. Alas, this simpler solution breaks legitimate use cases such as capturing the standard streams when multiple threads are logging.
-
Miss Islington (bot) authored
Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (GH-5079) (cherry picked from commit f190eb59)
-
Serhiy Storchaka authored
(cherry picked from commit 7cc42c35)
-
- 01 Jan, 2018 1 commit
-
-
Miss Islington (bot) authored
Move other test to more proper place. (cherry picked from commit e8ed9655)
-
- 31 Dec, 2017 1 commit
-
-
Zachary Ware authored
(cherry picked from commit fe90efdc07ec70fd4ff28eac179448a41379cff1)
-
- 29 Dec, 2017 3 commits
-
-
Segev Finer authored
select.error doesn't have an errno attribute so access the errno by indexing instead.
-
Benjamin Peterson authored
(cherry picked from commit e3256087)
-
Miss Islington (bot) authored
(cherry picked from commit e5f7dcce)
-
- 27 Dec, 2017 1 commit
-
-
Serhiy Storchaka authored
(cherry picked from commit 53f91356)
-
- 23 Dec, 2017 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit d11e8e0d)
-
- 22 Dec, 2017 1 commit
-
-
Benjamin Peterson authored
This is more complicated than it should be because we need to preserve the useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar has. We only look for the pickled grammar file with pkgutil.get_data and only if the source file does not exist.. (cherry picked from commit 8a587716)
-
- 21 Dec, 2017 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit 83cb778b)
-
- 13 Dec, 2017 2 commits
-
-
Victor Stinner authored
-
Miss Islington (bot) authored
(cherry picked from commit 4f29f3c8)
-
- 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)
-