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 eryksun
Recipients brian.curtin, eryksun, giampaolo.rodola, jkloth, lemburg, loewis, pitrou, serhiy.storchaka, steve.dower, tim.golden, tim.peters, zach.ware
Date 2015-01-02.19:49:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> if (not version.GetFileVersionInfoW(name, None, size, ver_block) or
>        not ver_block):

Arrays don't implement __bool__ and have fixed __len__, so ver_block is always True. You could look at ver_block[0] or ver_block.value (i.e. the C string value).
Date User Action Args
2015-01-02 19:49:43eryksunsetrecipients: + eryksun, lemburg, tim.peters, loewis, pitrou, giampaolo.rodola, tim.golden, jkloth, brian.curtin, zach.ware, serhiy.storchaka, steve.dower
2015-01-02 19:49:43eryksunsetmessageid: <>
2015-01-02 19:49:43eryksunlinkissue19143 messages
2015-01-02 19:49:43eryksuncreate