• Guido van Rossum's avatar
    Amazing. A very subtle change in policy in descr-branch actually · 4269601f
    Guido van Rossum yazdı
    found a bug here.  Here's the deal:
    
    Class PyShell derives from class OutputWindow.  Method PyShell.close()
    wants to invoke its parent method, but because PyShell long ago was
    inherited from class PyShellEditorWindow, it invokes
    PyShelEditorWindow.close(self).  Now, class PyShellEditorWindow itself
    derives from class OutputWindow, and inherits the close() method from
    there without overriding it.  Under the old rules,
    PyShellEditorWindow.close would return an unbound method restricted to
    the class that defined the implementation of close(), which was
    OutputWindow.close.  Under the new rules, the unbound method is
    restricted to the class whose method was requested, that is
    PyShellEditorWindow, and this was correctly trapped as an error.
    4269601f
Adı
Son kayıt (commit)
Son güncelleme
..
audiopy Loading commit data...
bgen Loading commit data...
compiler Loading commit data...
faqwiz Loading commit data...
freeze Loading commit data...
i18n Loading commit data...
idle Loading commit data...
modulator Loading commit data...
pynche Loading commit data...
scripts Loading commit data...
unicode Loading commit data...
versioncheck Loading commit data...
webchecker Loading commit data...
world Loading commit data...
README Loading commit data...