summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* bpo-26579: Add object.__getstate__(). (GH-2821)Serhiy Storchaka2022-04-0625-255/+389
| | | | | | | Copying and pickling instances of subclasses of builtin types bytearray, set, frozenset, collections.OrderedDict, collections.deque, weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes implemented as slots.
* Remove python2 support in logging cookbook example. (GH-32362)Mathieu Dupuy2022-04-061-8/+1
|
* bpo-46721: Optimize set.issuperset() for non-set arguments (GH-31280)Serhiy Storchaka2022-04-062-16/+24
|
* bpo-43464: Optimize set.intersection() for non-set arguments (GH-31316)Serhiy Storchaka2022-04-062-0/+5
|
* bpo-47227: Suppress expression chaining for more RE parsing errors (GH-32333)Serhiy Storchaka2022-04-062-5/+6
|
* bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)Serhiy Storchaka2022-04-068-18/+7
| | | They were undocumented and never working.
* Fix whitespace/indentation issues in test_sys (GH-32369)Ken Jin2022-04-061-2/+2
|
* stdtypes docs: fix typo (GH-32349)Ian2022-04-061-1/+1
|
* bpo-47235: Note where a typo is intentional in code. (GH-32348)Gregory P. Smith2022-04-061-4/+4
| | | | | | | | | | | People keep popping up reporting these as typos in the docs despite being described as typos in the surrounding text. Hopefully a comment on the line itself makes it more obvious? Arguably some of the typo examples are not using the "right" typo as the "assret" one in particular is now detected by default due to how common it was in actual code. But I don't want to to typo chasing by changing these examples to be other not yet auto-detected typos as they still illustrate the point well enough.
* bpo-47115: Document which parts of structs are in limited API/stable ABI ↵Petr Viktorin2022-04-067-893/+969
| | | | | | (GH-32196) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-40421: test_capi uses assertEqual(), not assertEquals() (GH-32361)Victor Stinner2022-04-061-1/+1
| | | | | | | unittest.TestCase.assertEquals() alias is depracated. Fix the warning: Lib/test/test_capi.py:1100: DeprecationWarning: Please use assertEqual instead. self.assertEquals(frame.f_locals, _testcapi.frame_getlocals(frame))
* bpo-40280: WASM defaults to no dynamic linking (GH-32360)Christian Heimes2022-04-062-2/+14
|
* Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API ↵Victor Stinner2022-04-067-42/+15
| | | | | | | | | | | (GH-32052)" (GH-32343) * Revert "bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)" This reverts commit f877b40e3f7e0d97878884d80fbec879a85ab7e8. * Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)" This reverts commit b9a5522dd952125a99ff554f01f311cae25f5a91.
* [doc] Add missing backtick. (GH-32355)Julien Palard2022-04-061-1/+1
|
* bpo-47189: What's New in 3.11: Faster CPython (GH-32235)Ken Jin2022-04-063-7/+223
| | | | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-47103: Copy pgort140.dll into output directory when building ↵Steve Dower2022-04-063-18/+18
| | | | PGInstrument on Windows (GH-32083)
* Fix generation of MD5 table at end of Windows release build (GH-32345)Steve Dower2022-04-061-4/+12
|
* Post 3.11.0a7Pablo Galindo2022-04-051-1/+1
|