Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the issue template config after the migration (GH-32106) | Ezio Melotti | 2022-04-10 | 1 | -5/+0 |
| | |||||
* | notify new-bugs-announce on new issue open (#32421) | Ee Durbin | 2022-04-10 | 1 | -0/+53 |
| | |||||
* | bpo-40280: WASM docs and smaller browser builds (GH-32412) | Christian Heimes | 2022-04-10 | 6 | -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-09 | 3 | -14/+14 |
| | |||||
* | Fix some typos in comments (GH-32422) | jonasdlindner | 2022-04-09 | 4 | -4/+4 |
| | |||||
* | bpo-47000: Add `locale.getencoding()` (GH-32068) | Inada Naoki | 2022-04-09 | 11 | -46/+88 |
| | |||||
* | bpo-47061: deprecate cgi and cgitb (GH-32410) | Brett Cannon | 2022-04-09 | 8 | -7/+28 |
| | | | Part of PEP 594. | ||||
* | bpo-47260: Fix os.closerange() potentially being a no-op in a seccomp ↵ | Alexey Izbyshev | 2022-04-08 | 2 | -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 Hettinger | 2022-04-08 | 2 | -22/+37 |
| | |||||
* | Add feature macro PY_HAVE_THREAD_NATIVE_ID to the stable ABI definition ↵ | Petr Viktorin | 2022-04-08 | 5 | -4/+15 |
| | | | | (GH-32365) | ||||
* | Add new PyFrame_GetLasti C-API function (GH-32413) | Mark Shannon | 2022-04-08 | 7 | -4/+45 |
| | |||||
* | Clarify that this sentence applies to the above example. GH-32405 | Raymond Hettinger | 2022-04-08 | 1 | -3/+3 |
| | |||||
* | bpo-47250: Fix refleak from object.__getstate__() (GH-32403) | Dong-hee Na | 2022-04-07 | 1 | -1/+0 |
| | | | Co-authored-by: Brandt Bucher <brandt@python.org> | ||||
* | bpo-47177: Replace `f_lasti` with `prev_instr` (GH-32208) | Brandt Bucher | 2022-04-07 | 10 | -75/+90 |
| | |||||
* | Deprecate audioop (GH-32392) | Brett Cannon | 2022-04-07 | 12 | -26/+68 |
| | |||||
* | Doc: Fix spurious comma in the author metadata field (GH-32386) | CAM Gerlach | 2022-04-07 | 1 | -1/+1 |
| | | | Signed-off-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | ssl docs: Fix typo (GH-32336) | Frederick | 2022-04-07 | 1 | -1/+1 |
| | |||||
* | c-api docs: There are five fields, not four (GH-32379) | Jelle Zijlstra | 2022-04-07 | 1 | -1/+1 |
| | |||||
* | bpo-40280: Detect missing threading on WASM platforms (GH-32352) | Christian Heimes | 2022-04-07 | 33 | -21/+103 |
| | | | Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | Remove micro-optimization that no longer shows a benefit. (GH-32397) | Raymond Hettinger | 2022-04-07 | 1 | -21/+1 |
| | |||||
* | pickle docs: Fix typos and improve wording (GH-24776) | Géry Ogam | 2022-04-07 | 1 | -24/+23 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | doc: Link to `string.capwords` from `str.title` (GH-20913) | Eric Wieser | 2022-04-07 | 1 | -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) | Frederick | 2022-04-07 | 1 | -1/+1 |
| | |||||
* | pkgutil docs: Link sys constants, add backticks (GH-32356) | Boris Verkhovskiy | 2022-04-07 | 1 | -4/+4 |
| | | | Co-authored-by: Éric <merwok@netwok.org> | ||||
* | bpo-35134: Remove the Include/code.h header file (GH-32385) | Victor Stinner | 2022-04-07 | 14 | -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 Stinner | 2022-04-06 | 5 | -67/+78 |
| | |||||
* | bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364) | Steve Dower | 2022-04-06 | 3 | -104/+281 |
| | |||||
* | bpo-35134: Add Include/cpython/complexobject.h header (GH-32383) | Victor Stinner | 2022-04-06 | 5 | -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 Kloth | 2022-04-06 | 3 | -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 Hettinger | 2022-04-06 | 3 | -8/+8 |
| | |||||
* | bpo-47061: use `warnings._deprecated()` with asynchat, asyncore, and smtpd ↵ | Brett Cannon | 2022-04-06 | 3 | -18/+14 |
| | | | | (GH-32350) | ||||
* | Minor code nit: Move an unrelated statement out of a try clause in ↵ | Géry Ogam | 2022-04-06 | 1 | -2/+2 |
| | | | | Sequence.index (GH-32330) | ||||
* | bpo-26579: Add object.__getstate__(). (GH-2821) | Serhiy Storchaka | 2022-04-06 | 25 | -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 Dupuy | 2022-04-06 | 1 | -8/+1 |
| | |||||
* | bpo-46721: Optimize set.issuperset() for non-set arguments (GH-31280) | Serhiy Storchaka | 2022-04-06 | 2 | -16/+24 |
| | |||||
* | bpo-43464: Optimize set.intersection() for non-set arguments (GH-31316) | Serhiy Storchaka | 2022-04-06 | 2 | -0/+5 |
| | |||||
* | bpo-47227: Suppress expression chaining for more RE parsing errors (GH-32333) | Serhiy Storchaka | 2022-04-06 | 2 | -5/+6 |
| | |||||
* | bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300) | Serhiy Storchaka | 2022-04-06 | 8 | -18/+7 |
| | | | They were undocumented and never working. | ||||
* | Fix whitespace/indentation issues in test_sys (GH-32369) | Ken Jin | 2022-04-06 | 1 | -2/+2 |
| | |||||
* | stdtypes docs: fix typo (GH-32349) | Ian | 2022-04-06 | 1 | -1/+1 |
| | |||||
* | bpo-47235: Note where a typo is intentional in code. (GH-32348) | Gregory P. Smith | 2022-04-06 | 1 | -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 Viktorin | 2022-04-06 | 7 | -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 Stinner | 2022-04-06 | 1 | -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 Heimes | 2022-04-06 | 2 | -2/+14 |
| | |||||
* | Revert "bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API ↵ | Victor Stinner | 2022-04-06 | 7 | -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 Palard | 2022-04-06 | 1 | -1/+1 |
| | |||||
* | bpo-47189: What's New in 3.11: Faster CPython (GH-32235) | Ken Jin | 2022-04-06 | 3 | -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 Dower | 2022-04-06 | 3 | -18/+18 |
| | | | | PGInstrument on Windows (GH-32083) | ||||
* | Fix generation of MD5 table at end of Windows release build (GH-32345) | Steve Dower | 2022-04-06 | 1 | -4/+12 |
| | |||||
* | Post 3.11.0a7 | Pablo Galindo | 2022-04-05 | 1 | -1/+1 |
| |