aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-05-22Add an explaining comment for _Py_HAMT_MAX_TREE_DEPTHHEADmasterYury Selivanov
2022-05-21v0.18v0.18Yury Selivanov
2022-05-21Fix iteration when the tree is 7 levels deep + collisions...Fixes issue #84. Co-authored-by: eli <eli@hyro.ai> Yury Selivanov
2022-05-21Pin mypy to the latest working version...This is a workaround Yury Selivanov
2022-03-25immutables v0.17...Fixes ===== * Add missing name in table [project] in 'pyproject.toml'. (#78) (by @mvaled in 80b537f7 for #78) v0.17Elvis Pranskevichus
2022-03-25Test on Python 3.10 final (#80)Elvis Pranskevichus
2022-03-25Update pythoncapi_compat.h (#79)Elvis Pranskevichus
2022-03-25Add missing name in table [project] in 'pyproject.toml'. (#78)...Fixes issue #77.Manuel Vázquez Acosta
2021-08-07Consolidate mypy and pytest config into pyproject.tomlElvis Pranskevichus
2021-08-07Bump version to 0.17.dev0Elvis Pranskevichus
2021-08-07immutables v0.16...Updates ======= * Refactor typings (by @bryanforbes in 39f9f0de and @msullivan in 4a175499) * Update Python 3.10 support, drop Python 3.5 (by @elprans in fa355239 and 189b959d) Fixes ===== * Fix test_none_collisions on 32-bit systems (#69) (by @elprans in fa355239 for #69) Misc ==== * Clarify the license of the included pythoncapi_compat.h header (by @elprans in 67c5edfb for #64) * Use cibuildwheel to build wheels (#70) (by @elprans in f671cb4d for #70) v0.16Elvis Pranskevichus
2021-08-07Use cibuildwheel to build wheels (#70)...The cibuildwheel infra seems to be mature enough, so use it for the wheel-building step instead of the homegrown setup. This gives us 32-bit and ARM wheels for free. Fixes: #44 Fixes: #63Elvis Pranskevichus
2021-08-06Drop Python 3.5 support declaration, add Python 3.10 (#71)Elvis Pranskevichus
2021-08-04Fix test_none_collisions on 32-bit systems (#69)...There are two issues at play here: 1. Python version of `map_hash` unnecessarily performs hash truncation even if the hash is already 32-bit wide, which potentially converts it from signed int to unsigned long. 2. The `test_none_collisions` test generates a collision node with hash greater than 2^32. Both of these are problematic on 32-bit systems, where `sizeof(Py_hash_t)` is 4, and so anything that doesn't fit into `Py_hash_t` gets bit-mangled, breaking the `hash(x) != x` invariance that the test relies upon. Fixes: #53 Fixes: #50Elvis Pranskevichus
2021-08-03tests: Test on Python 3.10Elvis Pranskevichus
2021-08-03Sync pythoncapi_compat.hElvis Pranskevichus
2021-08-03Add in mypy testsMichael J. Sullivan
2021-08-03Refactor typings...* Improve typing of `__init__()` * Update typing of `Map`-producing functions to produce the correct type * Update typing of other methods to more closely align with `Mapping` * Add protocol classes for unexposed data structures * Export protocol classes for ease of use in typed code * Update stub file to pass in mypy strict mode Bryan Forbes
2021-04-22Clarify the license of the included pythoncapi_compat.h header...The `pythoncapi_compat.h` header is distributed under the MIT license, so include the full text of the license in the header and mention it in the top level LICENSE file. Fixes: #64 Elvis Pranskevichus
2021-02-09v0.15...New Features * Add support for Python 3.10 and more tests (by @vstinner in 45105ecd for #46, @hukkinj1 in d7f3eebb, f0b4fd40) * Make __repr__ more similar to other mapping types (by @ofek in 8af15021 for #17) Misc * Minor docs and CI fixes (by @MisterKeefe in 76e491cf for #32, @fantix in 1282379d for #39) v0.15Fantix King
2021-02-09Workaround Github Action issue...Refs actions/runner#781, add LD_LIBRARY_PATH manually here for now before an upstream fix is added. Fantix King
2021-02-09Fix flake8 errors and add it to CI (#45)...* Fix flake8 errors and add it to CI * Use extras for test dependencies Co-authored-by: Fantix King <fantix.king@gmail.com>Taneli Hukkinen
2021-02-09Remove deprecated setup.py testFantix King
2021-02-09Make __repr__ more similar to other mapping types (#58)Ofek Lev
2021-02-09Test Python 3.9 (#51)Taneli Hukkinen
2021-02-09Make PEP references hyperlinks (#32)Tom Keefe
2020-12-06Add Python 3.10 support: use Py_SET_SIZE() (#52)Victor Stinner
2020-05-17v0.14...* Allow `None` to be used as key in pure-Python implementation. By @TIGirardi. v0.14Yury Selivanov
2020-05-17Unbreak CIYury Selivanov
2020-05-17Accept None as a key in pure python module (#42)TIGirardi
2020-05-13v0.13...Bugfixes * Various improvements w.r.t. type annotations & typing support (by @hukkinj1) * Fix pure-Python implementation to accept keyword argument "col" correctly (by @hukkinj1) v0.13Yury Selivanov
2020-05-13Import Literal type from typing_extensions if python version<3.8 (#33)Taneli Hukkinen
2020-05-13Improve type annotation of Map.__init__Taneli Hukkinen
2020-05-13Fix errors when a kwarg is named "col" (#35)Taneli Hukkinen
2020-05-13Make MapMutation.update consistently return an implicit NoneTaneli Hukkinen
2020-05-13Improve type annotations of Map.update and MapMutation.updateTaneli Hukkinen
2020-05-13Improve CI badge linkTaneli Hukkinen
2020-05-13Update README CI badgesTaneli Hukkinen
2020-05-13Fix return type annotation of Map.__reduce__Taneli Hukkinen
2020-05-13Add python version requirement metadataTaneli Hukkinen
2020-04-22Drop Travis and Appveyor CI...Switch to Github Actions exclusively Elvis Pranskevichus
2020-04-22Update the test workflowElvis Pranskevichus
2020-04-22Add Github release workflowv0.12Elvis Pranskevichus
2020-04-22Define NDEBUG actively...`NDEBUG` is not defined by the standard library or the compiler by default, so make sure it's defined when building non-debug builds. Elvis Pranskevichus
2020-04-22A bunch of fixes...* Fix #26: `ifdef NDEBUG` should be `ifndef NDEBUG` * More tests for #24 * Add a `DEBUG_IMMUTABLES` env var to build debug builds Yury Selivanov
2020-04-22Fix the mutation API to maintain elements count correctly (#25, #24)TIGirardi
2019-11-04Bump the version to 0.12Yury Selivanov
2019-11-04Fix manylinux for 3.8Yury Selivanov
2019-11-02Add Python 3.8 support (#16)...Fix #15Bruno Oliveira
2019-10-11Bump the version to 0.11v0.11Yury Selivanov