[Python-Dev] Memory Error the right error for coding cookie promise violation?

Alex Martelli aleaxit at gmail.com
Tue Feb 21 08:15:00 CET 2006

On Feb 21, 2006, at 6:53 AM, Bengt Richter wrote:

> Perhaps a more informative message would be nice.
> Here's an easy way to trigger it:
>>>> compile("#-*- coding: ascii -*-\nprint 'ab%c'\n"%0x80, '','exec')
>  Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
>  MemoryError

Definitely looks like a bug, please open a bug report for it.



More information about the Python-Dev mailing list