PyArmor Documentation v8.5.10pyarmor cfg ast.call:auto_mode "or" $ pyarmor cfg ast.call:includes "foo koo" $ pyarmor gen --assert-call foo.py For example, also protect hidden imported module joker.card: $ pyarmor cfg ast.import:auto_mode import:auto_mode "or" $ pyarmor cfg ast.import:includes "joker.card" $ pyarmor gen --assert-import joker/ 1.5.3. Using plugin to fix loading issue in darwin New in version 8.2. In darwin, if Python is not g/expand.py at line 191 to find class StaticModule definition. By the source code we know it uses ast.parse to parse source code directly to get locals. It’s impossible for obfuscated scripts, in order0 码力 | 193 页 | 154.05 KB | 1 年前3
PyArmor Documentation v8.1.9in the section finder by this form: $ pyarmor cfg finder:excludes "ast" If no prefix finder, for example: $ pyarmor cfg excludes "ast" Not only option excludes in section finder, but also in other sections ( ast.ExtSlice, ast.AsyncFunctionDef, ast.AsyncFor, ast.AsyncWith, ast.Await, ast.Yield, ast.YieldFrom, ast.GeneratorExp, ast.NamedExpr, ast.MatchValue, ast.MatchSingleton, ast.MatchSequence MatchSequence, ast.MatchMapping, ast.MatchClass, ast.MatchStar, ast.MatchAs, ast.MatchOr ) And unsupport functions: exec eval super locals sys._getframe sys.exc_info For example, the following functions0 码力 | 131 页 | 111.00 KB | 1 年前3
Computer Programming with the Nim Programming Language
Python- like (off- side rule) Native, web browser (JavaScript) GC, refcount, destructors Yes AST based, hygienic Yes Rust Imperative, procedural, structured, functional, object- oriented Static, strong, inferred Braces, semicolons Native Destructors, borrow- checker Yes AST based, hygienic Yes Language Paradigm Typing discipline Syntax Execution Memory Management Generics fashion; for example, instead of len(myStr), we can also use the OOP style myStr.len.[16] The powerful AST-based hygienic macro system offers nearly unlimited possibilities for the advanced programmer. This0 码力 | 865 页 | 7.45 MB | 1 年前3
Computer Programming with the Nim Programming Language
Python- like (off- side rule) Native, web browser (JavaScript) GC, refcount, destructors Yes AST based, hygienic Yes Rust Imperative, procedural, structured, functional, object- oriented Static, strong, inferred Braces, semicolons Native Destructors, borrow- checker Yes AST based, hygienic Yes Language Paradigm Typing discipline Syntax Execution Memory Management Generics fashion; for example, instead of len(myStr), we can also use the OOP style myStr.len.[16] The powerful AST-based hygienic macro system offers nearly unlimited possibilities for the advanced programmer. This0 码力 | 784 页 | 2.13 MB | 1 年前3
Falcon v3.0.0-b1 Documentationtree is performed. See also :meth:`.CompiledRouter.add_route` """ __slots__ = ( '_ast', '_converter_map', '_converters', '_find', '_finder_src', '_options' '_return_values', '_roots', '_compile_lock', ) def __init__(self): self._ast = None self._converters = None self._finder_src = None self._options = CompiledRouterOptions() converter " {}"'.format(name) raise ValueError(msg) from e def _generate_ast( self, nodes: list, parent, return_values: list, patterns: list0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v3.0.0 Documentationtree is performed. See also :meth:`.CompiledRouter.add_route` """ __slots__ = ( '_ast', '_converter_map', '_converters', '_find', '_finder_src', '_options' '_return_values', '_roots', '_compile_lock', ) def __init__(self): self._ast = None self._converters = None self._finder_src = None self._options = CompiledRouterOptions() converter " {}"'.format(name) raise ValueError(msg) from e def _generate_ast( self, nodes: list, parent, return_values: list, patterns: list0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationtree is performed. See also :meth:`.CompiledRouter.add_route` """ __slots__ = ( '_ast', '_converter_map', '_converters', '_find', '_finder_src', '_options' '_return_values', '_roots', '_compile_lock', ) def __init__(self): self._ast = None self._converters = None self._finder_src = None self._options = CompiledRouterOptions() converter " {}"'.format(name) raise ValueError(msg) from e def _generate_ast( self, nodes: list, parent, return_values: list, patterns: list0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentationtree is performed. See also :meth:`.CompiledRouter.add_route` """ __slots__ = ( '_ast', '_converter_map', '_converters', '_find', '_finder_src', '_options' '_return_values', '_roots', '_compile_lock', ) def __init__(self): self._ast = None self._converters = None self._finder_src = None self._options = CompiledRouterOptions() converter " {}"'.format(name) raise ValueError(msg) from e def _generate_ast( self, nodes: list, parent, return_values: list, patterns: list0 码力 | 1041 页 | 730.21 KB | 1 年前3
peewee Documentation
Release 3.5.0database implementation. Query-builder class Node Base-class for all components which make up the AST for a SQL query. static copy(method) Decorator to use with Node methods that mutate the node’s state query AST. Python values, such as integers, strings, floats, etc. are treated as parameterized values. The updated Context object. literal(keyword) Append a string-literal to the current query AST. The Instance of a Node subclass. a 2-tuple consisting of (sql, parameters). Convert the given node to a SQL AST and return a 2-tuple consisting of the SQL query and the parameters. query() a 2-tuple consisting0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0database implementation. Query-builder class Node Base-class for all components which make up the AST for a SQL query. static copy(method) Decorator to use with Node methods that mutate the node’s state query AST. Python values, such as integers, strings, floats, etc. are treated as parameterized values. The updated Context object. literal(keyword) Append a string-literal to the current query AST. The Instance of a Node subclass. a 2-tuple consisting of (sql, parameters). Convert the given node to a SQL AST and return a 2-tuple consisting of the SQL query and the parameters. query() a 2-tuple consisting0 码力 | 349 页 | 382.34 KB | 1 年前3
共 35 条
- 1
- 2
- 3
- 4













