[IronPython] Cryptic traceback when encoding name is incorrect

Snaury snaury at gmail.com
Mon Jul 17 18:20:57 CEST 2006


# -*- coding: nonsense -*-
print "Testing..."

Traceback (most recent call last):
  File mscorlib, line unknown, in .ctor
  File mscorlib, line unknown, in .ctor
TypeError: Value cannot be null.
Parameter name: encoding

I think it should properly state that encoding name is invalid.



More information about the Ironpython-users mailing list