[IronPython] Cryptic traceback when encoding name is incorrect

Dino Viehland dinov at exchange.microsoft.com
Mon Jul 17 18:38:45 CEST 2006


Thanks for the report - I've opened CodePlex bug #1019 to track this (http://www.codeplex.com/WorkItem/List.aspx?ProjectName=IronPython).

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Snaury
Sent: Monday, July 17, 2006 9:21 AM
To: Discussion of IronPython
Subject: [IronPython] Cryptic traceback when encoding name is incorrect

# -*- 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.
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list