Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:

Looking at the disassembly of the demo() function also shows differences 
between the B and C classes.

I seem to recall discussion about this on, maybe, the Python-Dev list. I think 
resolving this will probably have to wait on a re-design of the exact scoping 
rules with respect to classes inside functions.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43380>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to