Skip to content

Python3 fixes for gtkdoc-depscan

Emmanuele Bassi requested to merge ebassi/python3-fixes into master

Fix the following python3 errors reported when running gtkdoc-depscan

  • NameError: name 'reduce' is not defined
  • AttributeError: 'map' object has no attribute 'sort'
  • TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(, file=<output_stream>)"?
  • TypeError: 'map' object is not reversible
  • AttributeError: 'dict_items' object has no attribute 'sort'
Edited by Emmanuele Bassi

Merge request reports