- 06 Eyl, 2018 1 kayıt (commit)
-
-
Tal Einat yazdı
Co-Authored-By: Wouter Bolsterlee.
-
- 05 Eyl, 2018 1 kayıt (commit)
-
-
Erik Janssens yazdı
-
- 04 Eyl, 2018 3 kayıt (commit)
-
-
Alexander Buchkovsky yazdı
Fix for invalid assert on big output of multiprocessing.Process.
-
Victor Stinner yazdı
distutils.spawn.find_executable() now falls back on os.defpath if the PATH environment variable is not set.
-
Pablo Galindo yazdı
Fail `test_semaphore_tracker_sigint` if no warnings are expected and one is received. Fix race condition when the child receives SIGINT before it can register signal handlers for it. The race condition occurs when the parent calls `_semaphore_tracker.ensure_running()` (which in turn spawns the semaphore_tracker using `_posixsubprocess.fork_exec`), the child registers the signal handlers and the parent tries to kill the child. What seem to happen is that in some slow systems, the parent sends the signal to kill the child before the child protects against the signal.
-
- 03 Eyl, 2018 1 kayıt (commit)
-
-
Pablo Galindo yazdı
math.factorial() was accepting non-integral Decimal instances. This is inconsistent with the actual behaviour for floats, which are not accepted.
-
- 01 Eyl, 2018 2 kayıt (commit)
-
-
Thomas Herzog yazdı
-
Michael Felt yazdı
p.wait()
-
- 31 Agu, 2018 2 kayıt (commit)
-
-
Pablo Galindo yazdı
bpo-34408: Prevent a null pointer dereference and resource leakage in `PyInterpreterState_New()` (GH-8767) * A pointer in `PyInterpreterState_New()` could have been `NULL` when being dereferenced. * Memory was leaked in `PyInterpreterState_New()` when taking some error-handling code path.
-
Brendan Gerrity yazdı
bpo-34062: Add missing launcher argument and make behavior consistent between short and long arguments (GH-8827) Added previously missing "--list" argument. Made "--list" and "--list-paths" behavior consistent with the corresponding "-0" and "-0p" arguments.
-
- 30 Agu, 2018 2 kayıt (commit)
-
-
Naris R yazdı
-
Christian Heimes yazdı
Update all test certs and keys to use future proof crypto settings: * 3072 bit RSA keys * SHA-256 signature Signed-off-by: Christian Heimes <christian@python.org>
-
- 29 Agu, 2018 4 kayıt (commit)
-
-
Victor Stinner yazdı
Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding on Windows if Py_LegacyWindowsFSEncodingFlag is zero. pymain_read_conf() now sets Py_LegacyWindowsFSEncodingFlag in its loop, but restore its value at exit.
-
Victor Stinner yazdı
_PyCoreConfig_Read() is now responsible to choose the filesystem encoding and error handler. Using Py_Main(), the encoding is now chosen even before calling Py_Initialize(). _PyCoreConfig.filesystem_encoding is now the reference, instead of Py_FileSystemDefaultEncoding, for the Python filesystem encoding. Changes: * Add filesystem_encoding and filesystem_errors to _PyCoreConfig * _PyCoreConfig_Read() now reads the locale encoding for the file system encoding. * PyUnicode_EncodeFSDefault() and PyUnicode_DecodeFSDefaultAndSize() now use the interpreter configuration rather than Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors global configuration variables. * Add _Py_SetFileSystemEncoding() and _Py_ClearFileSystemEncoding() private functions to only modify Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors in coreconfig.c. * _Py_CoerceLegacyLocale() now takes an int rather than _PyCoreConfig for the warning.
-
Victor Stinner yazdı
On Windows, the LC_CTYPE is now set to the user preferred locale at startup: _Py_SetLocaleFromEnv(LC_CTYPE) is now called during the Python initialization. Previously, the LC_CTYPE locale was "C" at startup, but changed when calling setlocale(LC_CTYPE, "") or setlocale(LC_ALL, ""). pymain_read_conf() now also calls _Py_SetLocaleFromEnv(LC_CTYPE) to behave as _Py_InitializeCore(). Moreover, it doesn't save/restore the LC_ALL anymore. On Windows, standard streams like sys.stdout now always use surrogateescape error handler by default (ignore the locale).
-
Victor Stinner yazdı
Standard streams like sys.stdout now use the "surrogateescape" error handler, instead of "strict", on the POSIX locale (when the C locale is not coerced and the UTF-8 Mode is disabled). Add tests on sys.stdout.errors with LC_ALL=POSIX.
-
- 28 Agu, 2018 4 kayıt (commit)
-
-
Victor Stinner yazdı
Python now gets the locale encoding with C code to initialize the encoding of standard streams like sys.stdout. Moreover, the encoding is now initialized to the Python codec name to get a normalized encoding name and to ensure that the codec is loaded. The change avoids importing _bootlocale and _locale modules at startup by default. When the PYTHONIOENCODING environment variable only contains an encoding, the error handler is now is now set explicitly to "strict". Rename also get_default_standard_stream_error_handler() to get_stdio_errors(). Reduce the buffer to format the "cpXXX" string (Windows locale encoding).
-
Victor Stinner yazdı
On HP-UX with C or POSIX locale, sys.getfilesystemencoding() now returns "ascii" instead of "roman8" (when the UTF-8 Mode is disabled and the C locale is not coerced). nl_langinfo(CODESET) announces "roman8" whereas it uses the Latin1 encoding in practice.
-
Victor Stinner yazdı
* The UTF-8 Mode is now also enabled by the "POSIX" locale, not only by the "C" locale. * On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also forces the ASCII encoding if the LC_CTYPE locale is "POSIX", not only if the LC_CTYPE locale is "C". * test_utf8_mode.test_cmd_line() checks also that the command line arguments are decoded from UTF-8 when the the UTF-8 Mode is enabled with POSIX locale or C locale.
-
Carl Meyer yazdı
Robust caching of calculated properties is harder than it looks at first glance, so add a solid, well-tested implementation to the standard library.
-
- 27 Agu, 2018 3 kayıt (commit)
-
-
Przemysław Spodymek yazdı
-
Michael Felt yazdı
AIX uses ISO-8859-1 encoding for the C locale.
-
Elias Zamaria yazdı
bpo-32968: Make modulo and floor division involving Fraction and float consistent with other operations (#5956) Make mixed-type `%` and `//` operations involving `Fraction` and `float` objects behave like all other mixed-type arithmetic operations: first the `Fraction` object is converted to a `float`, then the `float` operation is performed as normal. This fixes some surprising corner cases, like `Fraction('1/3') % inf` giving a NaN. Thanks Elias Zamaria for the patch.
-
- 26 Agu, 2018 1 kayıt (commit)
-
-
Michael Felt yazdı
An old apparent AIX behavior workaround in test_subprocess's test_undecodable_env is no longer needed.
-
- 25 Agu, 2018 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Gregory P. Smith yazdı
Avoids an integer underflow in the time module's year handling code.
-
- 24 Agu, 2018 1 kayıt (commit)
-
-
Vladimir Matveev yazdı
-
- 23 Agu, 2018 2 kayıt (commit)
-
-
Paul Ganssle yazdı
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>
-
Michael Osipov yazdı
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.
-
- 22 Agu, 2018 1 kayıt (commit)
-
-
Berker Peksag yazdı
Previously, its behavior was platform-dependent and there was no error checking under Windows.
-
- 20 Agu, 2018 1 kayıt (commit)
-
-
Alexey Izbyshev yazdı
The missing NULL check was reported by Svace static analyzer.
-
- 19 Agu, 2018 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Zackery Spytz yazdı
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).
-
- 17 Agu, 2018 1 kayıt (commit)
-
-
davidair yazdı
This makes the assertion error message more useful, aiding debugging. Thanks @davidair!
-
- 16 Agu, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Read from data socket to avoid "[SSL] shutdown while in init" exception during shutdown of the dummy server. Signed-off-by: Christian Heimes <christian@python.org> <!-- issue-number: [bpo-34391](https://www.bugs.python.org/issue34391) --> https://bugs.python.org/issue34391 <!-- /issue-number -->
-
- 15 Agu, 2018 3 kayıt (commit)
-
-
Steve Dower yazdı
-
Berker Peksag yazdı
os.readlink() now accepts path-like and bytes objects on Windows. Previously, support for path-like and bytes objects was only implemented on Unix. This commit also merges Unix and Windows implementations of os.readlink() in one function and adds basic unit tests to increase test coverage of the function.
-
Zackery Spytz yazdı
Avoid undefined pointer arithmetic with NULL.
-
- 14 Agu, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Downstream vendors have started to deprecate weak keys. Update all RSA keys and DH params to use at least 2048 bits. Finite field DH param file use RFC 7919 values, generated with certtool --get-dh-params --sec-param=high Signed-off-by: Christian Heimes <christian@python.org>
-
- 12 Agu, 2018 1 kayıt (commit)
-
-
Vadim Pushtaev yazdı
-