Message8247
the fix is fairly simple though: I just removed the check that results in SyntaxError exception being thrown, and the remaining code path takes care of the import (I checked that I got the right results when trying to use that relative import)
evidently that check was added to mirror python 2.5's behaviour. Later, in 2.6, this restriction was lifted and Guido does not remember why it was there originally. |
|
Date |
User |
Action |
Args |
2014-03-07 11:13:18 | tkanerva | set | messageid: <1394190798.98.0.198820961614.issue1973@psf.upfronthosting.co.za> |
2014-03-07 11:13:18 | tkanerva | set | recipients:
+ tkanerva, fwierzbicki, Arfrever |
2014-03-07 11:13:18 | tkanerva | link | issue1973 messages |
2014-03-07 11:13:18 | tkanerva | create | |
|