4 ms·
Are his super() complaints really a problem in practice? I for one have always disliked the non-DRYness of typing "super(C, self).method(arg)", and Python 3's s
by benhoyt 17y ago
Are his super() complaints really a problem in practice? I for one have always disliked the non-DRYness of typing "super(C, self).method(arg)", and Python 3's super() really improves on that for real-world cases.
I haven't done much Unicode string transformation, so can't comment much there. But why can't Python 3's str.lower() or .upper() replace one letter with two? As for the locale thing, could it be solved by the str.lower() and .upper() functions taking an optional locale parameter? As for internal encoding, I'm guessing they'll switch to all-UCS4 over time.
I really like all of the changes they're making in Python 3. Though I admit I haven't switched yet -- waiting for the 3rd-party support to catch up. Looks like it's happening though.