bool-hybrid-array 9.10.18.post3__tar.gz → 9.10.18.post4__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 (15) hide show
  1. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/PKG-INFO +2 -1
  2. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/README.md +1 -0
  3. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/__init__.py +1 -1
  4. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/core.py +2 -10
  5. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/PKG-INFO +2 -1
  6. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/setup.py +1 -1
  7. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/LICENSE +0 -0
  8. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/__main__.py +0 -0
  9. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/int_array/__init__.py +0 -0
  10. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array//347/247/230/345/257/206.md" +0 -0
  11. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/SOURCES.txt +0 -0
  12. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/dependency_links.txt +0 -0
  13. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/requires.txt +0 -0
  14. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/top_level.txt +0 -0
  15. {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bool-hybrid-array
3
- Version: 9.10.18.post3
3
+ Version: 9.10.18.post4
4
4
  Summary: 一个高效的布尔数组(密集+稀疏混合存储,节省内存)
5
5
  Home-page: https://github.com/BKsell/bool-hybrid-array
6
6
  Author: 蔡靖杰
@@ -567,6 +567,7 @@ except OverflowError as e:
567
567
  * **9.10.18.post1**:修复TypeError: cannot pickle 'itertools._tee' object错误
568
568
  * **9.10.18.post2**:尝试修复“满屏错误”的问题
569
569
  * **9.10.18.post3**:尝试修复“满屏错误”的问题×2
570
+ * **9.10.18.post4**:尝试修复“满屏错误”的问题×3
570
571
 
571
572
 
572
573
  ## **彩蛋:**
@@ -527,6 +527,7 @@ except OverflowError as e:
527
527
  * **9.10.18.post1**:修复TypeError: cannot pickle 'itertools._tee' object错误
528
528
  * **9.10.18.post2**:尝试修复“满屏错误”的问题
529
529
  * **9.10.18.post3**:尝试修复“满屏错误”的问题×2
530
+ * **9.10.18.post4**:尝试修复“满屏错误”的问题×3
530
531
 
531
532
 
532
533
  ## **彩蛋:**
@@ -3,7 +3,7 @@ from types import ModuleType,FunctionType
3
3
  from . import core
4
4
  from .core import __builtins__,builtins
5
5
  from . import int_array
6
- __version__ = "9.10.18.post3"
6
+ __version__ = "9.10.18.post4"
7
7
  public_objects = []
8
8
  def jit_class_methods(cls):
9
9
  for attr_name in dir(cls):
@@ -610,14 +610,6 @@ class BHA_bool(int,metaclass=ResurrectMeta):
610
610
  return hash(self.data)
611
611
  def __len__(self):
612
612
  raise TypeError("'BHA_bool' object has no attribute '__len__'")
613
- def __del__(self):
614
- if not sys.is_finalizing():
615
- print(f'你删除或修改了1个常变量:{repr(self)}!')
616
- try:
617
- if self:builtins.T = BHA_bool(1)
618
- else:builtins.F = BHA_bool(0)
619
- except:pass
620
- else:raise TypeError(f'禁止删除或修改常变量{repr(self)}!')
621
613
  __rand__,__ror__,__rxor__ = __and__,__or__,__xor__
622
614
  class BHA_Bool(BHA_bool,metaclass=ResurrectMeta):
623
615
  __module__ = 'bool_hybrid_array'
@@ -649,10 +641,10 @@ class BHA_List(list,metaclass=ResurrectMeta):
649
641
  return self.hash_value
650
642
  def __call__(self, func):
651
643
  func.self = self
652
- def wrapper(self, *args, **kwargs):
644
+ def wrapper(*args, **kwargs):
653
645
  return func(self, *args, **kwargs)
654
646
  setattr(self, func.__name__, wrapper)
655
- return wrapper
647
+ return func
656
648
  def __str__(self):
657
649
  def Temp(v):
658
650
  if isinstance(v,(BoolHybridArray,np.ndarray,BHA_List,array.array)):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bool-hybrid-array
3
- Version: 9.10.18.post3
3
+ Version: 9.10.18.post4
4
4
  Summary: 一个高效的布尔数组(密集+稀疏混合存储,节省内存)
5
5
  Home-page: https://github.com/BKsell/bool-hybrid-array
6
6
  Author: 蔡靖杰
@@ -567,6 +567,7 @@ except OverflowError as e:
567
567
  * **9.10.18.post1**:修复TypeError: cannot pickle 'itertools._tee' object错误
568
568
  * **9.10.18.post2**:尝试修复“满屏错误”的问题
569
569
  * **9.10.18.post3**:尝试修复“满屏错误”的问题×2
570
+ * **9.10.18.post4**:尝试修复“满屏错误”的问题×3
570
571
 
571
572
 
572
573
  ## **彩蛋:**
@@ -8,7 +8,7 @@ def get_long_description():
8
8
  return "一个高效的布尔数组(密集+稀疏混合存储,节省内存)"
9
9
  setup(
10
10
  name="bool-hybrid-array",
11
- version="9.10.18.post3",
11
+ version="9.10.18.post4",
12
12
  author="蔡靖杰",
13
13
  extras_require={"int_array":[]},
14
14
  author_email="1289270215@qq.com",