[ python-Bugs-772896 ] unknown encoding -> MemoryError
SourceForge.net
noreply at sourceforge.net
Sun Oct 2 03:52:14 CEST 2005
Bugs item #772896, was opened at 2003-07-17 03:27
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=772896&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Python Interpreter Core
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: George Yoshida (quiver)
>Assigned to: Anthony Baxter (anthonybaxter)
Summary: unknown encoding -> MemoryError
Initial Comment:
If you try to install a program and one of the files
declares an unknown encoding(like 'UFT-8'),
byte-compiling the file fails and get the message, "Sorry:
MemoryError: ()"
This message obscures the problem and makes it difficult
to spot the problem.
In fact, it took me a while to find out that the unknown
encoding declaration caused the trouble.
The error message needs to be more explicit.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2005-10-01 18:52
Message:
Logged In: YES
user_id=33168
I fixed this problem in 2.5. I am leaving it up to Anthony
whether to backport this to 2.4 or not.
Checked in as:
Misc/NEWS: 1.1383, 1.1193.2.117
Python/pythonrun.c: 2.217, 2.211.2.3
Lib/test/bad_coding.py: 1.1
Lib/test/test_coding.py: 1.1
Parser/parsetok.c: 2.37
Parser/pgenmain.c: 2.32
Parser/tokenizer.c: 2.79
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=772896&group_id=5470
More information about the Python-bugs-list
mailing list