summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40376: slightly improved the wording for os.getgrouplist (GH-19702)Jens Holzkämper2022-04-151-1/+2
| | | | | | The documentation for os.getgrouplist potentially read like it returned all groups a user belongs to but it potentially doesn't. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Remove usage of _Py_IDENTIFIER from unicodedata module. (GH-91532)Dong-hee Na2022-04-151-14/+8
|
* gh-70979: Fix runpy.run_path parameter name in docs (GH-32265)Jelle Zijlstra2022-04-151-2/+2
| | | Noticed while reviewing GH-30729.
* gh-91520: Rewrite imghdr inlining for clarity and completeness (#91521)Barry Warsaw2022-04-1517-79/+114
| | | | | | | | | | | | | | | | | | | | * Rewrite imghdr inlining for clarity and completeness * Move MIMEImage class back closer to the top of the file since it's the important thing. * Use a decorate to mark a given rule function and simplify the rule function names for clarity. * Copy over all the imghdr test data files into the email package's test data directory. This way when imghdr is actually removed, it won't affect the MIMEImage guessing tests. * Rewrite and extend the MIMEImage tests to test for all supported auto-detected MIME image subtypes. * Remove the now redundant PyBanner048.gif data file. * See https://github.com/python/cpython/pull/91461#discussion_r850313336 Co-authored-by: Oleg Iarygin <dralife@yandex.ru> Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680)Erlend Egeberg Aasland2022-04-1516-7/+989
| | | | | | | Authored-by: Aviv Palivoda <palaviv@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> Co-authored-by: palaviv <palaviv@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-91428: include specialized opcodes in _PyOpcode_OpName (GH-91467)Dennis Sweeney2022-04-142-8/+167
|
* gh-91217: deprecate msilib (GH-91515)Brett Cannon2022-04-144-1/+9
|
* gh-89455: Fix an uninitialized bool in exception print context. (#91466)Gregory P. Smith2022-04-142-0/+3
| | | | | | | | | | | | | | | | | | | | | Fix an uninitialized bool in exception print context. `struct exception_print_context.need_close` was uninitialized. Found by oss-fuzz in a test case running under the undefined behavior sanitizer. https://oss-fuzz.com/testcase-detail/6217746058182656 ``` Python/pythonrun.c:1241:28: runtime error: load of value 253, which is not a valid value for type 'bool' #0 0xbf2203 in print_chained cpython3/Python/pythonrun.c:1241:28 #1 0xbea4bb in print_exception_cause_and_context cpython3/Python/pythonrun.c:1320:19 #2 0xbea4bb in print_exception_recursive cpython3/Python/pythonrun.c:1470:13 #3 0xbe9e39 in _PyErr_Display cpython3/Python/pythonrun.c:1517:9 ``` Pretty obvious what the ommission was upon code inspection.
* gh-84461: Drop -sWASM, fix building tests for browser (GH-91530)Christian Heimes2022-04-143-57/+53
| | | | | | | - drop unnecessary ``=1`` suffix from Emscripten flags - drop unnecessary ``-sWASM`` flag for side modules - rename ``build_platform`` to ``build_wasm``. I introduced the target for WASM builds a couple of months ago. - fix ``--enable-test-modules`` for browser builds
* gh-91353: Fix void return type handling in ctypes (GH-32246)Hood Chatham2022-04-143-2/+12
|
* Add redirects to Misc/NEWS bpo links (#91454)Ezio Melotti2022-04-141-1/+2
|
* gh-90879: Fix missing parameter for put_nowait() (GH-91514)slateny2022-04-142-3/+3
|
* gh-91156: Fix `encoding="locale"` in UTF-8 mode (GH-70056)Inada Naoki2022-04-1411-24/+35
|
* gh-90699: Remove usage of _Py_IDENTIFIER from bisect module. (GH-91522)Dong-hee Na2022-04-141-5/+2
|
* gh-90326: Remove quotes for logging config (GH-91516)slateny2022-04-141-1/+1
|
* gh-91266: refactor bytearray strip methods (GH-32096)Pieter Eendebak2022-04-142-85/+41
|
* gh-87497: Document that urllib.request sends headers in camel case (GH-24661)Alix Lourme2022-04-142-0/+10
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Fill holes in internal compiler structs (#91458)L. A. F. Pereira2022-04-131-18/+18
|
* gh-90449: Improve accuracy and readability of exceptions tutorial (GH-31899)Irit Katriel2022-04-131-46/+54
|
* gh-91217: deprecate imghdr (#91461)Brett Cannon2022-04-138-23/+128
| | | | | | | | | | | | | | * Deprecate imghdr Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update Doc/whatsnew/3.11.rst Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Inline `imghdr` into `email.mime.image` Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Barry Warsaw <barry@python.org>
* gh-91243: Update authors for Required[] and NotRequired[] implementation ↵David Foster2022-04-131-1/+1
| | | | (GH-91506)
* gh-90971: suppress deprecation warning in `test_lib2to3`(GH-31464)Nikita Sobolev2022-04-132-4/+5
| | | | | | Fixes GH-90971 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Éric <merwok@netwok.org>
* gh-91502: Add a new API to check if a frame is an entry frame (GH-91503)Pablo Galindo Salgado2022-04-133-0/+20
|
* bpo-43218: Prevent venv creation when the target directory contains a PATH ↵Dustin Rodrigues2022-04-133-0/+13
| | | | separator. (GH-24530)
* bpo-43224: Forbid TypeVar substitution with Unpack (GH-32031)Serhiy Storchaka2022-04-132-0/+16
|
* gh-91421: Use constant value check during runtime (GH-91422)Tobias Stoeckmann2022-04-132-1/+2
| | | | | | | | | | | | | The left-hand side expression of the if-check can be converted to a constant by the compiler, but the addition on the right-hand side is performed during runtime. Move the addition from the right-hand side to the left-hand side by turning it into a subtraction there. Since the values are known to be large enough to not turn negative, this is a safe operation. Prevents a very unlikely integer overflow on 32 bit systems. Fixes GH-91421.
* gh-91243: Add typing.Required and NotRequired (PEP 655) (GH-32419)Jelle Zijlstra2022-04-124-6/+241
| | | | | | | | | | | I talked to @davidfstr and I offered to implement the runtime part of PEP 655 to make sure we can get it in before the feature freeze. We're going to defer the documentation to a separate PR, because it can wait until after the feature freeze. The runtime implementation conveniently already exists in typing-extensions, so I largely copied that. Co-authored-by: David Foster <david@dafoster.net>
* bpo-47152: Automatically regenerate sre_constants.h (GH-91439)Serhiy Storchaka2022-04-125-46/+73
| | | | | | | * Move the code for generating Modules/_sre/sre_constants.h from Lib/re/_constants.py into a separate script Tools/scripts/generate_sre_constants.py. * Add target `regen-sre` in the makefile. * Make target `regen-all` depending on `regen-sre`.
* gh-90839: Forward gzip.compress() compresslevel to zlib (gh-31215)Ilya Leoshkevich2022-04-122-1/+3
|
* gh-91276: make space for longer opcodes in dis output (GH-91444)Irit Katriel2022-04-123-228/+217
|
* gh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434)Jack DeVries2022-04-123-9/+17
| | | | | * add a paragraph to document this kwarg in detail * update docstring in the source accordingly
* gh-79097: Add support for aggregate window functions in sqlite3 (GH-20903)Erlend Egeberg Aasland2022-04-1210-13/+477
|
* gh-91217: deprecate crypt (GH-91459)Brett Cannon2022-04-124-2/+8
|
* gh-91428: Add _PyOpcode_OpName to opcode.h of debug builds (GH-91430)Dennis Sweeney2022-04-113-0/+128
|
* gh-47061: Deprecate `chunk` (GH-91419)Brett Cannon2022-04-115-4/+124
|
* gh-91117: Ensure integer mod and pow operations use cached small ints (GH-31843)Dennis Sweeney2022-04-113-0/+45
|
* Remove dead "Check PRs with 'CLA not signed' label" (#91429)Oleg Iarygin2022-04-111-15/+1
|
* Update Sphinx bpo role to use redirect URI. (#32342)Ezio Melotti2022-04-111-1/+1
|
* gh-91423: Remove bugs.python.org from bugs.rst (GH-91425)roy reznik2022-04-111-19/+20
| | | | | | | | | | | | * Remove bugs.python.org from bugs.rst * Update bugs.rst to the github issue tracker * reflow * Fix a typo and rephrase a sentence. Co-authored-by: Inada Naoki <songofacandy@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* GH-89480: Document motivation, design and implementation of 3.11 frame ↵Mark Shannon2022-04-113-0/+131
| | | | stack. (GH-32304)
* bpo-44807: Allow Protocol classes to define __init__ (GH-31628)Adrian Garcia Badaracco2022-04-113-1/+29
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049)John Belmonte2022-04-1116-43/+368
| | | | | | | | Add "z" format specifier to coerce negative 0 to zero. See https://github.com/python/cpython/issues/90153 (originally https://bugs.python.org/issue45995) for discussion. This covers `str.format()` and f-strings. Old-style string interpolation is not supported. Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400)Irit Katriel2022-04-1114-127/+349
|
* Replace contributor-visible mentions of BPO in .github/* (GH-91426)Oleg Iarygin2022-04-103-4/+4
|
* Remove linking to bugs.python.org from the README (#91418)Łukasz Langa2022-04-101-6/+7
| | | Fixes #91424.
* Remove the issue template config after the migration (GH-32106)Ezio Melotti2022-04-101-5/+0
|
* notify new-bugs-announce on new issue open (#32421)Ee Durbin2022-04-101-0/+53
|
* bpo-40280: WASM docs and smaller browser builds (GH-32412)Christian Heimes2022-04-106-54/+231
| | | Co-authored-by: Brett Cannon <brett@python.org>
* bpo-22295: use python -m pip rather than plain pip in more examples (GH-24003)Ville Skyttä2022-04-093-14/+14
|
* Fix some typos in comments (GH-32422)jonasdlindner2022-04-094-4/+4
|