3 ms·
"API: Upgraded from Python 2.6 to Python 3.3" Oh god, I've got some plugin fixing to do..
by swdunlop 14y ago
"API: Upgraded from Python 2.6 to Python 3.3"
Oh god, I've got some plugin fixing to do..
- swdunlop 14y agoCase in point, right off the bat.. Package Control's print statements are going to have to go and urllib2 was deprecated. :)
- wbond 14y agoI started work prepping for Python 3 a little while ago at https://github.com/wbond/sublime_package_control/tree/split_source https://github.com/wbond/sublime_package_control/tree/split_..., however the actual Python 3 changes are in progress and have yet to be committed.
- xentronium 14y agoHow much effort is required to maintain the same code base compatible between 2.6 and 3.3? Non-python guy here.
- swdunlop 14y agoPython's "2to3" utility helps a lot with the mechanical parts, like spotting renamed modules or print statements. After that, it's a chore of hunting down small semantic changes involving strings. Since everything in Sublime Text should be using the same flavor of string, at least that part should be straightforwards.