bool-hybrid-array 9.11.2__tar.gz → 9.11.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bool-hybrid-array
3
- Version: 9.11.2
3
+ Version: 9.11.4
4
4
  Summary: 一个高效的布尔数组(密集+稀疏混合存储,节省内存)
5
5
  Home-page: https://github.com/BKsell/bool-hybrid-array
6
6
  Author: 蔡靖杰
@@ -587,6 +587,8 @@ except OverflowError as e:
587
587
  * **9.11.0**:新增对7.3.10以上版本的PyPy解释器的支持
588
588
  * **9.11.1**:修复PyPy解释器下的保护机制过度保护bug
589
589
  * **9.11.2**:尝试修复IntHybridArray索引修改的错误
590
+ * **9.11.3**:修复NameError: name 'lst' is not defined. Did you mean: 'list'?错误
591
+ * **9.11.4**:修复TypeError: __dict__ must be set to a dictionary, not a 'IntHybridArray'的错误
590
592
 
591
593
 
592
594
 
@@ -542,6 +542,8 @@ except OverflowError as e:
542
542
  * **9.11.0**:新增对7.3.10以上版本的PyPy解释器的支持
543
543
  * **9.11.1**:修复PyPy解释器下的保护机制过度保护bug
544
544
  * **9.11.2**:尝试修复IntHybridArray索引修改的错误
545
+ * **9.11.3**:修复NameError: name 'lst' is not defined. Did you mean: 'list'?错误
546
+ * **9.11.4**:修复TypeError: __dict__ must be set to a dictionary, not a 'IntHybridArray'的错误
545
547
 
546
548
 
547
549
 
@@ -5,7 +5,7 @@ from . import core
5
5
  from .core import __builtins__,builtins
6
6
  try:from . import int_array
7
7
  except:pass
8
- __version__ = "9.11.2"
8
+ __version__ = "9.11.4"
9
9
  public_objects = []
10
10
  for name in dir(core):
11
11
  if not name.startswith("_"):
@@ -95,9 +95,9 @@ class IntHybridArray(BoolHybridArray):
95
95
  return self.to_int(bit_chunk)
96
96
 
97
97
  def __setitem__(self, key, value):
98
- tmp = lst(self)
98
+ tmp = list(self)
99
99
  tmp[key] = value
100
- self.__dict__ = IntHybridArray(tmp)
100
+ self.__dict__ = IntHybridArray(tmp).__dict__
101
101
  def __iter__(self):
102
102
  return map(self.__getitem__,range(len(self)))
103
103
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bool-hybrid-array
3
- Version: 9.11.2
3
+ Version: 9.11.4
4
4
  Summary: 一个高效的布尔数组(密集+稀疏混合存储,节省内存)
5
5
  Home-page: https://github.com/BKsell/bool-hybrid-array
6
6
  Author: 蔡靖杰
@@ -587,6 +587,8 @@ except OverflowError as e:
587
587
  * **9.11.0**:新增对7.3.10以上版本的PyPy解释器的支持
588
588
  * **9.11.1**:修复PyPy解释器下的保护机制过度保护bug
589
589
  * **9.11.2**:尝试修复IntHybridArray索引修改的错误
590
+ * **9.11.3**:修复NameError: name 'lst' is not defined. Did you mean: 'list'?错误
591
+ * **9.11.4**:修复TypeError: __dict__ must be set to a dictionary, not a 'IntHybridArray'的错误
590
592
 
591
593
 
592
594
 
@@ -12,7 +12,7 @@ if sys.implementation.name == "pypy":
12
12
  sys.exit(f"❌ 错误:bool-hybrid-array 要求 PyPy≥7.3.10,当前版本 {pypy_ver}")
13
13
  setup(
14
14
  name="bool-hybrid-array",
15
- version="9.11.2",
15
+ version="9.11.4",
16
16
  author="蔡靖杰",
17
17
  extras_require={"int_array":[],"numba_opt": ["numba>=0.55.0"],},
18
18
  author_email="1289270215@qq.com",