[issue26733] staticmethod and classmethod are ignored when disassemble class

Nick Coghlan report at bugs.python.org
Mon Apr 11 22:20:45 EDT 2016


Nick Coghlan added the comment:

The code and test changes in the latest patch look good to me. For documentation, I suggest updating https://docs.python.org/3/library/dis.html#dis.dis to:

- say "it disassembles all methods (including class and static methods)" when describing how classes are handled.

- add a version changed note for 3.6 to say that class and static methods are disassembled in addition to normal instance methods when disassembling a class

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26733>
_______________________________________


More information about the Python-bugs-list mailing list