On 29 Nov 22:10, Stephen Finucane wrote: > Run code through the 'modernize' application to fix Python 3 > compatibility while also retaining Python 2 backwards compatibility. > > There are some key changes made to the autogenerated code: > > * Don't wrap 'items()' in 'list' for for loops - it's not necessary > * Don't wrap 'keys()' in 'list' - just drop 'keys()' > * Use Django's version of six rather than the upstream one > > Many of the issues found are based upon the changed definitions of the > map, keys and items functions, along with the removal of the iteritems > function and reduce keyword. > > Signed-off-by: Stephen Finucane <[email protected]>
I've been using this for over two weeks without issue. Happy to merge. _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
