Raymond Hettinger
4a5cccb02b
bpo-20499: Rounding error in statistics.pvariance (GH-28230)
2021-09-08 22:00:12 -05:00
Erlend Egeberg Aasland
f235dd0784
bpo-38371: Remove deprecated tkinter split() method (GH-28237)
2021-09-08 23:02:19 +03:00
Hugo van Kemenade
59ea704df7
bpo-45129 Remove deprecated reuse_address (GH-28207)
...
Due to significant security concerns, the reuse_address parameter of
asyncio.loop.create_datagram_endpoint, deprecated in Python 3.9, is
now removed. This is because of the behavior of the socket option
SO_REUSEADDR in UDP.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-08 18:58:43 +02:00
andrei kulakov
a561005761
bpo-19113: Remove unused test_errors from ctypes tests (GH-28008)
...
This test was forever shadowed by another test method named `test_errors`.
2021-09-08 17:28:32 +02:00
Yurii Karabas
c11956a8bd
bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass' __init__ (GH-28206)
2021-09-08 18:25:09 +08:00
Hugo van Kemenade
d003a5bd25
bpo-45132 Remove deprecated __getitem__ methods (GH-28225)
...
Remove deprecated __getitem__ methods of xml.dom.pulldom.DOMEventStream,
wsgiref.util.FileWrapper and fileinput.FileInput, deprecated since Python 3.9.
2021-09-08 13:07:40 +03:00
Raymond Hettinger
750368cbcd
Add more itertool recipes (GH-28165)
2021-09-07 12:29:00 -05:00
Victor Stinner
c4ea45d7d2
bpo-45118: Fix regrtest second summary for re-run tests (GH-28183)
...
Fix regrtest second summary when using -w/--verbose2 command line
option: lists re-run tests in the second test summary.
2021-09-07 18:21:00 +02:00
Nikita Sobolev
8ca6b61e3f
bpo-45034: Fix how upper limit is formatted for struct.pack("H", ...) (GH-28178)
...
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-07 13:18:46 +01:00
Pablo Galindo Salgado
97b754d4b4
Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" (GH-28201)
...
This reverts commit 4f88161f07 .
2021-09-07 12:46:25 +01:00
Hugo van Kemenade
eb254b43d2
bpo-45124: Remove the bdist_msi command (GH-28195)
...
The bdist_msi command, deprecated in Python 3.9, is now removed.
Use bdist_wheel (wheel packages) instead.
2021-09-07 12:34:27 +02:00
Pablo Galindo Salgado
533e725821
bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955)
...
Co-authored-by: Yury Selivanov <yury@edgedb.com>
2021-09-07 11:30:14 +01:00
Tzu-ping Chung
4f88161f07
bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)
2021-09-07 11:27:48 +01:00
Tzu-ping Chung
a5c6bcf244
Make sysconfig posix_user not depend on platlibdir (GH-27655)
2021-09-07 11:26:42 +02:00
Terry Jan Reedy
f05ad92028
Update idlelib/help.html to include idle.rst spelling fix (GH-28191)
...
The idle.rst fix was GH-27903 two weeks ago.
2021-09-07 00:04:54 -04:00
Nikita Sobolev
19871fce3b
bpo-45052: Unskips a failing test_shared_memory_basics test (GH-28182)
2021-09-06 17:55:34 +01:00
Irit Katriel
9e31b3952f
bpo-41031: Match C and Python code formatting of unprintable exceptions and exceptions in the __main__ module. (GH-28139)
2021-09-05 18:54:13 +03:00
Pablo Galindo Salgado
b01fd533fe
Extract visitors from the grammar nodes and call makers in the peg generator (GH-28172)
...
Simplify the peg generator logic by extracting as much visitors as possible to disentangle the flow and separate concerns.
2021-09-05 14:58:52 +01:00
Serhiy Storchaka
28264269de
bpo-45102: unittest: add tests for skipping and errors in cleanup (GH-28166)
2021-09-05 10:34:14 +03:00
Raymond Hettinger
91be41ad93
bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167)
2021-09-05 00:09:26 -05:00
Nikita Sobolev
dd7b816ac8
bpo-45042: Now test classes decorated with requires_hashdigest are not skipped (GH-28060)
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-04 23:42:36 +03:00
Serhiy Storchaka
936f6a16b9
bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000)
...
It happened with fast range iterator when the calculated stop = start + step * len
was out of the C long range.
2021-09-04 21:02:21 +03:00
Serhiy Storchaka
c2970fdec5
bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154)
2021-09-04 20:55:20 +03:00
Brandt Bucher
3beef86e22
Handle different string hash algorithms correctly ( #28147 )
2021-09-04 07:14:27 -07:00
Irit Katriel
0b58e863df
bpo-45075: distinguish between frame and FrameSummary in traceback mo… (GH-28112)
2021-09-03 22:39:23 +01:00
Dong-hee Na
bc1c49fa94
bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 (GH-27837)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-03 18:21:03 +02:00
Batuhan Taskaya
85ea2d6165
bpo-43950: support positions for dis.Instructions created through dis.Bytecode (GH-28142)
2021-09-03 18:29:09 +03:00
Irit Katriel
b4b6342848
bpo-45083: Include the exception class qualname when formatting an exception (GH-28119)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-09-03 09:30:17 +02:00
Victor Stinner
a1e15a7a60
bpo-45082: Cleanup ctypes.c_buffer alias (GH-28129)
...
* Remove commented deprecation of ctypes.c_buffer.
* Remove references to ctypes.c_string which doesn't exist.
* Remove StringTestCase: it only had skipped test methods.
2021-09-02 19:02:03 +02:00
Yurii Karabas
0635e201be
bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-28121)
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-09-02 18:17:13 +02:00
Ruben Vorderman
ea23e7820f
bpo-43613: Faster implementation of gzip.compress and gzip.decompress (GH-27941)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-02 17:02:59 +02:00
Inada Naoki
55c4a92fc1
bpo-45056: Remove trailing unused constants from co_consts (GH-28109)
2021-09-02 13:02:06 +02:00
Victor Stinner
19ba2122ac
bpo-37330: open() no longer accept 'U' in file mode (GH-28118)
...
open(), io.open(), codecs.open() and fileinput.FileInput no longer
accept "U" ("universal newline") in the file mode. This flag was
deprecated since Python 3.3.
2021-09-02 12:58:00 +02:00
Victor Stinner
a806608705
bpo-45085: Remove the binhex module (GH-28117)
...
The binhex module, deprecated in Python 3.9, is now removed. The
following binascii functions, deprecated in Python 3.9, are now also
removed:
* a2b_hqx(), b2a_hqx();
* rlecode_hqx(), rledecode_hqx().
The binascii.crc_hqx() function remains available.
2021-09-02 12:10:08 +02:00
Victor Stinner
d589a7e7eb
bpo-40360: Deprecate the lib2to3 package (GH-28116)
2021-09-02 11:46:47 +02:00
Victor Stinner
679cb4781e
bpo-44895: libregrtest: refleak check clears types later (GH-28113)
...
libregrtest now clears the type cache later to reduce the risk of
false alarm when checking for reference leaks. Previously, the type
cache was cleared too early and libregrtest raised a false alarm
about reference leaks under very specific conditions.
Move also support.gc_collect() outside clear/cleanup functions to
make the garbage collection more explicit.
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-09-01 17:45:27 +02:00
Irit Katriel
863154c929
bpo-31299: make it possible to filter out frames from tracebacks (GH-28067)
2021-08-31 21:42:08 +01:00
Terry Jan Reedy
22fe0eb13c
bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102)
2021-08-31 14:59:35 -04:00
Serhiy Storchaka
2b76a5322f
bpo-45057: Simplify RegressionTestResult (GH-28081)
...
Remove code which duplicates the functionality of TextTestResult.
2021-08-31 20:45:09 +03:00
Serhiy Storchaka
54f100514b
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
2021-08-31 13:32:01 -04:00
Serhiy Storchaka
3c65457156
bpo-45060: Get rid of few uses of the equality operators with None (GH-28087)
2021-08-31 16:59:52 +03:00
Raymond Hettinger
793f55bde9
bpo-39218: Improve accuracy of variance calculation (GH-27960)
2021-08-30 20:57:30 -05:00
Erlend Egeberg Aasland
e34bb40919
bpo-45041: Increase coverage for sqlite3.Cursor.executescript() (GH-28074)
2021-08-30 22:14:27 +01:00
Erlend Egeberg Aasland
86d8b46523
bpo-16379: expose SQLite error codes and error names in sqlite3 (GH-27786)
2021-08-30 19:32:21 +01:00
Erlend Egeberg Aasland
f62763d267
bpo-43398: Add test for defect connection factories (GH-27966)
2021-08-30 18:49:34 +01:00
Serhiy Storchaka
08d9e597c8
bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006)
...
* Functions registered with addModuleCleanup() were not called unless
the user defines tearDownModule() in their test module.
* Functions registered with addClassCleanup() were not called if
tearDownClass is set to None.
* Buffering in TestResult did not work with functions registered
with addClassCleanup() and addModuleCleanup().
* Errors in functions registered with addClassCleanup() and
addModuleCleanup() were not handled correctly in buffered and
debug modes.
* Errors in setUpModule() and functions registered with
addModuleCleanup() were reported in wrong order.
* And several lesser bugs.
2021-08-30 18:25:59 +02:00
Serhiy Storchaka
7e246a3a7b
bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030)
...
Previously it returned None if the test class or method was
decorated with a skipping decorator.
Co-authored-by: Iman Tabrizian <iman.tabrizian@gmail.com>
2021-08-30 15:16:25 +02:00
Dong-hee Na
e6497fe698
bpo-45045: Optimize mapping patterns of structural pattern matching (GH-28043)
2021-08-30 19:02:32 +09:00
Miguel Brito
0897253f42
bpo-43124: Fix smtplib multiple CRLF injection (GH-25987)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-29 16:10:50 +02:00
E-Paine
c9227df5a9
bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-29 13:07:51 +02:00