[Python-bugs-list] [ python-Bugs-603509 ] MemoryError when eval'ing string
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 02 Sep 2002 06:56:36 -0700
Bugs item #603509, was opened at 2002-09-02 09:56
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=603509&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Martin v. Löwis (loewis)
Summary: MemoryError when eval'ing string
Initial Comment:
eval("'label;home;encoding=quoted-printable:r.'")
dies with a bogus MemoryError. Assigned to Martin
because this minimal substring dies the same way:
eval("'coding=q'")
Of course the result should be the string
coding=q
Somehow it looks like parsing a string literal is getting
mixed up with searching for a source-file encoding.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=603509&group_id=5470