This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smcinerney
Recipients
Date 2001-04-03.04:56:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hi,

It seems that sys.argv is not a sequence if there are
no args passed. Hence references to len() or
non-existent element sys.argv[1] cause a TypeError
which we have to kludge around with a try...except
TypeError. sys.argv should always be a sequence.

Python 1.6 (#4, Sep 13 2000, 17:24:07)  [GCC
egcs-2.91.66 19990314 (egcs-1.1.2 release)] on sunos5
(Solaris 8)

Best regards,
Stephen
History
Date User Action Args
2007-08-23 13:53:47adminlinkissue413320 messages
2007-08-23 13:53:47admincreate