tinman spent a few years mucking around industry before going back to school for a Masters. Currently not enjoying the weather in North England..
He wrote Perl that looked suspiciously like C code in 1998, while working as an intern, and has been trying to cure that bad habit ever since.
In the same vein as Gmail.py, I'm trying to make a Perl interface to Gmail. In fact, it will probably be a straight port. Inexplicably, I'm finding the same problem that an anonymous poster discovered... Win32 cookie handling or URL handling seems to be borked in Python. The Python script works fine in Cygwin and on my Mandrake box, but doesn't in Win32.
Ha, thought I. Perl has consistent behaviour between platforms.. well, sorta. Turns out that I get the same (incorrect)response in Perl as in Python. Head scratching time. Set the UserAgent to Linux (just in case they were checking). Nope. Not that either.
Update: It's not cookies. I examined headers from both Cygwin and Win32 versions. Sheesh. Maybe it's line endings or something equally embarassing?