• [ANN] python-compiler upgraded to Python3.7, maintenance goes to Facebo

    From Paul Sokolovsky@21:1/5 to All on Fri Feb 19 10:53:21 2021
    Hello,

    python-compiler is a project to port Python2's stdlib "compiler"
    package (https://docs.python.org/2.7/library/compiler.html) to Python3.
    Initial porting work and support of CPython3.5 constructs/bytecode was
    done me. Around the Christmas time last year, there was a patch from
    some Facebook people which upgraded it to CPython3.7
    constructs/wordcode and added some missing parts (e.g. peephole
    optimizer). I also asked them if they'd like to handle further
    maintenance of the projects, and yesterday they finished organizational
    part on their side, making
    https://github.com/facebookincubator/python-compiler online.

    The older repository, https://github.com/pfalcon/python-compiler was
    re-forked from the above repo.

    python-compiler is an excellent tool to investigate and implement
    various optimizations and semantic extensions for (C)Python, and
    together with a suitable parser - to prototype and implement language extensions and dialects. As an example, it was used to demonstrate
    viability of the implementation of the (optional!) block-level scoping
    for Python:
    https://www.mail-archive.com/python-ideas@python.org/msg25349.html
    (that particular implementation doesn't include syntactic component and
    just switches "for" loops to use block-level variables as a proof of
    concept, a real implementation of course would use a keyword to
    introduce a block-scoped variable).

    --
    Best regards,
    Paul mailto:pmiscml@gmail.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)