Toot

Written by Alex Willmer on 2024-09-24 at 12:06

[#]TIL In Python 2.x io.StringIO() is not a substitute for StringIO.StringIO(). The io module is intentionally stricter about byte strings vs textual (unicode) strings. StringIO.StringIO() is loosey goosey, accepting both https://gist.github.com/moreati/66d88c58000fc5cc2e67c254bb5d0e53 I probably knew this years ago, but forgot.

=> More informations about this toot | View the thread | More toots from alex@moreati.org.uk

Mentions

Tags

=> View til tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113192442941737446
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
234.675355 milliseconds
Gemini-to-HTML Time
0.852572 milliseconds

This content has been proxied by September (ba2dc).