Serhiy Storchaka added the comment:

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.

----------
type: enhancement -> behavior
versions: +Python 2.7, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16620>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to