| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
(GH-9067)
(cherry picked from commit 874809ea389e6434787e773a6054a08e0b81f734)
Co-authored-by: Erik Janssens <erik.janssens@conceptive.be>
|
|
|
|
|
|
|
|
| |
(GH-9027) (GH-9064)
Fix for invalid assert on big output of multiprocessing.Process.
(cherry picked from commit 266f4904a222a784080e29aad0916849e507515d)
Co-authored-by: Alexander Buchkovsky <olex.buchkovsky@gmail.com>
|
|
|
|
|
|
| |
(GH-8356). (GH-8970)
(cherry picked from commit 7d81e8f5995df6980a1a02923e224a481375f130)
|
|
|
|
|
|
|
| |
distutils.spawn.find_executable() now falls back on os.defpath if the
PATH environment variable is not set.
(cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix Tools/clinic/clinic_test.py: add missing
FakeClinic.destination_buffers attribute and pass a file argument
to Clinic().
* Rename Tools/clinic/clinic_test.py to Lib/test/test_clinic.py:
add temporary Tools/clinic/ to sys.path to import the clinic
module.
Co-Authored-By: Pablo Galindo <pablogsal@gmail.com>
(cherry picked from commit 65fc98e7b1f62c2e621f04780a3a77c3498cc195)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
|
|
|
|
|
| |
bpo-34544: If _Py_CoerceLegacyLocale() fails to coerce the C locale,
restore the LC_CTYPE locale to the its previous value.
(cherry picked from commit 8ea09110d413829f71d979d8c7073008cb87fb03)
|
|
|
|
|
|
|
|
| |
... by removing a superfluous "either".
Reported by Никита Люшненко on docs@.
(cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
|
|
|
|
|
|
|
| |
(GH-9016)
(cherry picked from commit 2d7102e726e973ab2d307aa9748c7ec433677877)
Co-authored-by: Thomas Herzog <thomas@mcduke.net>
|
|
|
|
|
|
| |
"explicitelly" → "explicitly"
(cherry picked from commit 5265b3a98b376684e361b62d0728483b26f493f2)
Co-authored-by: Tim McNamara <code@timmcnamara.co.nz>
|
|
|
|
|
|
| |
p.wait()
(cherry picked from commit 172a71f19bb5e9624651850b315f403c460b9699)
Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-9018)
Sometimes some versions of the shared libraries that are part of the
traceback are compiled in optimised mode and the Program Counter (PC)
is not present, not allowing gdb to walk the frames back. When this
happens, the Python bindings of gdb raise an exception, making the
test impossible to succeed.
(cherry picked from commit f2ef51f8bec525b21e52988880c8a029642795ed)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit aada63b20ec64bbfc4f2fb0718fc563eedbdd36a)
Co-authored-by: Brendan Gerrity <brerrity@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-34485: stdout uses surrogateescape on POSIX locale (GH-8986)
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.
Fix the error handler of standard streams like sys.stdout:
PYTHONIOENCODING=":" is now ignored instead of setting the error handler to
"strict".
(cherry picked from commit 315877dc361d554bec34b4b62c270479ad36a1be)
|
|
|
|
|
|
|
|
|
|
| |
* _Py_InitializeCore() now sets the LC_CTYPE locale to the user
preferred locale before checking if the C locale should be coerced
or not in _PyCoreConfig_Read().
* Fix pymain_read_conf(): remember if the C locale has been coerced
when the configuration should be read again if the encoding has
changed.
(cherry picked from commit 2c8ddcf4f14f3e4c87a6fe6678ab5ad09130c6ab)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
(cherry picked from commit 5cb258950ce9b69b1f65646431c464c0c17b1510)
|
|
|
|
|
|
|
| |
Remove "trace.cover" left from previous test runs before testing
that it is no longer created.
(cherry picked from commit b44a1d4f71daf4edb948b9878f82a60891e4a2e1)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 216b745eafa7cd4a683a8405dcfbd7f5567f504c)
Co-authored-by: Przemysław Spodymek <przemyslaw@spodymek.com>
|
|
|
|
|
| |
(cherry picked from commit 3fe89dac42809a7741d50ebf595be98833b79b97)
Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
|
|
|
|
|
|
|
| |
An old apparent AIX behavior workaround in test_subprocess's
test_undecodable_env is no longer needed.
(cherry picked from commit 89d79b1449750b14ded0149dcdd1e39247f2c65d)
Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit a2eefa67542c25617a58c03a27c17fd48e2a0856)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
| |
Reported by Svace static analyzer.
(cherry picked from commit b57b4ac042b977e0b42a2f5ddb30ca7edffacfa9)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
|
| |
dereferencing it. (GH-8930)
Reported by Svace static analyzer.
(cherry picked from commit 5f79b50763d687aeeed8edcb4efcc7ac9f8fa186)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
| |
(cherry picked from commit 44838be9f79870ff3c9e04b7398a1dc3d56d53ed)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
|
| |
* Add missing NULL check reported by Svace static analyzer.
* Fix clear_wstrlist() call on a wrong list.
(cherry picked from commit eb746dbae8b320758ee08f811316d7f283435cc0)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
| |
(cherry picked from commit 2e5d2ea2089e111fb8e5b8c5916242da2906c399)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit c406d5cd74002964a64c3eb7d9e2445a7fd3a03f)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
compute_cr_origin() (GH-8911)
(cherry picked from commit 8fdd331bbf7e60dd81c02c7077f44c7939e2a05d)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
| |
Avoids an integer underflow in the time module's year handling code.
(cherry picked from commit 76be0fffff8b7dbe649ad4821144461800ffb0d0)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
| |
`yield conn`, instead of just `yield`.
(cherry picked from commit 416cbce22d5d8879986125f07b3e293421bc975d)
Co-authored-by: Alexander Vasin <hi@alvass.in>
|
|
|
|
|
| |
(cherry picked from commit a2510732da4c75789cc1750a034bdc9d9fdffb5b)
Co-authored-by: Alfred Perlstein <alfred@freebsd.org>
|
|
|
|
|
| |
(cherry picked from commit 09efe49c07e2d5f93b415ead757c87e20cc0026f)
Co-authored-by: Danish Prakash <grafitykoncept@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 3738fadc670274ecc4649f51b52a93602820a375)
Co-authored-by: Michael Osipov <1983-01-06@gmx.net>
|
|
|
|
|
|
|
|
| |
tzinfo_from_isoformat_results. (GH-8869)
Reported by Svace static analyzer.
(cherry picked from commit 498845368ff0f6238750ab1d443e7cf4ec98ccd2)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
| |
(GH-8864)
(cherry picked from commit 91cb298f811961277fd4cc4a32211899d48bedcb)
Co-authored-by: Vladimir Matveev <v2matveev@outlook.com>
|
|
|
|
|
| |
(cherry picked from commit 075b3c325913475be16650f7cb2a99f3136623b9)
Co-authored-by: Daniel Dương <dduong42@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
range_repr() (GH-8880)
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.
(cherry picked from commit 7ecae3ca0bda3cacf3b0125bae0bc718a17cc071)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
|
| |
builtin_sum_impl() (GH-8872)
Reported by Svace static analyzer.
(cherry picked from commit 2b824b2538c4a5f9f520c5de8a1eae5a0c181a94)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
|
| |
type_init() (GH-8876)
Reported by Svace static analyzer.
(cherry picked from commit f6247aac08c1a79d0479145a405718bb76dba434)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
| |
There was a missing comma.
(cherry picked from commit cc18258daf2727a4b8d657aaf0bf8a9cb0b54bb3)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
|
|
|
|
|
|
| |
semapthores -> semaphores
(cherry picked from commit b8a181f4ae167e4eda60f585a536240764151cf7)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
code points (GH-8862)
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>
(cherry picked from commit 096329f0b2bf5e3f0a16363aa631d993ce078737)
Co-authored-by: Paul Ganssle <pganssle@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-8844)
(cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit 89487f51b8d6ba8a55f5de0ed689e46fefe73cc9)
|
|
|
|
|
|
|
|
| |
(GH-8826)
Reported by Svace static analyzer.
(cherry picked from commit ccd99752675042bd5f67d332c5b0ed85ba1f2da3)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
|
| |
(GH-8852)
Reported by Svace static analyzer.
(cherry picked from commit 28853a249b1d0c890b7e9ca345290bb8c1756446)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
| |
Reported by Svace static analyzer.
(cherry picked from commit f8c06b028036e50596e75d4c9f6b27ba05133efe)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
| |
(cherry picked from commit 3e26e42c905852394fa136f1cc564dac98b56166)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
|
|
| |
__subclasses__ (GH-8835)
The missing NULL check was reported by Svace static analyzer.
(cherry picked from commit cdbf50cba1664f72ae6621a89c324a32fea70377)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
|
|
|
|
|
|
|
| |
1.8.5. (GH-8744)
(cherry picked from commit 4c8555773a801f957297132a92c0acb382d640e4)
Co-authored-by: Xiang Zhang <angwerzx@126.com>
|