This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author atuining
Recipients
Date 2004-06-25.13:45:23
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The following code will fail in both Python 2.3 and
Python 2.4, raising a MemoryError exception, when run
on any platform except Windows:

compile("# -*- coding: mbcs -*-", "test.py", "exec")

This has been reproduced on the following platforms:

Linux x86
HP-UX
Solaris
Tru64 Unix

I realize this is an invalid encoding but it would be
nice if something other than MemoryError was raised!
History
Date User Action Args
2007-08-23 14:22:56adminlinkissue979739 messages
2007-08-23 14:22:56admincreate