Stefan Krah
b5f87b93a5
Call randseed() before other imports in deccheck.py (GH-21834)
2020-08-11 21:14:51 +02:00
Ram Rachum
76643c10ed
bpo-41475: Fix note in "What's new in 3.7" ( #21733 )
2020-08-11 18:33:25 +02:00
Petr Viktorin
af3a6a8cae
Add PEP 573 additions to What's New (GH-21374)
2020-08-11 18:15:57 +02:00
Edward K. Ream
e3c971ccfa
Add links to asttokens, leoAst, LibCST and parso to ast docs (GH-21773)
2020-08-11 07:07:49 -07:00
Victor Stinner
0ee0b2938c
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21823)
...
Rename 5 test method names in test_codecs and test_typing.
2020-08-11 15:28:43 +02:00
Victor Stinner
fabd7bb8e0
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)
...
Automerge-Triggered-By: @tiran
2020-08-11 06:26:59 -07:00
Mohamed Koubaa
1d541c25c8
bpo-1635741: Port multiprocessing ext to multiphase init (GH-21378)
...
Port the _multiprocessing extension module to multiphase initialization (PEP 489).
2020-08-11 12:32:35 +02:00
Hai Shi
490c5426b1
bpo-40275: Fix failed test cases by using test helpers (GH-21811)
2020-08-10 23:24:02 +02:00
Stefan Krah
a02efe4d27
MSVC: The ARM command line should not define MASM. ( #21817 )
2020-08-10 22:39:46 +02:00
Stefan Krah
85fdafa6ea
Replace import_fresh_module in decimal test files (GH-21815)
2020-08-10 21:54:50 +02:00
Victor Stinner
eaa551702d
bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)
...
On Git 2.28, "git diff master..." (3 dots) no longer works when
"fetch --depth=1" is used, whereas it works on Git 2.26.
Replace "..." (3 dots) with ".." (2 dots) in the "git diff" command
computing the list of modified files between the base branch and the
PR branch.
2020-08-10 18:36:59 +02:00
Filipe Laíns
4ce6faa6c9
bpo-16995: add support for base32 extended hex (base32hex) (GH-20441)
...
cc @pganssle
Automerge-Triggered-By: @pganssle
2020-08-10 07:48:20 -07:00
Stefan Krah
39042e00ab
bpo-41324 Add a minimal decimal capsule API ( #21519 )
2020-08-10 16:32:21 +02:00
Terry Jan Reedy
416f0b71ba
bpo-41514: Fix buggy IDLE test (GH-21808)
...
test_run method test_fatal_error failed when run twice, as with
python -m test -m test_fatal_error test_idle test_idle
because func.called was not reinitialized to 0.
This bug caused a failure on a refleak buildbot.
2020-08-10 06:43:56 -07:00
Terry Jan Reedy
f2e161c279
bpo-41468: Improve and test IDLE run error exit (GH-21798)
...
A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not.
2020-08-09 16:08:30 -04:00
Terry Jan Reedy
8b67bf907c
Improve renamed test_run.RecursionLimitTest (GH-21794)
...
PEP 8 style and new comments.
2020-08-09 13:08:19 -04:00
Zackery Spytz
e28b8c9387
bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958)
...
Co-Authored-By: Jonathan Gossage <jgossage@gmail.com>
2020-08-09 12:50:53 +02:00
Jiajie Zhong
67acf74c4e
Doc: Add output to example code in programming FAQ (GH-21346)
...
Add output hint to document, part faq/programming, section [How do I write a function with output parameters (call by reference)?](https://docs.python.org/3/faq/programming.html#how-do-i-write-a-function-with-output-parameters-call-by-reference ).
This patch make the output hint just like prefix code block.
2020-08-08 12:29:03 -07:00
Yaroslav Pankovych
82ca8fada1
bpo-41455: Provide a link to how the third generation is collected in the GC docs (GH-21703)
...
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2020-08-08 19:48:21 +01:00
Hai Shi
c6f282f3b1
bpo-40275: Use new test.support helper submodules in tests (GH-21785)
2020-08-08 13:05:24 +02:00
Hai Shi
d94af3f7ed
bpo-40275: Remove test helpers aliases in test.support (GH-21771)
2020-08-08 11:32:41 +02:00
Konge
a4084b9d1e
bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757)
2020-08-08 12:03:09 +09:00
Benjamin Kane
705f145565
Doc: Add a link to tutorial page from `open()` doc (GH-21737)
...
Adds a link to the "Reading and Writing Files" page so users can
more easily discover how file handles are handled with the `with`
context manager vs without it.
2020-08-08 11:57:03 +09:00
Steve Dower
102b4988b1
Update Azure Pipelines build to use Ubuntu 18.04 and move triggers into YAML files (GH-21776)
2020-08-07 23:22:02 +01:00
Hai Shi
fcce8c649a
bpo-40275: Use new test.support helper submodules in tests (GH-21772)
2020-08-07 23:55:35 +02:00
Victor Stinner
e27a51c11e
bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768)
...
gdb 9.2 on Fedora Rawhide is not reliable, see:
* https://bugs.python.org/issue41473
* https://bugzilla.redhat.com/show_bug.cgi?id=1866884
2020-08-07 17:57:56 +02:00
Victor Stinner
f44693eaed
bpo-41477: Make ctypes optional in test_genericalias (GH-21766)
2020-08-07 17:56:42 +02:00
Hai Shi
598a951844
bpo-40275: Use new test.support helper submodules in tests (GH-21764)
2020-08-07 17:18:38 +02:00
Inada Naoki
46e19b61d3
bpo-41098: Doc: Add missing deprecated directives (GH-21162)
...
PyUnicodeEncodeError_Create has been deprecated with
`Py_DEPRECATED` macro. But it was not documented.
2020-08-07 16:31:53 +09:00
Zackery Spytz
5463635580
bpo-39871: Fix an error in a news entry (GH-21749)
2020-08-07 14:38:48 +09:00
pxinwr
3405e05428
bpo-41440: add os.cpu_count() support for VxWorks RTOS (GH-21685)
2020-08-07 14:21:52 +09:00
Inada Naoki
d9323a8c6e
bpo-41493: Refactoring dictresize (GH-21751)
...
Split newsize calculation into new function. dictresize() now accepts exact newsize.
2020-08-07 14:08:55 +09:00
Nathan M
5f0769a752
bpo-41371: Handle lzma lib import error in test_zoneinfo.py (GH-21734)
2020-08-06 15:09:40 -07:00
Steve Dower
777b611c8c
bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754)
2020-08-06 17:36:22 +01:00
Hai Shi
79bb2c93f2
bpo-40275: Use new test.support helper submodules in tests (GH-21743)
2020-08-06 13:51:29 +02:00
Eric L. Frederich
52f98424a5
bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736)
2020-08-05 14:44:53 -04:00
Victor Stinner
15edaecd97
bpo-40989: Fix compiler warning in winreg.c (GH-21722)
...
Explicitly cast PyHKEYObject* to PyObject* to call _PyObject_Init().
2020-08-05 16:23:10 +02:00
Batuhan Taskaya
8f4380d2f5
bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312)
2020-08-05 14:32:32 +01:00
Inada Naoki
270b4ad4df
bpo-36346: Doc: Update removal schedule of legacy Unicode (GH-21479)
...
See PEP 623 for detail.
2020-08-05 10:48:51 +09:00
Mark Shannon
582aaf19e8
bpo-41463: Generate information about jumps from 'opcode.py' rather than duplicating it in 'compile.c' (GH-21714)
...
Generate information about jumps from 'opcode.py' rather than duplicate it in 'compile.c'
2020-08-04 17:30:11 +01:00
Hai Shi
c7decc27d5
bpo-40275: Use new test.support helper submodules in tests (GH-21727)
2020-08-04 17:53:12 +02:00
Hai Shi
604bba1f8f
bpo-40275: Use new test.support helper submodules in tests (GH-21452)
2020-08-04 17:51:43 +02:00
Hans Petter Jansson
da4e09fff6
bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536)
...
Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net>
2020-08-03 23:51:33 -04:00
Inada Naoki
db6d9a50ce
bpo-41431: Optimize dict_merge for copy (GH-21674)
2020-08-04 11:08:06 +09:00
Victor Stinner
602a971a2a
bpo-41467: Fix asyncio recv_into() on Windows (GH-21720)
...
On Windows, fix asyncio recv_into() return value when the socket/pipe
is closed (BrokenPipeError): return 0 rather than an empty byte
string (b'').
2020-08-04 02:40:10 +02:00
Victor Stinner
bde48fd811
bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721)
...
incr cannot be larger than INT_MAX: downcast to int explicitly.
2020-08-04 02:38:16 +02:00
Victor Stinner
701b63894f
bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718)
...
regrtest_unraisable_hook() temporarily replaces sys.stderr with
sys.__stderr__ to help to display errors when a test captures stderr.
2020-08-03 22:51:23 +02:00
Hai Shi
4660597b51
bpo-40275: Use new test.support helper submodules in tests (GH-21448)
2020-08-03 18:49:18 +02:00
Hai Shi
bb0424b122
bpo-40275: Use new test.support helper submodules in tests (GH-21451)
2020-08-03 18:47:42 +02:00
Hai Shi
a7f5d93bb6
bpo-40275: Use new test.support helper submodules in tests (GH-21449)
2020-08-03 18:41:24 +02:00