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 BreamoreBoy, berker.peksag, loewis, rhettinger, serhiy.storchaka, steve.dower
Date 2016-01-18.19:53:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453146789.57.0.694324043218.issue16620@psf.upfronthosting.co.za>
In-reply-to
Content
It looks to me that the glob() method of msilib.Directory is broken from the born. It uses the function from the glob module, but the glob module is not imported in this source file.

Even if add missed import, returned value is incorrect in Python 3. In Python 2 glob.glob1() always returned a list, but in in Python 3 it can return an empty list or an iterator. After iterating on it msilib.Directory returns an empty list or exhausted iterator.
History
Date User Action Args
2016-01-18 19:53:09serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, rhettinger, BreamoreBoy, berker.peksag, steve.dower
2016-01-18 19:53:09serhiy.storchakasetmessageid: <1453146789.57.0.694324043218.issue16620@psf.upfronthosting.co.za>
2016-01-18 19:53:09serhiy.storchakalinkissue16620 messages
2016-01-18 19:53:09serhiy.storchakacreate