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.
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/PKG-INFO +2 -1
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/README.md +1 -0
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/__init__.py +1 -1
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/core.py +2 -10
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/PKG-INFO +2 -1
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/setup.py +1 -1
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/LICENSE +0 -0
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/__main__.py +0 -0
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/int_array/__init__.py +0 -0
- {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
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/SOURCES.txt +0 -0
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/dependency_links.txt +0 -0
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/requires.txt +0 -0
- {bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array.egg-info/top_level.txt +0 -0
- {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.
|
|
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
|
## **彩蛋:**
|
{bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/__init__.py
RENAMED
|
@@ -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.
|
|
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):
|
{bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/core.py
RENAMED
|
@@ -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(
|
|
644
|
+
def wrapper(*args, **kwargs):
|
|
653
645
|
return func(self, *args, **kwargs)
|
|
654
646
|
setattr(self, func.__name__, wrapper)
|
|
655
|
-
return
|
|
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.
|
|
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
|
## **彩蛋:**
|
|
File without changes
|
{bool_hybrid_array-9.10.18.post3 → bool_hybrid_array-9.10.18.post4}/bool_hybrid_array/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|