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 arigo
Recipients
Date 2005-04-02.12:31:59
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=4771

os.stat() doesn't always give consistent results on dev files.  On my machine for some reason os.stat('/dev/null') appears to be random (and extremely large).  I suspect that on the OP's machine os.stat('/dev/zero') is not 0 either, but a random number that turns out to be negative, hence a "bad argument" SystemError.
History
Date User Action Args
2008-01-20 09:57:43adminlinkissue1174606 messages
2008-01-20 09:57:43admincreate