py-pgproto icon indicating copy to clipboard operation
py-pgproto copied to clipboard

Low-level IO utilities for PosgtreSQL drivers.

Results 4 py-pgproto issues
Sort by recently updated
recently updated
newest added

This fixes MagicStack/asyncpg#1006 :)

Getting a lot of these errors when trying to build https://github.com/MagicStack/asyncpg on Python 3.12: ``` asyncpg/pgproto/pgproto.c:40800:55: error: no member named 'ob_digit' in 'struct _longobject' const digit* digits = ((PyLongObject*)x)->ob_digit; ~~~~~~~~~~~~~~~~~~...

Should the argument `x` here have type `int32_t`? ```c pack_int32(char *buf, int64_t x) ``` I understand that the current version will produce exactly the same result.

While working on ChunkedBuffer: https://github.com/tzickel/chunkedbuffer I think it's for calling python methods which are already bound to a Python object, it's faster to do instead of (check the annotated output):...