- 23 Eki, 2018 1 kayıt (commit)
-
-
Andrei Petre yazdı
-
- 22 Eki, 2018 3 kayıt (commit)
-
-
Paul Ganssle yazdı
* Use _PyUnicode_Copy in sanitize_isoformat_str * Use repr in fromisoformat error message This reverses commit 67b74a98b2 per Serhiy Storchaka's suggestion: I suggested to use %R in the error message because including the raw string can be confusing in the case of empty string, or string containing trailing whitespaces, invisible or unprintable characters. We agree that it is better to change both the C and pure Python versions to use repr. * Retain non-sanitized dtstr for error printing This does not create an extra string, it just holds on to a reference to the original input string for purposes of creating the error message. * PEP 7 fixes to from_isoformat * Separate handling of Unicode and other errors In the initial implementation, errors other than encoding errors would both raise an error indicating an invalid format, which would not be true for errors like MemoryError. * Drop needs_decref from _sanitize_isoformat_str Instead _sanitize_isoformat_str returns a new reference, even to the original string.
-
Eric Lippert yazdı
The assignment of i/2 to nk is redundant because on this code path, nk is already the size of the dictionary, and i is already twice the size of the dictionary. I've replaced the store with an assertion that i/2 is nk.
-
Tal Einat yazdı
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 Eki, 2018 8 kayıt (commit)
-
-
Xtreak yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Constructing bytes from mutating list could cause a crash.
-
Sanyam Khurana yazdı
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 yazdı
If SyntaxWarning was raised as an exception, it will be replaced with a SyntaxError for better error reporting.
-
Nick Coghlan yazdı
-
Max Bélanger yazdı
Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
-
- 20 Eki, 2018 15 kayıt (commit)
-
-
Benjamin Peterson yazdı
Fixes doc build breakage from 890a4b92.
-
Xtreak yazdı
-
Senthil Kumaran yazdı
* bpo-34576 - Fix the formatting for security considerations in http.server.rst * Address review comment.
-
Zachary Ware yazdı
This should reduce false failure reports to the Zulip 'core/test runs' stream from Travis failures on private forks.
-
-
Stéphane Wirtel yazdı
-
Sergey Fedoseev yazdı
-
Ned Deily yazdı
-
Alexey Izbyshev yazdı
Set SRCDIR as the current directory for git.
-
Pablo Galindo yazdı
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 yazdı
Simplify the pickling of set and dictionary objects iterators by consuming the iterator into a list with PySequence_List.
-
Pablo Galindo yazdı
Add restriction on the offset parameter for mmap.flush. Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix.
-
Berker Peksag yazdı
Initial patch by Chandan Kumar.
-
Alexey Izbyshev yazdı
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 yazdı
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 Eki, 2018 13 kayıt (commit)
-
-
Victor Stinner yazdı
sys and threading were imported twice.
-
Matthias Bussonnier yazdı
-
Andrés Delfino yazdı
-
Serhiy Storchaka yazdı
-
Chris Barker yazdı
-
David Herberth yazdı
-
Julien Palard yazdı
-
Mario Corchero yazdı
The docs in `library/unittest.mock` have been updated to remove confusing terms about submock and be explicit about the behavior expected.
-
jdemeyer yazdı
-
Serhiy Storchaka yazdı
* Simplify the C code. * Simplify tests and make them more strict and robust. * Add references in the documentation.
-
Sergey Fedoseev yazdı
-
Quan Tian yazdı
-
-