pyobject 1.3.1__tar.gz → 1.3.2__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 (45) hide show
  1. {pyobject-1.3.1/pyobject.egg-info → pyobject-1.3.2}/PKG-INFO +3 -3
  2. {pyobject-1.3.1 → pyobject-1.3.2}/README.rst +2 -2
  3. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/__init__.py +1 -1
  4. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/code.py +1 -1
  5. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/examples/pyc_zipper_zlib.py +1 -1
  6. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/examples/test_inject.py +1 -1
  7. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/objproxy/__init__.py +1 -1
  8. {pyobject-1.3.1 → pyobject-1.3.2/pyobject.egg-info}/PKG-INFO +3 -3
  9. {pyobject-1.3.1 → pyobject-1.3.2}/LICENSE +0 -0
  10. {pyobject-1.3.1 → pyobject-1.3.2}/MANIFEST.in +0 -0
  11. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/browser.py +0 -0
  12. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/examples/README.md +0 -0
  13. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/examples/__init__.py +0 -0
  14. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/examples/empty_cp37.pyc +0 -0
  15. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/examples/pyc_zipper_unpack.py +0 -0
  16. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/back.gif +0 -0
  17. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/codeobject.gif +0 -0
  18. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/dict.gif +0 -0
  19. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/empty_dict.gif +0 -0
  20. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/empty_list.gif +0 -0
  21. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/empty_tuple.gif +0 -0
  22. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/forward.gif +0 -0
  23. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/function.gif +0 -0
  24. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/list.gif +0 -0
  25. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/number.gif +0 -0
  26. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/python.gif +0 -0
  27. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/python.ico +0 -0
  28. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/refresh.gif +0 -0
  29. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/string.gif +0 -0
  30. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/images/tuple.gif +0 -0
  31. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/objproxy/builtin_hook.py +0 -0
  32. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/objproxy/optimize.py +0 -0
  33. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/objproxy/utils.py +0 -0
  34. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/other/browser_chs_locale.py +0 -0
  35. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/pyobj_extension.c +0 -0
  36. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/search.py +0 -0
  37. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/tests/test_code.py +0 -0
  38. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/tests/test_objproxy.py +0 -0
  39. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject/tests/test_objproxy_perf.py +0 -0
  40. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject.egg-info/SOURCES.txt +0 -0
  41. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject.egg-info/dependency_links.txt +0 -0
  42. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject.egg-info/requires.txt +0 -0
  43. {pyobject-1.3.1 → pyobject-1.3.2}/pyobject.egg-info/top_level.txt +0 -0
  44. {pyobject-1.3.1 → pyobject-1.3.2}/setup.cfg +0 -0
  45. {pyobject-1.3.1 → pyobject-1.3.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobject
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: A multifunctional all-in-one utility tool for managing internal Python objects, compatible with nearly all Python 3 versions. 一个多功能合一的提供操作Python对象底层工具的Python包, 支持几乎所有Python 3版本。
5
5
  Home-page: https://github.com/qfcy/pyobject
6
6
  Author: qfcy
@@ -493,12 +493,12 @@ Python call “obj in lst” that invokes the “==” operator (``__eq__``)
493
493
  multiple times, this function directly compares the pointers to improve
494
494
  efficiency.
495
495
 
496
- **Current Version of ``pyobject``**: 1.3.1
496
+ **Current Version of ``pyobject``**: 1.3.2
497
497
 
498
498
  Change Log
499
499
  ----------
500
500
 
501
- | 2025-6-23(v1.3.1): Added the ``use_exported_obj`` parameter to the
501
+ | 2025-6-23(v1.3.2): Added the ``use_exported_obj`` parameter to the
502
502
  pyobject.objproxy module and further optimized the performance.
503
503
  | 2025-6-6(v1.3.0): Optimized the performance of the pyobject.objproxy
504
504
  module.
@@ -476,12 +476,12 @@ Python call “obj in lst” that invokes the “==” operator (``__eq__``)
476
476
  multiple times, this function directly compares the pointers to improve
477
477
  efficiency.
478
478
 
479
- **Current Version of ``pyobject``**: 1.3.1
479
+ **Current Version of ``pyobject``**: 1.3.2
480
480
 
481
481
  Change Log
482
482
  ----------
483
483
 
484
- | 2025-6-23(v1.3.1): Added the ``use_exported_obj`` parameter to the
484
+ | 2025-6-23(v1.3.2): Added the ``use_exported_obj`` parameter to the
485
485
  pyobject.objproxy module and further optimized the performance.
486
486
  | 2025-6-6(v1.3.0): Optimized the performance of the pyobject.objproxy
487
487
  module.
@@ -6,7 +6,7 @@ import sys
6
6
  from warnings import warn
7
7
  from pprint import pprint
8
8
 
9
- __version__="1.3.1"
9
+ __version__="1.3.2"
10
10
 
11
11
  __all__=["objectname","bases","describe","desc"]
12
12
  _ignore_names=["__builtins__","__doc__"]
@@ -150,7 +150,7 @@ The code argument can be either Code or the built-in CodeType."""
150
150
  return Code(self)
151
151
  def __getattr__(self,name):
152
152
  if _is_py310 and name=="co_lnotab":
153
- name=co_linetable # 兼容旧版本
153
+ name="co_linetable" # 兼容旧版本
154
154
  _args=object.__getattribute__(self,'_args')
155
155
  if name in _args:
156
156
  return _args[name]
@@ -1,7 +1,7 @@
1
1
  # 使用zlib的pyc文件压缩、保护工具
2
2
  import sys,marshal,zlib
3
3
  from inspect import iscode
4
- from pyobject.code_ import Code
4
+ from pyobject.code import Code
5
5
  try:
6
6
  from importlib._bootstrap_external import MAGIC_NUMBER
7
7
  except ImportError:
@@ -1,4 +1,4 @@
1
- from pyobject.code_ import Code
1
+ from pyobject.code import Code
2
2
  from inspect import iscode
3
3
  import marshal,os,sys
4
4
  try:
@@ -289,7 +289,7 @@ class ObjChain:
289
289
  def get_optimized_code(self, no_optimize_vars=None, remove_internal_level=1,
290
290
  remove_export_type=True):
291
291
  return optimize_code(self.codes, self.code_vars, no_optimize_vars,
292
- remove_internal, remove_export_type)
292
+ remove_internal_level, remove_export_type)
293
293
  def eval_value(self,var_name=None,start_lineno=None,end_lineno=None):
294
294
  # 一次性执行未执行过的代码(仅用于没有target_obj时)
295
295
  if end_lineno is None:end_lineno = len(self.codes)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobject
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: A multifunctional all-in-one utility tool for managing internal Python objects, compatible with nearly all Python 3 versions. 一个多功能合一的提供操作Python对象底层工具的Python包, 支持几乎所有Python 3版本。
5
5
  Home-page: https://github.com/qfcy/pyobject
6
6
  Author: qfcy
@@ -493,12 +493,12 @@ Python call “obj in lst” that invokes the “==” operator (``__eq__``)
493
493
  multiple times, this function directly compares the pointers to improve
494
494
  efficiency.
495
495
 
496
- **Current Version of ``pyobject``**: 1.3.1
496
+ **Current Version of ``pyobject``**: 1.3.2
497
497
 
498
498
  Change Log
499
499
  ----------
500
500
 
501
- | 2025-6-23(v1.3.1): Added the ``use_exported_obj`` parameter to the
501
+ | 2025-6-23(v1.3.2): Added the ``use_exported_obj`` parameter to the
502
502
  pyobject.objproxy module and further optimized the performance.
503
503
  | 2025-6-6(v1.3.0): Optimized the performance of the pyobject.objproxy
504
504
  module.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes