[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r85529. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This amounts to backporting the 3.x change. -- assignee: georg.brandl -> d...@python keywords: +easy -patch nosy: +d...@python, tjreedy priority: normal -> low stage: -> commit review versions: -Python 2.5, Python 2.6

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-04-02 Thread Kent Engström
Kent Engström added the comment: Is should have mentioned that we're discussion a section of the tutorial concerned with dictionaries. It is not a section on lists, sequences or sorting as such. My colleague, who asked me for help after getting confused by sort, was trying to loop over the keys

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-04-02 Thread Georg Brandl
Georg Brandl added the comment: I'm not sure about this; what is the advantage? If you already have a list, calling .sort() on it is more efficient since it doesn't have to create a new list. -- ___ Python tracker

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
Changes by Kent Engström : -- title: Tutorial secion on dictionary keys recommends sort instead of sorted -> Tutorial section on dictionary keys recommends sort instead of sorted ___ Python tracker