- 25 Aug, 2018 5 commits
-
-
Serhiy Storchaka authored
-
Alexey Izbyshev authored
-
Alexander Vasin authored
`yield conn`, instead of just `yield`.
-
Danish Prakash authored
-
Gregory P. Smith authored
Avoids an integer underflow in the time module's year handling code.
-
- 24 Aug, 2018 10 commits
-
-
Alexey Izbyshev authored
bpo-34492: Python/coreconfig.c: Add missing NULL check to _Py_wstrlist_copy(). Fix _Py_wstrlist_clear() call on a wrong list. Reported by Svace static analyzer.
-
Michael Osipov authored
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
Vladimir Matveev authored
-
Daniel Dương authored
-
Alexey Izbyshev authored
Also, propagate the error from PyNumber_AsSsize_t() because we don't care only about OverflowError which is not reported if the second argument is NULL. Reported by Svace static analyzer.
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
Anthony Sottile authored
There was a missing comma.
-
Jelle Zijlstra authored
semapthores -> semaphores
-
- 23 Aug, 2018 5 commits
-
-
Paul Ganssle authored
The current C implementations **crash** if the input includes a surrogate Unicode code point, which is not possible to encode in UTF-8. Important notes: 1. It is possible to pass a non-UTF-8 string as a separator to the `.isoformat()` methods. 2. The pure-Python `datetime.fromisoformat()` implementation accepts strings with a surrogate as the separator. In `datetime.fromisoformat()`, in the special case of non-UTF-8 separators, this implementation will take a performance hit by making a copy of the input string and replacing the separator with 'T'. Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> Co-authored-by: Paul Ganssle <paul@ganssle.io>
-
Ville Skyttä authored
-
Michael Osipov authored
Introduce a configure check for strsignal(3) which defines HAVE_STRSIGNAL for signalmodule.c. Add some common signals on HP-UX. This change applies for Windows and HP-UX.
-
Victor Stinner authored
bpo-34170, bpo-34207: pymain_read_conf() now sets Py_UTF8Mode to config->utf8_mode. pymain_read_conf() calls indirectly Py_DecodeLocale() and Py_EncodeLocale() which depend on Py_UTF8Mode.
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
- 22 Aug, 2018 5 commits
-
-
Grant Jenks authored
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
Berker Peksag authored
Previously, its behavior was platform-dependent and there was no error checking under Windows.
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
- 21 Aug, 2018 2 commits
-
-
Berker Peksag authored
The entry about deprecation of __getitem__ methods of several classes was placed in the wrong section.
-
Zackery Spytz authored
-
- 20 Aug, 2018 2 commits
-
-
Alexey Izbyshev authored
The missing NULL check was reported by Svace static analyzer.
-
Xiang Zhang authored
-
- 19 Aug, 2018 5 commits
-
-
Alexey Izbyshev authored
Reported by Svace static analyzer.
-
Berker Peksag authored
If a globals dictionary without a '__builtins__' key is passed to eval(), a '__builtins__' key will be inserted to the dictionary: >>> eval("print('__builtins__' in globals())", {}) True (As a result of this behavior, we can use the builtins print() and globals() even if we passed a dictionary without a '__builtins__' key to eval().)
-
Serhiy Storchaka authored
-
Zackery Spytz authored
bpo-22602: Raise an exception in the UTF-7 decoder for ill-formed sequences starting with "+". (GH-8741) The UTF-7 decoder now raises UnicodeDecodeError for ill-formed sequences starting with "+" (as specified in RFC 2152).
-
Vinay Sajip authored
-
- 18 Aug, 2018 1 commit
-
-
Andrés Delfino authored
-
- 17 Aug, 2018 5 commits
-
-
Michael Osipov authored
-
davidair authored
This makes the assertion error message more useful, aiding debugging. Thanks @davidair!
-
Alfred Perlstein authored
-
Michael Osipov authored
Fix compile errors reported by HP aCC by fixing bugs introduced in 6dc57e2a which do not cause trouble on clang or GCC. Patch by Michael Osipov.
-
Sebastian Rittau authored
The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'.
-