- 22 Oct, 2018 1 commit
-
-
Tal Einat authored
Raise ValueError OverflowError in case of a negative _length_ in a ctypes.Array subclass. Also raise TypeError instead of AttributeError for non-integer _length_. Co-authored-by: Oren Milman <orenmn@gmail.com>
-
- 21 Oct, 2018 8 commits
-
-
Xtreak authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Constructing bytes from mutating list could cause a crash.
-
Sanyam Khurana authored
For builtin types with builtin subclasses, help() on the type now shows up to 4 of the subclasses. This partially replaces the exception hierarchy information previously displayed in Python 2.7.
-
Serhiy Storchaka authored
If SyntaxWarning was raised as an exception, it will be replaced with a SyntaxError for better error reporting.
-
Nick Coghlan authored
-
Max Bélanger authored
Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
-
- 20 Oct, 2018 15 commits
-
-
Benjamin Peterson authored
Fixes doc build breakage from 890a4b92.
-
Xtreak authored
-
Senthil Kumaran authored
* bpo-34576 - Fix the formatting for security considerations in http.server.rst * Address review comment.
-
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 16 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.
-