Message315155
| 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:03 | brett.cannon | set | recipients: + brett.cannon, barry |
| 2018-04-10 00:27:02 | brett.cannon | set | messageid: <1523320022.42.0.682650639539.issue33254@psf.upfronthosting.co.za> |
| 2018-04-10 00:27:01 | brett.cannon | link | issue33254 messages |
| 2018-04-10 00:27:00 | brett.cannon | create | |