Użytkownik Ed Leafe napisał: > On Dec 27, 2010, at 3:28 PM, Jacek Kałucki wrote: > > >> - Change iteritems() to items() reference to conform to incoming Python 3.0. >> > > Generally, it's not worth changing the current syntax to support 3.0 if > that change results in slower performance. With large lists, iteritems() is > faster than items(), which is why that's been adopted for the items() method > in 3.0. Similarly, we don't want to change all of our xrange() calls to > range(), as that will unnecessarily slow down anyone running 2.x. > >
I know that, Ed. I just though that 3.0 is near enough to do this. Currently I'm changing all Dabo keys() references to iterators and range() to xrange(), so I though change to items() will be balanced :-) But there is still plenty items() references in Dabo. I will leave them where they currently are. -- Regards Jacek Kałucki _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
