Jukka Lehtosalo

Results 479 comments of Jukka Lehtosalo

I suspect this is still an issue, but not sure. A short self-contained repro would be helpful. We should make this work or at least generate an error and provide...

* Relevant PEP: https://peps.python.org/pep-0489/ * Relevant discussion: https://discuss.python.org/t/concerns-about-pyunstable-module-setgil/89374 * Another relevant discussion: https://discuss.python.org/t/proposal-officially-deprecate-support-for-legacy-single-phase-init-extension-modules/89262

This has now been implemented for some time as part of free-threading support.

I started looking into this. So far the only tricky bit I've encountered is inferring variance. To infer variance, we need to know the types of all attributes, so it...

Many PEP 695 features are now supported on master. I'm hoping that we can have a useful implementation without deferring top levels or making other more complex changes, but it's...

Note that PEP 695 support is currently behind this feature flags, since it's not complete yet: `--enable-incomplete-feature=NewGenericSyntax`

Now that PEP 695 has been enabled by default on master, I'm closing this issue. There are still some known gaps in the functionality and a few open issues. We...

`time.time` is often monkey patched in tests, so a likely better approach would be to add an alternative to `time.time()` that uses a primitive.

I think recent Python versions support the concept of dict versioning. Maybe we could check the version of the `time` module namespace to quickly determine if `time.time` might have been...

It would be good to also optimize iterating over final tuples: ```py FOO: Final = ('x', 'y') ... for x in FOO: f(x) ```