michalc / sqlite-s3-query

Python functions to query SQLite files stored on S3
MIT License
251 stars 15 forks source link

refactor: no need for added null byte #31

Closed michalc closed 2 years ago

michalc commented 2 years ago

From https://stackoverflow.com/a/70491741/1319998 which refers to https://docs.python.org/3/c-api/bytes.html#c.PyBytes_AsString that (at least in CPython) bytes objects end in a null byte anyway)