Message180787
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.) |
|
Date |
User |
Action |
Args |
2013-01-27 20:13:03 | ezio.melotti | set | recipients:
+ ezio.melotti, brett.cannon, pitrou, Arfrever, eli.bendersky, eric.snow |
2013-01-27 20:13:03 | ezio.melotti | set | messageid: <1359317583.69.0.923617772511.issue17037@psf.upfronthosting.co.za> |
2013-01-27 20:13:03 | ezio.melotti | link | issue17037 messages |
2013-01-27 20:13:03 | ezio.melotti | create | |
|