Closed richardjgowers closed 8 years ago
string_types
You should add iteritems and co as well. Six has a wrapper function for them.
Yeah, I was hoping we'd all edit the list above :P
Do we actually use any explicit Python 2 long
anymore?
git grep '[0-9]L' | egrep '^.*\.(py|pyx|pxd):'
shows zero results. Maybe @jbarnoud or @richardjgowers can comment.
There are explicit longs in the C code but that is fine.
I removed all the use of long integer I found. I do not see any remaining; except for the ones in the TRZ parser, but these are only seen by python 2.
We should be good for this issue. I close it, the remaining occurrences will most likely be fixed as we go.
Omnibus issue for six fixes
List of issues to do:
izip
&xrange
(#645)string_types
(#655)Resources for finding fixes: http://python-future.org/compatible_idioms.html