Pablo Galindo
b494f5935c
Python 3.10.0
2021-10-04 18:40:46 +01:00
Serhiy Storchaka
1670d590fa
[3.10] bpo-45355: More use of sizeof(_Py_CODEUNIT) (GH-28720). (GH-28721)
...
(cherry picked from commit 252b7bcb23
)
2021-10-04 17:07:21 +03:00
Serhiy Storchaka
b5499784ec
[3.10] bpo-45355: Use sizeof(_Py_CODEUNIT) instead of literal 2 for the size of the code unit (GH-28711). (GH-28718)
...
(cherry picked from commit 60b9e040c9
)
2021-10-04 15:01:11 +03:00
Miss Islington (bot)
bc4c705869
bpo-45310: Fix parrallel shared memory tests (GH-28661)
...
Add a PID to names of POSIX shared memory objects to allow
running multiprocessing tests (test_multiprocessing_fork,
test_multiprocessing_spawn, etc) in parallel.
(cherry picked from commit eb4495e8e2
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-10-04 12:15:12 +01:00
Miss Islington (bot)
e4d36423d0
hashlib: Fix old message about unicode objects. (GH-28653)
...
(cherry picked from commit 9ce0f48e91
)
Co-authored-by: Julien Palard <julien@palard.fr>
2021-10-04 00:58:48 +01:00
Miss Islington (bot)
63c4d42e6e
bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) (GH-28616)
...
(cherry picked from commit bc4cde4033
)
Co-authored-by: zhanpon <pon.zhan@gmail.com>
2021-10-04 00:42:12 +01:00
Miss Islington (bot)
18bf0c10ec
bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" (GH-28687)
...
pypi.org " The Python Package Index (PyPI) ...
(cherry picked from commit 0be338199f
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-10-04 00:41:33 +01:00
Miss Islington (bot)
49fac92173
bpo-45346: Keep docs consistent regarding true and false values (GH-28697) (GH-28698)
2021-10-04 00:41:24 +01:00
Serhiy Storchaka
edf190b97e
[3.10] Remove trailing spaces (GH-28709)
2021-10-04 00:40:48 +01:00
Pablo Galindo Salgado
2c47b8080b
bpo-45350: Rerun autoreconf with the pkg-config macros (GH-28707)
2021-10-04 00:40:38 +01:00
Pablo Galindo Salgado
f146ca36f8
bpo-45350: Rerun autoreconf with the pkg-config macros (GH-28707)
2021-10-04 00:39:54 +01:00
Serhiy Storchaka
93242d7a2a
[3.10] Remove trailing spaces (GH-28709)
2021-10-03 20:03:49 +03:00
Miss Islington (bot)
5ba61f488d
Fix spelling error in comment (GH-28696) (GH-28699)
2021-10-02 14:33:49 -05:00
Miss Islington (bot)
72089f33c0
bpo-45346: Keep docs consistent regarding true and false values (GH-28697) (GH-28698)
2021-10-02 14:32:56 -05:00
Miss Islington (bot)
22cf6a2f23
bpo-45329: Fix freed memory access in pyexpat.c (GH-28649)
...
(cherry picked from commit 0742abdc48
)
Co-authored-by: TAGAMI Yukihiro <tagami.yukihiro@gmail.com>
2021-10-02 06:21:55 -07:00
Miss Islington (bot)
e040adc806
bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" (GH-28687)
...
pypi.org " The Python Package Index (PyPI) ...
(cherry picked from commit 0be338199f
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-10-01 23:27:23 -07:00
Miss Islington (bot)
2221207f44
bpo-44687: Ensure BufferedReader objects with unread buffers can peek even when the underlying file is closed (GH-28457)
...
(cherry picked from commit a450398933
)
Co-authored-by: AngstyDuck <solsticedante@gmail.com>
2021-10-01 13:30:15 -07:00
Victor Stinner
6df8c32753
bpo-41710: PyThread_acquire_lock_timed() uses sem_clockwait() (GH-28671)
...
On Unix, if the sem_clockwait() function is available in the C
library (glibc 2.30 and newer), the threading.Lock.acquire() method
now uses the monotonic clock (time.CLOCK_MONOTONIC) for the timeout,
rather than using the system clock (time.CLOCK_REALTIME), to not be
affected by system clock changes.
configure now checks if the sem_clockwait() function is available.
2021-10-01 18:22:49 +02:00
Miss Islington (bot)
282992b36f
bpo-45332: Fix broken Decimal test and benchmark (GH-28680)
...
(cherry picked from commit 9eed75fde2
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2021-10-01 07:16:37 -07:00
Miss Islington (bot)
fc3511f18e
bpo-45125: Improves pickling docs and tests for shared_memory
(GH-28294)
...
(cherry picked from commit 746d648d47
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-10-01 06:09:15 -07:00
Miss Islington (bot)
b994feeca7
hashlib: Fix old message about unicode objects. (GH-28653)
...
(cherry picked from commit 9ce0f48e91
)
Co-authored-by: Julien Palard <julien@palard.fr>
2021-10-01 05:58:37 -07:00
Miss Islington (bot)
4e6681d0cf
bpo-45310: Fix parrallel shared memory tests (GH-28661)
...
Add a PID to names of POSIX shared memory objects to allow
running multiprocessing tests (test_multiprocessing_fork,
test_multiprocessing_spawn, etc) in parallel.
(cherry picked from commit eb4495e8e2
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-10-01 02:41:20 -07:00
Miss Islington (bot)
ef7c7294e8
bpo-45229: Make datetime tests discoverable (GH-28615)
...
(cherry picked from commit d441437ee7
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-10-01 00:36:17 -07:00
Serhiy Storchaka
7873884d47
[3.10] bpo-40173: Fix test.support.import_helper.import_fresh_module() (GH-28654) (GH-28657)
...
* Work correctly if an additional fresh module imports other
additional fresh module which imports a blocked module.
* Raises ImportError if the specified module cannot be imported
while all additional fresh modules are successfully imported.
* Support blocking packages.
* Always restore the import state of fresh and blocked modules
and their submodules.
* Fix test_decimal and test_xml_etree which depended on an undesired
side effect of import_fresh_module().
(cherry picked from commit ec4d917a6a
)
2021-09-30 19:56:41 +03:00
Miss Islington (bot)
80285ecc8d
closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394) (GH-28636)
...
Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit 196998e220
)
Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
2021-09-30 01:02:11 +02:00
Miss Islington (bot)
017a791ae4
[typo] Fix threading.Barrier comment that used confusing punctuation (GH-28623) (GH-28625)
...
Removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading.
Co-authored-by: Priyank <5903604+cpriyank@users.noreply.github.com>
(cherry picked from commit f1ca5d7f61
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-29 17:21:55 +02:00
Miss Islington (bot)
412ae8ab10
[3.10] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (GH-28621)
...
* bpo-44394: Ensure libexpat is linked against libm (GH-28617)
(cherry picked from commit 6c1154b9de
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-29 16:13:41 +02:00
Mark Shannon
2be4c370c6
Move predispatch logic from DISPATCH macro to juts before switch. Reduces size of each opocde in interpreter. (GH-28475)
2021-09-29 13:16:13 +01:00
Miss Islington (bot)
02fdd73a19
bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) (GH-28616)
...
(cherry picked from commit bc4cde4033
)
Co-authored-by: zhanpon <pon.zhan@gmail.com>
2021-09-29 13:41:27 +02:00
Miss Islington (bot)
1e2058214f
bpo-45249: Ensure the traceback module prints correctly syntax errors with ranges (GH-28575)
...
(cherry picked from commit 20f439b6b9
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-29 12:40:23 +01:00
Miss Islington (bot)
dfccba4733
bpo-45067 - Verify the version of ncurses for extended color support feature usage. (GH-28260)
...
* issue45067 - Fix _curses compilation in CentOS 7. Verify the version of ncurses
for extended color support feature usage.
The function extended_color_content was introduced in 2017. The ncurses-devel
package in CentOS 7 had a older version ncurses resulted in compilation error.
For compiling ncurses with extended color support, we verify the version of the
ncurses library.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 794430700d
)
Co-authored-by: Senthil Kumaran <senthil@python.org>
2021-09-29 12:39:01 +01:00
Miss Islington (bot)
01be51833d
bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) (GH-28251)
...
Update test_sysconfig.test_user_similar() for the posix_user scheme:
"platlib" doesn't use sys.platlibdir.
(cherry picked from commit 49acac00c0
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-09-29 12:37:59 +01:00
Miss Islington (bot)
6ae97bbf4e
bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) (GH-28214)
...
Fix regrtest second summary when using -w/--verbose2 command line
option: lists re-run tests in the second test summary.
(cherry picked from commit c4ea45d7d2
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-09-29 12:37:42 +01:00
Łukasz Langa
b09a68ac87
[3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 8f943ca257
)
Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
2021-09-29 12:36:59 +01:00
Miss Islington (bot)
b2a8a30b0d
[doc] Clarify exception in multiprocessing.cpu_count
(GH-23660) (GH-28433)
...
Previous wording didn't explain the slightly unintuitive behavior.
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30f8d
)
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
2021-09-29 12:35:06 +01:00
Miss Islington (bot)
84d56ec4bc
bpo-42038: fix description of returned list of lines (GH-27529) (GH-28428)
...
(cherry picked from commit aca0e08c5d
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-09-29 12:34:58 +01:00
Miss Islington (bot)
0a94253b3b
[doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) (GH-28425)
...
(cherry picked from commit d22a700091
)
Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
2021-09-29 12:34:55 +01:00
Miss Islington (bot)
c4e9ef1f1d
bpo-45217: adds note that allow_no_value
in configparser
is optional (GH-28396) (GH-28418)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit cb07838ab7
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-29 12:34:49 +01:00
Miss Islington (bot)
81c9aff19b
Fix typo and add a module prefix (GH-28401)
...
(cherry picked from commit 80d9ff1648
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:34:35 +01:00
Miss Islington (bot)
03f25cc9d8
docs: correct references to __isub__ etc (GH-28297)
...
(cherry picked from commit 800bd01b6d
)
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-09-29 12:34:27 +01:00
Miss Islington (bot)
6fc66d6b9d
bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28371)
...
- Add link to str object and sqlite3 transaction control
- Mention that exceptions are not propagated
(cherry picked from commit 51056b40e7
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-09-29 12:34:21 +01:00
Miss Islington (bot)
b1873d1e24
bpo-9811: [doc] strftime handling of unsupported format specifiers is platform dependent (GH-28264) (GH-28277)
...
(cherry picked from commit e86bcfa580
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-09-29 12:34:16 +01:00
Miss Islington (bot)
490a7427dc
bpo-44964: Correct the note about the f_lasti field (GH-28208) (GH-28276)
...
(cherry picked from commit ab327f2929
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-29 12:34:08 +01:00
Miss Islington (bot)
9d8a64a7cc
bpo-45024 and bpo-23864: Document how interface testing works with the collections ABCs (GH-28218) (GH-28266)
2021-09-29 12:33:58 +01:00
Miss Islington (bot)
7a2dbe8e41
Fix small mistake in fileinput documentation (GH-28241)
...
(cherry picked from commit 5afb570d2e
)
Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
2021-09-29 12:33:52 +01:00
Miss Islington (bot)
43f9ca2a97
[3.10] Fix minor typo in Doc/c-api/type.rst (GH-28432) (GH-28440)
...
retreived-> retrieved
(cherry picked from commit af08f1ba40
)
Co-authored-by: Konstantin Popov <konst.hardy@gmail.com>
Automerge-Triggered-By: GH:Fidget-Spinner
2021-09-29 12:31:37 +01:00
Miss Islington (bot)
aac54ef2b3
bpo-45198: __set_name__ documentation not clear about its usage with non-descriptor classes (GH-28439)
...
(cherry picked from commit 94b462686b
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:31:25 +01:00
Miss Islington (bot)
0a74d33e14
Docs: Clarify the before_and_after() example (GH-28458) ( #28464 )
...
(cherry picked from commit fcbf9b176b
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:31:16 +01:00
Łukasz Langa
2e4d66d2e7
[3.10] bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494) (GH-28502)
...
(cherry picked from commit 9a0dcc5b2e
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:31:06 +01:00
Miss Islington (bot)
e1eb03d15f
bpo-45216: Remove extraneous method docs from difflib
(GH-28445) (GH-28505)
...
(cherry picked from commit 06e1773c8d
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-29 12:31:00 +01:00