Re: [IronPython] None in sys.path

2007-05-22 Thread Dino Viehland
lf Of Michael Foord Sent: Friday, May 18, 2007 11:15 AM To: Discussion of IronPython Subject: [IronPython] None in sys.path Hello all, Weird pseudo-bug in IronPython 1.1. If you accidentally (!) None into sys.path then a failed import will raise a TypeError rather than an ImportError: >>&

[IronPython] None in sys.path

2007-05-18 Thread Michael Foord
Hello all, Weird pseudo-bug in IronPython 1.1. If you accidentally (!) None into sys.path then a failed import will raise a TypeError rather than an ImportError: >>> import sys >>> sys.path.append(None) >>> import wibble Traceback (most recent call last): File , line 0, in ##81 File , l