[issue47060] importlib.metadata.version can return None

2022-03-20 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47060] importlib.metadata.version can return None

2022-03-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks for the report. Yes, the issues are related, where .version and .name returning None are specific manifestations of the metadata not having that key and the behavior being ill-defined. I haven't yet decided if metadata items being undefined should

[issue47060] importlib.metadata.version can return None

2022-03-18 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47060] importlib.metadata.version can return None

2022-03-18 Thread David Robertson
New submission from David Robertson : Originally written up at the typeshed repo: https://github.com/python/typeshed/issues/7513. The conclusion was that this is a bug in the implementation rather than an incorrect annotation. To my surprise, I discovered in