cpython icon indicating copy to clipboard operation
cpython copied to clipboard

The Python programming language

Results 1387 cpython issues
Sort by recently updated
recently updated
newest added

Test output ```text # Compare different precision on Decimal. format(Decimal('0'), ".0E") '0E+0' format(Decimal('0'), ".1E") '0.0E+1' format(Decimal('0'), ".2E") '0.00E+2' format(Decimal('0'), ".3E") '0.000E+3' format(Decimal('0'), ".30E") '0.000000000000000000000000000000E+30' format(Decimal('-0.0'), ".0E") '-0E-1' format(Decimal('-0.0'), ".1E") '-0.0E+0'...

docs

Right now we have [this](https://docs.python.org/3.14/library/stdtypes.html#comparisons) in docs: > Objects of different types, except different numeric types, never compare equal. This is not true for a long time, e.g. frozenset's vs...

docs

# Bug report ### Bug description: Looking at the Android build here: https://www.python.org/downloads/android/ The .pc files look like this: ``` # See: man pkg-config prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: Python...

type-bug
build
OS-android

(cherry picked from commit 2450be607cfbdb1ab9e4ed7c0fe01d715e406d18) Co-authored-by: Sergey B Kirpichev Co-authored-by: RUANG (James Roy) Co-authored-by: Stan Ulbrych Co-authored-by: Hugo van Kemenade ---- 📚 Documentation preview 📚: https://cpython-previews--142805.org.readthedocs.build/

docs
skip issue
awaiting review
skip news

(cherry picked from commit 2450be607cfbdb1ab9e4ed7c0fe01d715e406d18) Co-authored-by: Sergey B Kirpichev Co-authored-by: RUANG (James Roy) Co-authored-by: Stan Ulbrych Co-authored-by: Hugo van Kemenade ---- 📚 Documentation preview 📚: https://cpython-previews--142804.org.readthedocs.build/

docs
skip issue
awaiting review
skip news

The `os.path` documentation is alphabetically sorted. That's great because it's easy to find a function. However, this also means that functions shouldn't reference other functions documented later as the reader...

docs
easy

smtplib's `sendmail`and `send_message` support the arguments `mail_options` and `rcpt_options` which both take a list of ESMTP options. However, the documentation does only describe the single word case not the key-value...

docs

(cherry picked from commit a44509ea87021f78a9f769aff2bb3fc212bc8afc) Co-authored-by: Bartosz Sławecki * Issue: gh-139320 ---- 📚 Documentation preview 📚: https://cpython-previews--142793.org.readthedocs.build/

docs
awaiting review
skip news

The documentation for [[context manager protocol](https://docs.python.org/3/library/stdtypes.html#contextmanager.__exit__)](https://docs.python.org/3/library/stdtypes.html#contextmanager.__exit__) currently says: > "Exceptions that occur during execution of this method will replace any exception that occurred in the body of the with statement."...

docs

(cherry picked from commit a44509ea87021f78a9f769aff2bb3fc212bc8afc) Co-authored-by: Bartosz Sławecki * Issue: gh-139320 ---- 📚 Documentation preview 📚: https://cpython-previews--142792.org.readthedocs.build/

docs
awaiting review
skip news