Rough strategy

  1. Find python 2 software, dependent libraries and scripts
  2. estimate porting difficulty & priority
  3. Search for alternatives where appropriate, or else:
  4. port!

I'm intending specifically to exclude OS dependencies but non-distro-provided python 2 code that's being patched by its maintainer should be at least listed, lest the situation change.

Python 3 Gotchas

(detail to be added, links to guidance, etc.)

  • strings to Unicode -- link to good guide. Main advice is trace inputs and outputs to the system (including command line!)
  • Known module major changes
    • include ldap3 changes
    • requests, etc.
  • Tools:
    • Link to use of 2to3 and futurize tools; these are in use by RAT

Examples

  • Done so far, pgluser, some scripts in utils.
  • getpapers/spython
  • cosignego
  • TheonUI
  • wakecli / wakeweb2 ?

Links

-- GrahamDutton - 21 May 2020

Topic revision: r2 - 30 Jul 2020 - 14:53:44 - GrahamDutton
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies