Johan Corveleyn wrote on Thu, 23 Apr 2020 13:30 +0200: > On Thu, Apr 23, 2020 at 12:17 AM Yasuhito FUTATSUKI <futat...@poem.co.jp> > wrote: > > [[[ > > Index: gen-make.py > > =================================================================== > > --- gen-make.py (revision 1872433) > > +++ gen-make.py (working copy) > > @@ -70,7 +70,7 @@ > > > > if ('--debug', '') in other_options: > > for dep_type, target_dict in generator.graph.deps.items(): > > - sorted_targets = list(target_dict.keys()); sorted_targets.sort() > > + sorted_targets = sorted(target_dict.keys(), key=str) > > for target in sorted_targets: > > print(dep_type + ": " + _objinfo(target)) > > for source in target_dict[target]: > > ]]] > > Yes, that works :-), both with Py 3.8 and with Py 2.7. > +1 to commit and propose for backport to 1.14.x.
My +1 to backport as well.