Comment 2 for bug 1454858

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 1454858] Re: 'file' is not a built-in for Python 3

On May 14, 2015, at 06:02 AM, Andreas Roehler wrote:

>While looking for this: we may select a shell for execution, but not
>switch buffer-mode. What about having a M-x python-mode2 RET, resp. M-x
>python-mode3 ?

A buffer might need to know whether it's Python 2 or 3, but I'm not sure a
different -mode is the way to do that. Maybe just a variable. I would
default that to python3 personally.