Ned Batchelder
Ned Batchelder
@e0d Know anything about this username length issue?
Hmm, I don't see the same behavior. I tried with 3.13. Then I tried running under 3.13 and generating the html with 3.9, then I did the reverse. In all...
Hmm, I'm not sure what I did wrong last time. Now I see the same thing you do. This is a change in the behavior of the `tokenize` module in...
This is fixed in commit 9f94c87677fd86c7ced9ea2f3cddfcc0b4d5bc2d.
This is now released as part of [coverage 7.9.0](https://pypi.org/project/coverage/7.9.0).
`__del__` methods are very difficult. In your case, the method is being called during interpreter shutdown, so possibly after coverage has stopped measurement. They can cause other troubles as well...
The other factors are the same? Same version of Python? What are your coverage settings?
Using 3.12, you don't want `COVERAGE_CORE=sysmon` and `branch=true`. If you want branch coverage, use the default CTracer core. Branch coverage isn't fast until 3.14.
It's not that `branch=true` is slow. It's `branch=true` combined with `COVERAGE_CORE=sysmon` on Python before 3.14. I recommend unsetting `COVERAGE_CORE`.
I have details and some suggestions [on the other issue](https://github.com/pypi/warehouse/pull/17872#issuecomment-2845900570), but maybe I should have put it here...