AutoCython-zhang 2.3.5__tar.gz → 2.3.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/_version.py +1 -1
  2. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/obfuscate.py +1 -2
  3. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython_zhang.egg-info/PKG-INFO +1 -1
  4. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython_zhang.egg-info/top_level.txt +0 -1
  5. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/PKG-INFO +1 -1
  6. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/AutoCython.py +0 -0
  7. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/__init__.py +0 -0
  8. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/compile.py +0 -0
  9. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/run_tasks.py +0 -0
  10. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython/tools.py +0 -0
  11. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython_zhang.egg-info/SOURCES.txt +0 -0
  12. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython_zhang.egg-info/dependency_links.txt +0 -0
  13. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython_zhang.egg-info/entry_points.txt +0 -0
  14. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/AutoCython_zhang.egg-info/requires.txt +0 -0
  15. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/LICENSE +0 -0
  16. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/MANIFEST.in +0 -0
  17. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/README.md +0 -0
  18. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/pyproject.toml +0 -0
  19. {autocython_zhang-2.3.5 → autocython_zhang-2.3.6}/setup.cfg +0 -0
@@ -2,4 +2,4 @@
2
2
  # -*- coding: utf-8 -*-
3
3
  """版本号模块 - 单一版本号来源"""
4
4
 
5
- __version__ = "2.3.5"
5
+ __version__ = "2.3.6"
@@ -482,7 +482,7 @@ class _OpaquePredicateInserter(ast.NodeTransformer):
482
482
 
483
483
 
484
484
  def obfuscate_source(source_code: str, seed=None) -> str:
485
- """对源码执行七重 AST 变换:去 docstring、去 annotation、局部变量重命名、
485
+ """对源码执行六重 AST 变换:去 docstring、局部变量重命名、
486
486
  字符串加密、常量折叠、控制流平坦化、虚假分支。
487
487
  ast.unparse() 天然丢弃所有注释。
488
488
 
@@ -493,7 +493,6 @@ def obfuscate_source(source_code: str, seed=None) -> str:
493
493
  rng = random.Random(seed) if seed is not None else random
494
494
  tree = ast.parse(source_code)
495
495
  tree = _DocstringRemover().visit(tree)
496
- tree = _AnnotationRemover().visit(tree)
497
496
  tree = _LocalVarRenamer().visit(tree)
498
497
  tree = _ControlFlowFlattener(rng=rng).visit(tree)
499
498
  tree = _OpaquePredicateInserter(rng=rng).visit(tree)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AutoCython-zhang
3
- Version: 2.3.5
3
+ Version: 2.3.6
4
4
  Summary: 自动Cython,使用Cython批量编译.py文件为.pyd文件!
5
5
  Author-email: zhang_gavin <qq814608@163.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AutoCython-zhang
3
- Version: 2.3.5
3
+ Version: 2.3.6
4
4
  Summary: 自动Cython,使用Cython批量编译.py文件为.pyd文件!
5
5
  Author-email: zhang_gavin <qq814608@163.com>
6
6
  License-Expression: MIT