Message8247

Author tkanerva
Recipients Arfrever, fwierzbicki, tkanerva
Date 2014-03-07.11:13:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394190798.98.0.198820961614.issue1973@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-03-07 11:13:18tkanervasetmessageid: <1394190798.98.0.198820961614.issue1973@psf.upfronthosting.co.za>
2014-03-07 11:13:18tkanervasetrecipients: + tkanerva, fwierzbicki, Arfrever
2014-03-07 11:13:18tkanervalinkissue1973 messages
2014-03-07 11:13:18tkanervacreate