Message291200
The repr of standard exceptions usually looks as exception constructor used for creating that exception. But the repr of ImportError misses keyword arguments name and path.
>>> ImportError('test', name='somename', path='somepath')
ImportError('test',)
Proposed patch make the repr of ImportError containing keyword arguments.
>>> ImportError('test', name='somename', path='somepath')
ImportError('test', name='somename', path='somepath')
I don't know how to classify this issue and whether the patch should be backported. |
|
Date |
User |
Action |
Args |
2017-04-05 22:29:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, eric.snow |
2017-04-05 22:29:11 | serhiy.storchaka | set | messageid: <1491431351.79.0.0513888316468.issue29999@psf.upfronthosting.co.za> |
2017-04-05 22:29:11 | serhiy.storchaka | link | issue29999 messages |
2017-04-05 22:29:11 | serhiy.storchaka | create | |
|