Greg Ewing wrote: >> * Even though the order isn’t important for code, it’s convenient at >> the interactive prompt to see the methods of an item in alphabetical >> order for quick scanning. > > Since I suspect this is most people's main use for > dir(), I think it's a good enough reason for leaving > things as they are.
Yes, I was going to point out that I would personally be *very* annoyed if someone removed the automatic sorting from the output of dir() :) Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com