You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Fix Python 3.x pringing superclasses...
class Description: not class Description("Description"). Introduced in not catching LOAD_CONST->LOAD_STR change
This commit is contained in:
@@ -15,3 +15,11 @@ class BZ2File(io.BufferedIOBase):
|
||||
|
||||
class ABC(metaclass=BZ2File):
|
||||
pass
|
||||
|
||||
# From 3.3 test_abc
|
||||
|
||||
# Bug was class Descriptor("Descriptor"): instead of below
|
||||
def test_customdescriptors_with_abstractmethod():
|
||||
class Descriptor:
|
||||
def setter(self):
|
||||
return Descriptor(self._fget)
|
||||
|
Reference in New Issue
Block a user