Message300900
on a second thought, BadSource could be a subclass of str, so maybe we should just check whether module_globals['__loader__'].get_source(module_globals['__name__']).splitlines()[lineno-1] is a str, and whether module_globals['__loader__'].get_source(module_globals['__name__']).splitlines() is a list. | |
| Date | User | Action | Args | | 2017-08-26 19:35:53 | Oren Milman | set | recipients: + Oren Milman | | 2017-08-26 19:35:53 | Oren Milman | set | messageid: <1503776153.61.0.505858399695.issue31285@psf.upfronthosting.co.za> | | 2017-08-26 19:35:53 | Oren Milman | link | issue31285 messages | | 2017-08-26 19:35:53 | Oren Milman | create | | |