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 brett.cannon
Recipients barry, brett.cannon
Date 2018-04-10.00:27:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523320022.42.0.682650639539.issue33254@psf.upfronthosting.co.za>
In-reply-to
Content
If you look at https://github.com/python/cpython/blob/0f914b5b5f6ba186afd7112fc851c97247076f70/Lib/importlib/resources.py#L247 you will notice that the generator for importlib.resources.contents() return an empty list. While the intent was to have no values be returned by contents(), by virtue of being a generator that empty list is actually being returned as a value.
History
Date User Action Args
2018-04-10 00:27:03brett.cannonsetrecipients: + brett.cannon, barry
2018-04-10 00:27:02brett.cannonsetmessageid: <1523320022.42.0.682650639539.issue33254@psf.upfronthosting.co.za>
2018-04-10 00:27:01brett.cannonlinkissue33254 messages
2018-04-10 00:27:00brett.cannoncreate