Message231796
| Author |
simonzack |
| Recipients |
simonzack |
| Date |
2014年11月28日.06:37:34 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1417156654.51.0.229780672791.issue22961@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The ctypes.WinError function returns:
OSError(None, descr, None, code)
However OSError does not appear to allow None as a first argument, and converts it to 22 which is the EINVAL "Invalid Argument" error. This is rather confusing as there was no invalid argument errors in the code.
I think the behaviour for one of WinError and OSError should be modified so that the handling of errno is more compatible. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年11月28日 06:37:34 | simonzack | set | recipients:
+ simonzack |
| 2014年11月28日 06:37:34 | simonzack | set | messageid: <1417156654.51.0.229780672791.issue22961@psf.upfronthosting.co.za> |
| 2014年11月28日 06:37:34 | simonzack | link | issue22961 messages |
| 2014年11月28日 06:37:34 | simonzack | create |
|