• syncosmic's avatar
    bpo-31183: `dis` now handles coroutines & async generators (GH-3077) · fe2b56ab
    syncosmic yazdı
    Coroutines and async generators use a distinct attribute name for their
    code objects, so this updates the `dis` module to correctly disassemble
    objects with those attributes.
    
    Due to the increase in the test module length, it also fixes some latent
    defects in the tests related to how the displayed source line numbers
    are extracted.
    
    https://bugs.python.org/issue31230 is a follow-up issue suggesting we
    may want to solve this a different way, by instead giving all these object
    types a common `__code__` attribute, avoiding the need for special
    casing in the `dis` module.
    fe2b56ab
Adı
Son kayıt (commit)
Son güncelleme
..
c-api Loading commit data...
data Loading commit data...
distributing Loading commit data...
distutils Loading commit data...
extending Loading commit data...
faq Loading commit data...
howto Loading commit data...
includes Loading commit data...
install Loading commit data...
installing Loading commit data...
library Loading commit data...
reference Loading commit data...
tools Loading commit data...
tutorial Loading commit data...
using Loading commit data...
whatsnew Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...
about.rst Loading commit data...
bugs.rst Loading commit data...
conf.py Loading commit data...
contents.rst Loading commit data...
copyright.rst Loading commit data...
glossary.rst Loading commit data...
license.rst Loading commit data...
make.bat Loading commit data...