Skip to content

Commit

Permalink
Release 0.1.1 (Hot-fix)
Browse files Browse the repository at this point in the history
IntIntHashMap is not ready, tmp disabled.
  • Loading branch information
xia-mc committed Dec 13, 2024
1 parent 8a7785f commit a5524d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pyfastutil/ints.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
# noinspection PyUnresolvedReferences
from .__pyfastutil import IntLinkedListIter as __IntLinkedListIter
# noinspection PyUnresolvedReferences
from .__pyfastutil import IntIntHashMap as __IntIntHashMap
# from .__pyfastutil import IntIntHashMap as __IntIntHashMap

IntArrayList = __IntArrayList.IntArrayList
IntArrayListIter = __IntArrayListIter.IntArrayListIter
BigIntArrayList = __BigIntArrayList.BigIntArrayList
BigIntArrayListIter = __BigIntArrayListIter.BigIntArrayListIter
IntLinkedList = __IntLinkedList.IntLinkedList
IntLinkedListIter = __IntLinkedListIter.IntLinkedListIter
IntIntHashMap = __IntIntHashMap.IntIntHashMap
# IntIntHashMap = __IntIntHashMap.IntIntHashMap
4 changes: 2 additions & 2 deletions pyfastutil/ints.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -512,5 +512,5 @@ class IntLinkedListIter(Iterator[int]):
"""
pass

class IntIntHashMap(dict[int, int]):
pass
# class IntIntHashMap(dict[int, int]):
# pass
2 changes: 1 addition & 1 deletion pyfastutil/src/PyFastUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PyMODINIT_FUNC PyInit___pyfastutil() {
PyModule_AddObject(parent, "BigIntArrayListIter", PyInit_BigIntArrayListIter());
PyModule_AddObject(parent, "IntLinkedList", PyInit_IntLinkedList());
PyModule_AddObject(parent, "IntLinkedListIter", PyInit_IntLinkedListIter());
PyModule_AddObject(parent, "IntIntHashMap", PyInit_IntIntHashMap());
// PyModule_AddObject(parent, "IntIntHashMap", PyInit_IntIntHashMap());

PyModule_AddObject(parent, "ObjectArrayList", PyInit_ObjectArrayList());
PyModule_AddObject(parent, "ObjectArrayListIter", PyInit_ObjectArrayListIter());
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "PyFastUtil"
version = "0.1.0"
version = "0.1.1"
authors = [
{ name = "xia__mc", email = "[email protected]" },
]
Expand Down

0 comments on commit a5524d2

Please sign in to comment.