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 ezio.melotti
Recipients Arfrever, brett.cannon, eli.bendersky, eric.snow, ezio.melotti, pitrou
Date 2013-01-27.20:13:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359317583.69.0.923617772511.issue17037@psf.upfronthosting.co.za>
In-reply-to
Content
Note that while this works for the simple case, it doesn't work whenever you need additional tests or attributes that are specific for one of the two classes, or when you have additional base classes.  This is also not so uncommon.  I think the skip on the accelerated version might not be necessary in some situations.

IOW we have to trade between compactness, flexibility, and readability, and trying to improve one side will likely make other aspects worse.

I don't think there would be any problem at grouping the two import_fresh_module() in a single call that returns the two modules though.  (I would also avoid the use of pep399 in the names -- it's not really readable unless you can map pep numbers with their titles.)
History
Date User Action Args
2013-01-27 20:13:03ezio.melottisetrecipients: + ezio.melotti, brett.cannon, pitrou, Arfrever, eli.bendersky, eric.snow
2013-01-27 20:13:03ezio.melottisetmessageid: <1359317583.69.0.923617772511.issue17037@psf.upfronthosting.co.za>
2013-01-27 20:13:03ezio.melottilinkissue17037 messages
2013-01-27 20:13:03ezio.melotticreate