-
hello, i am currently using pyarmor 8.5.2 on python 3.10.4, I found in the documentation that in pyarmor<8 there was a restrict mode '100+' that manage to make the module attribute _dict_ looks like an empty dictionary, is their a way with pyarmor 8 to have the same effect ? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Using option |
Beta Was this translation helpful? Give feedback.
-
It's same as Pyarmor 7, you must obfuscate some modules without |
Beta Was this translation helpful? Give feedback.
-
In pyarmor 7 i managed to restrict but keep the ability to import in plain scripts, for example I have a file text = 'hello world'
print(text) If I do:
then
|
Beta Was this translation helpful? Give feedback.
-
Sorry. |
Beta Was this translation helpful? Give feedback.
Sorry.
In Pyarmor 8, now the plain scripts could not import private and restrict modules.
In next release, only restrict module could not be imported by plain scripts, private module could be imported by plain scripts, and both of them's
__dict__
are protected.Thanks for your report