cpython
cpython copied to clipboard
The Python programming language
Follow on from https://github.com/python/cpython/pull/124664, let's keep the modules sorted alphabetically. * Issue: gh-58032 ---- 📚 Documentation preview 📚: https://cpython-previews--125871.org.readthedocs.build/
# Documentation In Python 3.13, `PyObject_HasAttr` doc says: > Exceptions that occur when this calls `__getattr__()` and `__getattribute__()` methods are silently ignored. But its exception behavior after https://github.com/python/cpython/pull/106674 is to...
cc @zooba * Issue: gh-102536
* Issue: gh-84545 ---- 📚 Documentation preview 📚: https://cpython-previews--125870.org.readthedocs.build/
# Documentation Tutorial - Classes chapter - Multiple Inheritance section has a summary description of MRO which still says depth first. That applied to classic Python2 (old) classes. ### Linked...
This is a follow up to https://github.com/python/cpython/pull/113769. Thanks to @hugovk and @henryiii for mentioning this. With this PR, we get e.g. the following error message for shadowing stdlib: ``` λ...
This PR adds new keyword arguments `callers_sort_key` and `callers_filter` to `pstats.Stats.print_callers`, and similar to `pstats.Stats.print_callees`, and documents them in the profiling doc. The sorting and filtering are accomplished via use...
BPO | [44408](https://bugs.python.org/issue44408) --- | :--- Nosy | @iritkatriel, @jrlevine PRs | python/cpython#26701 *Note: these values reflect the state of the issue at the time it was migrated and might...
BPO | [44269](https://bugs.python.org/issue44269) --- | :--- Nosy | @jrlevine PRs | python/cpython#26709 *Note: these values reflect the state of the issue at the time it was migrated and might not...
This backports two commits: - GH-31096 skipped the tests unconditionally - GH-125042 skips only the possibly-failing assertion (cherry picked from commit d522856) * Issue: gh-125041