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 serhiy.storchaka
Recipients docs@python, martin.panter, pitrou, serhiy.storchaka
Date 2015-03-21.09:37:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426930624.82.0.77255289404.issue23391@psf.upfronthosting.co.za>
In-reply-to
Content
Current behavior is more complicated.

>>> OSError(1, 2, 3, 4).args
(1, 2)
>>> OSError(1, 2, 3, 4, 5).args
(1, 2)
>>> OSError(1, 2, 3, 4, 5, 6).args
(1, 2, 3, 4, 5, 6)

If I remember correctly:

1 -- errno
2 -- strerror
3 -- filename
4 -- winerror (?)
5 -- filename2

Isn't it documented anywhere?
History
Date User Action Args
2015-03-21 09:37:04serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, docs@python, martin.panter
2015-03-21 09:37:04serhiy.storchakasetmessageid: <1426930624.82.0.77255289404.issue23391@psf.upfronthosting.co.za>
2015-03-21 09:37:04serhiy.storchakalinkissue23391 messages
2015-03-21 09:37:04serhiy.storchakacreate