Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65161 > unrolled thread

Re: Python shell wont open idle or an exisiting py file

Started byChris Angelico <rosuav@gmail.com>
First post2014-02-01 12:52 +1100
Last post2014-02-01 12:52 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python shell wont open idle or an exisiting py file Chris Angelico <rosuav@gmail.com> - 2014-02-01 12:52 +1100

#65161 — Re: Python shell wont open idle or an exisiting py file

FromChris Angelico <rosuav@gmail.com>
Date2014-02-01 12:52 +1100
SubjectRe: Python shell wont open idle or an exisiting py file
Message-ID<mailman.6240.1391219568.18130.python-list@python.org>
On Sat, Feb 1, 2014 at 12:45 PM, Terry Reedy <tjreedy@udel.edu> wrote:
> H:\HP_Documents\0PythonWork\AirplaneKinematics\accel2.py
> caused this message
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 14:
> invalid start byte

So... something's interpreting \0 as codepoint U+0000 (which it
shouldn't), storing that in "UTF-8" as 0xC0 0x80 (which it shouldn't),
and then giving it to Python to decode. That's a weird little
combination bug right there.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web