]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Add prototype for a decimal binary dumper
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 5 May 2021 17:15:02 +0000 (19:15 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 6 May 2021 01:49:23 +0000 (03:49 +0200)
commita453286c342a0b844f8a50899f7a6425e29c2e41
tree20469372baf2f2456556786ffaccaa1ce2d75d15
parentacfab940a423b70e0b17ba50ea9bf0f11cf3f077
Add prototype for a decimal binary dumper

The algorithm is pretty unwieldy, maybe it can be refactored. But tests
show that it should be correct.
psycopg3/psycopg3/types/__init__.py
psycopg3/psycopg3/types/numeric.py
tests/types/test_numeric.py