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.

classification
Title: invalid submission
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: atuining, jepler
Priority: normal Keywords: patch

Created on 2004-06-25 13:41 by atuining, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg46230 - (view) Author: Anthony Tuininga (atuining) * Date: 2004-06-25 13:41
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!
msg46231 - (view) Author: Anthony Tuininga (atuining) * Date: 2004-06-25 13:45
Logged In: YES 
user_id=619560

Apologies for this -- I submitted this in the patch
subsection when it should have been submitted in the bug
subsection
msg46232 - (view) Author: Jeff Epler (jepler) Date: 2004-06-28 22:06
Logged In: YES 
user_id=2772

re-opened as bug report: http://python.org/sf/979739
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40450
2004-06-25 13:41:51atuiningcreate