On Fri, Nov 18, 2016 at 11:47 AM, Steve D'Aprano <steve+pyt...@pearwood.info> wrote: > You may have missed the bit where I said "In the most recent versions". > Python 2.7 will be interpreting the string "y=x+1" as compiled byte-code, > and disassembling it into junk. >
Heh. That's a side benefit of the Py3 bytes/unicode split - you can instantly distinguish between program text and compiled bytes. :) ChrisA -- https://mail.python.org/mailman/listinfo/python-list