Open tristanlatr opened 2 years ago
It's not on our road-map right now - it is indeed a cool bit of code, but it's not something that Enthought is actively using (as opposed to Contexts, which we still use a fair bit).
We'd welcome a port to Python 3. For codetools.blocks
it would require a translation from the old compiler
stdlib library to ast
-based analysis. I think blocks2
was a start of such a port, but it was never completed.
If blocks2 has all the functionality that you need right now, then by all means just port that. If you need additional functionality from blocks
then I would suggest adding it to blocks2
as part of the port.
If it makes things easier, feel free to support only Python >= 3.6 (or even 3.8).
Hi, I've understood that modules
codetools.blocks2
andcodetools.blocks
are not working for python3 yet, I'm very interested into this kind of static analysis features, especially the use ofrestrict
.Is there any plan to make it work with python3 ? Do you know what's the effort needed for this migration ? We should port
blocks2
only right?Tell me what you think,
Thanks