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 loewis
Recipients eckhardt, loewis, mhammond
Date 2009-01-11.20:22:00
SpamBayes Score 0.6310084
Marked as misclassified No
Message-id <496A54E6.9090705@v.loewis.de>
In-reply-to <1231703833.23.0.150691866393.issue4893@psf.upfronthosting.co.za>
Content
> Actually, I made the distinction between the 'int e' and the 'unsigned 
> e' consciously. When using 'errno', using an 'int' is correct. When
> using GetLastError(), I would have used a win32 DWORD if there was a 
> format sequence that correctly and portably formats it, so I 
> chose 'unsigned' as one that IMHO most likely matches it. 

That's all fine, but why do you need a variable named "e" in the first
place? Can't you leave the code as it was before?

> That is also 
> the reason for the two different error messages, otherwise I don't 
> think it makes a big difference.

Introducing an unnecessary variable should be avoided; this is just
cruft that accumulates. Please remove both variables.
History
Date User Action Args
2009-01-11 20:22:01loewissetrecipients: + loewis, mhammond, eckhardt
2009-01-11 20:22:00loewislinkissue4893 messages
2009-01-11 20:22:00loewiscreate