Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "\x01\x02".encode('zlib') is a really odd API. Just making sure: this is a real thing, and you're in favor of it?

Of course this is a real thing and it's very frequently used. Yes I am in favour of it as the codec system in Python is precisely the place where things like this should live.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: