Broken python-model.el
Thomas Heller
theller at python.net
Thu Dec 18 15:23:00 EST 2003
Thomas Heller <theller at python.net> writes:
> Skip Montanaro <skip at pobox.com> writes:
>
>> Brian> I just compiled Python 2.3.2 on my local machine as an upgrade
>> Brian> from 2.2. This appears to have broken my python-mode.el in
>> Brian> emacs. When I try to "Execute Buffer" Ctl-c Ctl-c I get:
>>
>> Brian> Wrong type argument: sequencep, cpython
>>
>> What version of python-mode and Emacs are you using? What is the value of
>> py-default-interpreter? I just tried C-c C-c in a Python buffer with
>> version 4.40 and XEmacs 21.5beta9 and it worked fine for me.
>
> I also get the above error when the file begins with
>
> #!/usr/bin/env
Make this
#!/usr/bin/env python
of course.
>
> on Windows. XEmacs 21.4 (patch 13), python-mode 4.29.
>
> Removing this line fixes it.
>
> Thomas
More information about the Python-list
mailing list