• Martijn Pieters's avatar
    closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169) · b7272395
    Martijn Pieters yazdı
    Methods are always bound, and `__self__` can no longer be `NULL`
    (`method_new()` and `PyMethod_New()` both explicitly check for this).
    
    Moreover, once a bound method is bound, it *stays* bound and won't be re-bound
    to something else, so the section in the datamodel that talks about accessing
    an methods in a different descriptor-binding context doesn't apply any more in
    Python 3.
    b7272395
Adı
Son kayıt (commit)
Son güncelleme
..
compound_stmts.rst Loading commit data...
datamodel.rst Loading commit data...
executionmodel.rst Loading commit data...
expressions.rst Loading commit data...
grammar.rst Loading commit data...
import.rst Loading commit data...
index.rst Loading commit data...
introduction.rst Loading commit data...
lexical_analysis.rst Loading commit data...
simple_stmts.rst Loading commit data...
toplevel_components.rst Loading commit data...