[issue36466] Adding a way to strip annotations from compiled bytecode
Ivan Levkivskyi
report at bugs.python.org
Wed Apr 3 13:04:35 EDT 2019
Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:
+1 from me.
There are two ways to enable this:
* Add -OOO that would remove all three: asserts, docstrings, annotations
* Add separate --O-asserts --O-docstrings --O-annotations (or similar)
I think I like the second option more.
@cary Please note that our workflow changed, you can now submit a PR to our GitHub repo instead of sending a patch.
Also please include tests and docs in your PR.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36466>
_______________________________________
More information about the Python-bugs-list
mailing list