[New-bugs-announce] [issue26733] staticmethod and classmethod are ignored when disassemble class

Xiang Zhang report at bugs.python.org
Mon Apr 11 06:19:34 EDT 2016


New submission from Xiang Zhang:

Though the documentation tells when disassembling a class, it disassembles all methods for dis.dis, but staticmethod and classmethod are ignored. I don't know whether this is intended.

I write to patch to add staticmethod and classmethod. But unfortunately when I write tests, one unrelated test fails and I cannot figure out why.

----------
files: add_staticmethod_and_classmethod_when_dis.dis_a_class.patch
keywords: patch
messages: 263176
nosy: xiang.zhang
priority: normal
severity: normal
status: open
title: staticmethod and classmethod are ignored when disassemble class
Added file: http://bugs.python.org/file42429/add_staticmethod_and_classmethod_when_dis.dis_a_class.patch

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


More information about the New-bugs-announce mailing list