andrews4s / unpyc37

Decompiler for Python 3.7 (forked from https://github.com/figment/unpyc3)
GNU General Public License v3.0
57 stars 19 forks source link

Two-argument assert is missing 2nd (message string) argument in decompilation #7

Closed rocky closed 5 years ago

rocky commented 5 years ago
assert __name__, "Your Python is normal"

when compiled and decompled loses the message field. That is, it comes back:

assert __name__
andrews4s commented 5 years ago

Thanks rocky, this should be fixed now in 2ea8cbe07d92396f18433d445fe795f96af36bfa

rocky commented 5 years ago

Yes indeed. This code is looking pretty good!