- Fix restrict mode 3 bug: the obfuscated script crashes or complains of this error:
This function could not be called from the plain script
(#219) - Fix bug: the obfuscated script raises unknown opcode error when the script is obfuscated by
obf_code=2
if there is recursive function call - Fix command
init
andconfig
bug: the entry script is set to.
other than empty when passing--entry=""
- Fix bug: the traceback will print very long line if the obfuscated script raises exception
- Fix bug: in some special cases the obfuscated scripts which are obfuscated with
--enable-suffix
still conflict with other obfuscated packages - Refine the error message as violating restrict mode
- The obfuscated script will raise exception
ReuntimeError
other than quit directly when something is wrong
Now it will print a pretty traceback to find where is the problem - When generating
license.lic
for the obfuscated scripts, the license version information will be embedded into the license file implicitly - Do not transfer exception type to
PytransformError
as pyarmor initializes failed
Upgrade notes:
The license file generated by this version doesn't work with the old obfuscated scripts. There are 2 solutions for this case:
- Still generating the license file with old version pyarmor
- Or obfuscating the scrips again by new version pyarmor