- 20 Oct, 2018 12 commits
-
-
Zachary Ware authored
This should reduce false failure reports to the Zulip 'core/test runs' stream from Travis failures on private forks.
-
-
Stéphane Wirtel authored
-
Sergey Fedoseev authored
-
Ned Deily authored
-
Alexey Izbyshev authored
Set SRCDIR as the current directory for git.
-
Pablo Galindo authored
The symbol table was not exposing functionality to query the nonlocal symbols in a function or to check if a particular symbol is nonlocal.
-
Sergey Fedoseev authored
Simplify the pickling of set and dictionary objects iterators by consuming the iterator into a list with PySequence_List.
-
Pablo Galindo authored
Add restriction on the offset parameter for mmap.flush. Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix.
-
Berker Peksag authored
Initial patch by Chandan Kumar.
-
Alexey Izbyshev authored
path_error() uses GetLastError() on Windows, but some os functions are implemented via CRT APIs which report errors via errno. This may result in raising OSError with invalid error code (such as zero). Introduce posix_path_error() function and use it where appropriate.
-
Alexey Izbyshev authored
If buffering=1 is specified for open() in binary mode, it is silently treated as buffering=-1 (i.e., the default buffer size). Coupled with the fact that line buffering is always supported in Python 2, such behavior caused several issues (e.g., bpo-10344, bpo-21332). Warn that line buffering is not supported if open() is called with binary mode and buffering=1.
-
- 19 Oct, 2018 21 commits
-
-
Victor Stinner authored
sys and threading were imported twice.
-
Matthias Bussonnier authored
-
Andrés Delfino authored
-
Serhiy Storchaka authored
-
Chris Barker authored
-
David Herberth authored
-
Julien Palard authored
-
Mario Corchero authored
The docs in `library/unittest.mock` have been updated to remove confusing terms about submock and be explicit about the behavior expected.
-
jdemeyer authored
-
Serhiy Storchaka authored
* Simplify the C code. * Simplify tests and make them more strict and robust. * Add references in the documentation.
-
Sergey Fedoseev authored
-
Quan Tian authored
-
-
The reprlib code was copied here instead of importing reprlib. I'm not sure if we really need to avoid the import, but since I expect dataclasses to be more common that reprlib, it seems wise. Plus, the code is small.
-
Serhiy Storchaka authored
Use tp_members and tp_getset instead.
-
Serhiy Storchaka authored
for invalid escape sequences in string and bytes literals.
-
matthewbelisle-wf authored
Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`.
-
Serhiy Storchaka authored
It is now guarantied that children of xml.etree.ElementTree.Element are Elements (at least in C implementation). Previously methods __setitem__(), __setstate__() and __deepcopy__() could be used for adding non-Element children.
-
Zackery Spytz authored
-
Cheryl Sabella authored
This allows *from_* to be successfully set to a non-default value when calling mbox.get_string.
-
Braden Groom authored
-
- 18 Oct, 2018 6 commits
-
-
Shivank98 authored
This is intended to help code explorers find out more about what's defined there.
-
Juliette Monsel authored
-
Vinay Sajip authored
-
stratakis authored
Update the outdated install-sh file to the latest revision from automake v1.16.1
-
Serhiy Storchaka authored
C implementation of xml.etree.ElementTree.Element.__setstate__() leaked references to children when called for already initialized element.
-
Gregory P. Smith authored
Restores the use of pyexpatns.h to isolate our embedded copy of the expat C library so that its symbols do not conflict at link or dynamic loading time with an embedding application or other extension modules with their own version of libexpat. https://github.com/python/cpython/commit/5dc3f23b5fb0b510926012cb3732dae63cddea60#diff-3afaf7274c90ce1b7405f75ad825f545 inadvertently removed it when upgrading expat.
-
- 17 Oct, 2018 1 commit
-
-
Stéphane Wirtel authored
On macOS, fix reading from and writing into a file with a size larger than 2 GiB.
-