I'm getting ready to get back into an old personal project with some new
ideas. Before I do, I need to ask a question regarding the stability of
CPython bytecode. Before you say it, I am well aware and fully understand
that the opcodes may change in value and semantics between 3.x and 3.(x+1)
without notice, and that's acceptable to me.

My question is, are the opcodes guaranteed stable across the lifetime of a
single 3.x release? In other words, are they guaranteed to not change
values or semantics between 3.x.y and 3.x.(y+1)? Reading through the list
of opcodes in the dis documentation, it seems that all changes have
occurred in 3.x.0, so it seems the answer would be yes, but then the
"CPython implementation detail" paragraph at the top doesn't specify that
and is a little vague on whether that's true or not.

(For context, my personal project is a BASIC implementation in Python that
would compile to Python bytecode.)
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/Z6RRM4WQAKBKMLPBCOMB47NDPEROVTTZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to