[Python-bugs-list] [ python-Bugs-661330 ] test_pep263 fails in MacPython-OS9

SourceForge.net noreply@sourceforge.net
Sun, 05 Jan 2003 13:40:23 -0800


Bugs item #661330, was opened at 2003-01-02 23:05
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=661330&group_id=5470

Category: Python Interpreter Core
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 8
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: test_pep263 fails in MacPython-OS9

Initial Comment:
Martin,
test_pep263 fails in MacPython-OS9. I think this is because the file is actually a binary file but it is checked in as a text file. Because it is checked in as a text file the funny characters (which I assume are in the funny charset that the test tries to test, right?) go through a Latin-1 to MacRoman conversion, which breaks them rather thoroughly.

----------------------------------------------------------------------

>Comment By: Jack Jansen (jackjansen)
Date: 2003-01-05 22:40

Message:
Logged In: YES 
user_id=45365

Yes, that fixed it. Thanks!

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-02 23:17

Message:
Logged In: YES 
user_id=21627

Actually, changing it to binary seems to be the right thing
anyway, so I have done that. Can you please report whether
this fixes the problem?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-02 23:11

Message:
Logged In: YES 
user_id=21627

Would it help to check it in as a binary file? It would then
have Unix line endings, if I check it in...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=661330&group_id=5470