Steven D'Aprano <st...@pearwood.info>: > So not all Python 3 migration stories turn into horror stories :-)
Peter Donis and wrote "Practical Python porting for systems programmers": http://www.catb.org/esr/faqs/practical-python-porting/ We developed and applied these techniques on src (a lightweight version-control system for single-contributor projects), reposurgeon (a tool for surgery on version-control repositories, 14KLOC), doclifter (man-page to XML-DocBook markup lifter, 8KLOC), the Python components of GPSD (9KLOC) and the Python components of NTPSec (secure network time service, 16KLOC). All this code runs under either 2 nor 3 without requiring six or any other shim library. Applying the techniques is not particularly difficult. There were no horror stories at any point. I expect to keep writing Python in this polyglot idiom until 2 is obsolete enough to fall off the radar. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> My work is funded by the Internet Civil Engineering Institute: https://icei.org Please visit their site and donate: the civilization you save might be your own. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com