devdanzin

Results 57 comments of devdanzin

This only affects development environments and packaging? I like the idea, but might have to try it out to understand possible failure modes. FWIW, by using `--only-binary`, relaxing versions and...

There's a big showstopper for [ast.get_source_segment](https://docs.python.org/3/library/ast.html#ast.get_source_segment): it doesn't roundtrip comments, which makes raw metrics wrong. I'm investigating alternatives that assure a source code roundtrip, hopefully without having to resort to...

I believe the Defender thing is a red herring, because it also gets stuck with Defender disabled. Currently looking into `tests/test_concurrency.py::MultiprocessingTest::test_multiprocessing_simple[spawn]`, as it seems to hang when running tests directly...

I've confirmed that `pytest tests/test_concurrency.py` is enough to hang in 7.3.15 on my machine, but works in 7.3.14. Renaming that file to something pytest won't collect also allows a `tox...

Here's a simple way to reproduce, which gives hints about what's going wrong. Create a .coveragerc file in a directory: ``` [run] concurrency = multiprocessing source = . ``` Create...

Hah, installing coverage into the bare/system PyPy solves the issue. So it seems to be an artifact of running in a virtual environment that has coverage installed, but somehow picking...

> I performed a test with pypy3.9-7.3.15 and without coverage and it still takes more that 30 minutes (although it progresses faster that with coverage), so I guess this is...

I'm slowly working on this.

Hello, we would like to fix this issue. Is there agreement that `_collections_abc` should be added to the list of standard library modules?

The issue is that [_CustomTextWrap._handle_long_word](https://github.com/astanin/python-tabulate/blob/95ae5eb61ef969749e904c90ab429003238d6212/tabulate/__init__.py#L2522) doesn't take ANSI escape codes into account when breaking up words. There is a simple but incomplete fix: add `len(_ansi_codes.search(chunk).group())` to `i` so when we...