<D <M <Y
Y> M> D>

Best of Bookmarks, May-June:

[Comments] (1) Per Se: In an unprecedented splurge, Sumana and I are eating at Per Se on Sunday. Or as the domain name calls it, Perseny. Given what happened to Ed Levine when he ate at Per Se after comparing its cost on his weblog to Grey's Papaya (follow-up), I can only hope that I'll be presented with a genius dish based on Pac-Man, or a Beautiful Soup-themed soup. I'll take pictures.

Beautiful Soup Progress Report #3: OK, phase one is almost complete. There's just one test failure left in the generated Python 3 version, and I don't think it can be fixed; HTMLParser is just different between 2 and 3.

I haven't found a way in Python 2 code to indicate that a string should be converted into a byte string when the conversion script runs. In some cases I can stick .encode() onto the end and it works in both 2 and 3, but some of my tests have random binary data that's not in any particular encoding. And in some cases calling .encode() is just ugly. Kind of frustrating because about 40% of my test failures ultimately boiled down to marking such-and-such a string as a byte string. So I'd appreciate any ideas.


Unless otherwise noted, all content licensed by Leonard Richardson
under a Creative Commons License.