stefan behnel fbqmcw_upbehnelde neal norwitz wrote iteration dict methods eg keys iterkeys mapzipfilter returning iterator rather list thats optimisation functionally required list behaves like iterator use cases rather unlikely py3 code break backport unlikely static analysis catch cases breaks rule optimise listmap map listxkeys plain xkeys etc dont think much int int long case might required dont see reason backconverted py3 code break would long needed working py3 code int doesnt provide py2 although might referring isinstancex int py3 str basestring str unicode issue although think py3 explicit enough make easy handle static renaming maybe optimising isinstances str bytes basestring __bool__ __nonzero__ execexecfile input rawinput also valid issues handled renaming static syntactic adjustments things fixer 2to3 would also require one 3to2 think explicit syntax py3 actually make easier backconvert code statically 3to2 migrate 2to3 stefan _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 173651 0200 pythondev r62342 pythonbranchespy3kobjectsbytesobjectc