Python 3.0 Gripes

Dec 04, 2008 10:47

I understand there were many language features that needed to be changed now that version 3.0 is coming out. A few just seem like change for change's sake though:

* dict methods dict.keys(), dict.items() and dict.values() return “views” instead of lists. For example, this no longer works: k = d.keys(); k.sort(). Use k = sorted(d) instead
Uh, ( Read more... )

Leave a comment

Comments 1

sui66iy December 5 2008, 02:21:49 UTC
The other frustrating thing is that there's no flagship feature that makes you feel like you've got to go through the pain. I certainly can't justify the productivity hit we would take at work to move to 3.0 right now. Even if it just had better performance --- but no, supposedly it's ~10% slower.

Reply


Leave a comment

Up