Tatsh

Results 247 comments of Tatsh

I do have a few projects that will work with Mypyc but it is tricky to add mypyc to the packaging system of Poetry. Support for mypyc would be just...

These are the modifications required: pyproject.toml: ```toml [build-system] requires = ["poetry-core", "mypy[mypyc]"] # and you must add all dependencies required for Mypy to succeed like type stub packages [tool.poetry] exclude...

@srittau this is ready for review.

Still working on replacing the Any types.

This is ready for review again. I replaced most `**kwargs: Any` with the actual keyword arguments but not in the case of the `subprocess.Popen` extension since that would involve copying...

There is still a bit left to do (started with about 1700 issues, now down to 388): ``` benedict/dicts/base/base_dict.py:48:20: error: Unsupported right operand type for in ("dict[_K, _V] | None")...

Until https://github.com/python/typing/issues/548 is settled, we cannot have fully generic functions in `benedict.core`. And a lot of things can be solved with the new generic syntax, but it requires Python 3.13.

@fabiocaccamo This is ready for review. Also inviting @pirate.

@fabiocaccamo The type stubs deps have to be in pre-commit config for Mypy to work.

The slowness seems to be inside `unlock_shm()`. The data is sent quickly (`write()`) and then these syscalls are repeated many times before `>quit` is processed. ``` [pid 3858812] 13:32:23.739339 fcntl(39,...