RE: [Python-Dev] Out-of-date FAQs

2005-01-03 Thread Delaney, Timothy C (Timothy)
Aahz wrote: > Yes. Until last July, the company I work for was still using 1.5.2. > Our current version is 2.2. I think that the FAQ should be usable for > anyone with a "reasonably current" version of Python, say at least two > major versions. IOW, answers should continue to work with 2.2 duri

Re: [Python-Dev] Out-of-date FAQs

2005-01-03 Thread Aahz
On Tue, Jan 04, 2005, Delaney, Timothy C (Timothy) wrote: > > As a general rule, when an idiom has changed, do we want to state both > the 2.4 idiom as well as the 2.3 idiom? In the case of list.sort(), that > would mean having both: > > for key in sorted(dict.iterkeys()): > ...do what