Aug. 23rd, 2012

akuchling: Sherlock Hemlock (Default)
I've ported 2 of the intended 3 libraries for my PyCarolinas talk. The third is my own quotation-tools, and it's not a port that 2to3 can handle: strings and Unicode are entangled throughout, many methods have encoding parameters because they're returning what Python 3 calls 'bytes', and several of the scripts produced XML through print statements.

There's no way to rewrite this code automatically, so tonight I just dived in, read through it fixing stuff, and then ran the test suite and scripts and fixed more problems until everything worked.

I think this port is at least good enough to let me flesh out that section of my talk. Larger rewrites, such as generating XML through producing a proper tree, can wait until after the talk is done.

Profile

akuchling: Sherlock Hemlock (Default)
akuchling

September 2021

S M T W T F S
   1234
567891011
1213 1415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 18th, 2025 05:52 pm
Powered by Dreamwidth Studios