Platform Development • Re: I created a Python 3 port of UXP out of boredom...
Does this Python 3 port include any code from this port?
Actually, wound up not needing to use anything from that one. Partially because everything was just shared as a single, monolithic diff across the entire codebase and I couldn't make heads or tails of it, plus I had already started working on my port before that one was ready. I did, however, get snippets of code from Copilot as I went... but I was making one change at a time and rebuilding to see where it failed (outside of where I used 2to3 of course, but that was a normal code replacement script rather than AI), validating behavior the same way I always did when applying and fixing up patches from Bugzilla and other sources to match our codebase.
So it's really kind of a combination here... there were parts where I used 2to3 and traditional code replacement scripts, parts where I referenced Bugzilla, parts where I just learned how Python 3 worked and applied the same mechanical fixes to the same class of problem so often it became easy, and parts that used a snippet of code from Stack Overflow or Copilot applied to our codebase.
Discussion in the ATmosphere