diff --git a/pep-0511.txt b/pep-0511.txt index b9e58af1b..1cffa46f0 100644 --- a/pep-0511.txt +++ b/pep-0511.txt @@ -125,6 +125,9 @@ preprocessor has various and different usages. Examples: `MacroPy `_ has a long list of examples and use cases. +See also `PyXfuscator `_: Python +obfuscator, deobfuscator, and user-assisted decompiler. + Use Cases ========= @@ -378,6 +381,26 @@ Output:: Ni! Ni! Ni! +Other Python implementations +============================ + +The PEP 511 should be implemented be all Python implementation. The AST +emited by the parser is not specified. + +By the way, even between minor version of CPython, there are changes on +the AST API. There are differences, but only minor differences. It is +quite easy to write an AST transformer which works on Python 2.7 and +Python 3.5 for example. + + +Discussion +========== + +* `[Python-Dev] AST optimizer implemented in Python + `_ + (August 2012) + + Prior Art ========= @@ -426,8 +449,13 @@ Modify the bytecode intricacies. See `byteplay documentation `_. -See also `BytecodeAssembler -`_. +See also: + +* `BytecodeAssembler `_ +* `Issue #2506 `_: Add mechanism to + disable optimizations +* `[Python-ideas] Disable all peephole optimizations + `_ Copyright