[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread miss-islington
miss-islington added the comment: New changeset 51c9cc73cb8768a691688755af0a8b6b12cf712c by Miss Islington (bot) in branch '3.7': bpo-37173: Show passed class in inspect.getfile error (GH-13861) https://github.com/python/cpython/commit/51c9cc73cb8768a691688755af0a8b6b12cf712c --

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +13791 pull_request: https://github.com/python/cpython/pull/13918 ___ Python tracker ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Right, 3.8 not being released yet makes it different. -- ___ Python tracker ___ ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread miss-islington
miss-islington added the comment: New changeset c5daae4ef6d09269c95ed1023e76932cc179f309 by Miss Islington (bot) in branch '3.8': bpo-37173: Show passed class in inspect.getfile error (GH-13861) https://github.com/python/cpython/commit/c5daae4ef6d09269c95ed1023e76932cc179f309 --

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread miss-islington
miss-islington added the comment: New changeset d407d2a7265f6102e51a1d62b3fd28b4f7a78d16 by Miss Islington (bot) (Philipp A) in branch 'master': bpo-37173: Show passed class in inspect.getfile error (GH-13861) https://github.com/python/cpython/commit/d407d2a7265f6102e51a1d62b3fd28b4f7a78d16

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +13786 pull_request: https://github.com/python/cpython/pull/13913 ___ Python tracker ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think landing the fix to 3.8 only is just fine -- nosy: +asvetlov ___ Python tracker ___ ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-08 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37173] inspect.getfile error names module instead of passed class

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The correct message would be " is a built-in class" We do not backport exception message changes unless 'buggy enough'. I asked on core-mentorship whether this fix qualifies. -- nosy: +terry.reedy ___ Python

[issue37173] inspect.getfile error names module instead of passed class

2019-06-06 Thread flying sheep
Change by flying sheep : -- keywords: +patch pull_requests: +13736 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13861 ___ Python tracker ___

[issue37173] inspect.getfile error names module instead of passed class

2019-06-06 Thread flying sheep
New submission from flying sheep : Currently, inspect.getfile(str) will report nonsense: >>> inspect.getfile(str) TypeError: is a built-in class -- components: Library (Lib) messages: 344799 nosy: flying sheep priority: normal severity: normal status: open title: inspect.getfile