Message12742

Author pekka.klarck
Recipients pekka.klarck
Date 2019-11-03.22:09:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572818944.38.0.142556094219.issue2820@roundup.psfhosted.org>
In-reply-to
Content
Noticed this regression when testing Jython 2.7.2b2 on Linux. See the example below for a demonstration. Works fine with Jython 2.7.0 but seems to fail also with Jython 2.7.1.


Jython 2.7.2b2 (v2.7.2b2:b9b60766cabe, Nov 1 2019, 07:46:45) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_201
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('hyv\xe4')
>>> import re       # existing modules can be imported fine
>>> import nonex    # this should fail with ImportError
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 3: unexpected end of data
History
Date User Action Args
2019-11-03 22:09:04pekka.klarcksetrecipients: + pekka.klarck
2019-11-03 22:09:04pekka.klarcksetmessageid: <1572818944.38.0.142556094219.issue2820@roundup.psfhosted.org>
2019-11-03 22:09:04pekka.klarcklinkissue2820 messages
2019-11-03 22:09:04pekka.klarckcreate