Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3588 > unrolled thread

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

Started byPaul Sokolovsky <pmiscml@gmail.com>
First post2021-02-19 10:53 +0300
Last post2021-02-19 10:53 +0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  [ANN] python-compiler upgraded to Python3.7, maintenance goes to Facebook Paul Sokolovsky <pmiscml@gmail.com> - 2021-02-19 10:53 +0300

#3588 — [ANN] python-compiler upgraded to Python3.7, maintenance goes to Facebook

FromPaul Sokolovsky <pmiscml@gmail.com>
Date2021-02-19 10:53 +0300
Subject[ANN] python-compiler upgraded to Python3.7, maintenance goes to Facebook
Message-ID<20210219105321.45bd615a@zenbook>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web