Re: [Python-mode] [Bug 450552] Re: python-mode breaks for python 3

2009-10-22 Thread Andreas Roehler
Rustom Mody wrote: > On Tue, Oct 20, 2009 at 1:59 PM, Andreas Roehler > mailto:[email protected]>> wrote: > > Rustom wrote: > > (cmd (format "exec(compile(open('%s').read(), '%s', 'exec')) # > > PYTHON-MODE\n" filename filename))) For me both of your variants are working, see

Re: [Python-mode] [Bug 450552] Re: python-mode breaks for python 3

2009-10-22 Thread Andreas Roehler
... > > Rustom wrote: > > > (cmd (format "exec(compile(open('%s').read(), '%s', 'exec')) # > > > PYTHON-MODE\n" filename filename))) > > For me both of your variants are working, see output of checks below. > > You probably need to try on windows. > See > http://bugs.p

Re: [Python-mode] [Bug 450552] Re: python-mode breaks for python 3

2009-10-22 Thread Andreas Roehler
Rustom wrote: > On Thu, Oct 22, 2009 at 8:32 PM, Andreas Roehler > wrote: > >> ... >>> > Rustom wrote: >>> > > (cmd (format "exec(compile(open('%s').read(), '%s', 'exec')) >> # >>> > > PYTHON-MODE\n" filename filename))) >>> >>> For me both of your variants are working,