This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients barry, brett.cannon, georg.brandl, meador.inge
Date 2012-08-05.23:50:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344210618.04.0.133809026711.issue15471@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch that drops all mutable default arguments to __import__() and updates the docs. I went with Barry's approach but made it compatible with PEP 8 (bad, FLUFL; no unneeded parens!). I also ignored the locals argument since __import__ doesn't even use it.

Assigning to Georg as a release blocker to make a call as to whether I can apply this to 3.3 of if I need to wait until 3.4 since this is not a critical fix but a good thing to do. Just assign back to me once the decision has been made.
History
Date User Action Args
2012-08-05 23:50:18brett.cannonsetrecipients: + brett.cannon, barry, georg.brandl, meador.inge
2012-08-05 23:50:18brett.cannonsetmessageid: <1344210618.04.0.133809026711.issue15471@psf.upfronthosting.co.za>
2012-08-05 23:50:17brett.cannonlinkissue15471 messages
2012-08-05 23:50:16brett.cannoncreate