summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* bpo-47000: Add `locale.getencoding()` (GH-32068)Inada Naoki2022-04-0911-46/+88
|
* bpo-47061: deprecate cgi and cgitb (GH-32410)Brett Cannon2022-04-098-7/+28
| | | Part of PEP 594.
* bpo-47260: Fix os.closerange() potentially being a no-op in a seccomp ↵Alexey Izbyshev2022-04-082-4/+7
| | | | | | | | | | | | | | | | | | sandbox (GH-32418) _Py_closerange() currently assumes that close_range() closes all file descriptors even if it returns an error (other than ENOSYS). This assumption can be wrong on Linux if a seccomp sandbox denies the underlying syscall, pretending that it returns EPERM or EACCES. In this case _Py_closerange() won't close any descriptors at all, which in the worst case can be a security issue. Fix this by falling back to other methods in case of any close_range() error. Note that fallbacks will not be triggered on any problems with closing individual file descriptors because close_range() is documented to ignore such errors on both Linux[1] and FreeBSD[2]. [1] https://man7.org/linux/man-pages/man2/close_range.2.html [2] https://www.freebsd.org/cgi/man.cgi?query=close_range&sektion=2
* Fix bad grammar and import docstring for split/rsplit (GH-32381)Raymond Hettinger2022-04-082-22/+37
|
* Add feature macro PY_HAVE_THREAD_NATIVE_ID to the stable ABI definition ↵Petr Viktorin2022-04-085-4/+15
| | | | (GH-32365)
* Add new PyFrame_GetLasti C-API function (GH-32413)Mark Shannon2022-04-087-4/+45
|
* Clarify that this sentence applies to the above example. GH-32405Raymond Hettinger2022-04-081-3/+3
|
* bpo-47250: Fix refleak from object.__getstate__() (GH-32403)Dong-hee Na2022-04-071-1/+0
| | | Co-authored-by: Brandt Bucher <brandt@python.org>
* bpo-47177: Replace `f_lasti` with `prev_instr` (GH-32208)Brandt Bucher2022-04-0710-75/+90
|
* Deprecate audioop (GH-32392)Brett Cannon2022-04-0712-26/+68
|
* Doc: Fix spurious comma in the author metadata field (GH-32386)CAM Gerlach2022-04-071-1/+1
| | | Signed-off-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* ssl docs: Fix typo (GH-32336)Frederick2022-04-071-1/+1
|
* c-api docs: There are five fields, not four (GH-32379)Jelle Zijlstra2022-04-071-1/+1
|
* bpo-40280: Detect missing threading on WASM platforms (GH-32352)Christian Heimes2022-04-0733-21/+103
| | | Co-authored-by: Brett Cannon <brett@python.org>
* Remove micro-optimization that no longer shows a benefit. (GH-32397)Raymond Hettinger2022-04-071-21/+1
|
* pickle docs: Fix typos and improve wording (GH-24776)Géry Ogam2022-04-071-24/+23
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* doc: Link to `string.capwords` from `str.title` (GH-20913)Eric Wieser2022-04-071-1/+5
| | | | | Since `title()` mentions its own short-comings, it should also mention the library function which does not possess them. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* ssl docs: Fix typo (GH-32314)Frederick2022-04-071-1/+1
|
* pkgutil docs: Link sys constants, add backticks (GH-32356)Boris Verkhovskiy2022-04-071-4/+4
| | | Co-authored-by: Éric <merwok@netwok.org>
* bpo-35134: Remove the Include/code.h header file (GH-32385)Victor Stinner2022-04-0714-33/+17
| | | | | | Remove the Include/code.h header file. C extensions should only include the main <Python.h> header file. Python.h includes directly Include/cpython/code.h instead.
* bpo-35134: Add Include/cpython/setobject.h header (GH-32384)Victor Stinner2022-04-065-67/+78
|
* bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364)Steve Dower2022-04-063-104/+281
|
* bpo-35134: Add Include/cpython/complexobject.h header (GH-32383)Victor Stinner2022-04-065-42/+52
| | | | Move the private _PyComplex_FormatAdvancedWriter() function to the internal C API. This function is no longer exported.
* bpo-46576: Speed up test_peg_generator by using a static library for shared ↵Jeremy Kloth2022-04-063-44/+123
| | | | | sources (GH-32338) Speed up test_peg_generator by using a static library for shared sources to avoid recompiling as much code.
* Change parameter name from *x* for reals to *n* for integers. (GH-32377)Raymond Hettinger2022-04-063-8/+8
|
* bpo-47061: use `warnings._deprecated()` with asynchat, asyncore, and smtpd ↵Brett Cannon2022-04-063-18/+14
| | | | (GH-32350)
* Minor code nit: Move an unrelated statement out of a try clause in ↵Géry Ogam2022-04-061-2/+2
| | | | Sequence.index (GH-32330)