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

Bengt Richter bokr at oz.net
Tue Feb 21 07:53:41 CET 2006


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
Regards,
Bengt Richter


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /