]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: cleaner inheritance in record/composite loaders
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 6 Oct 2025 18:17:23 +0000 (20:17 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 30 Oct 2025 13:23:34 +0000 (13:23 +0000)
commit49575b8383daa5ce28908d2db5a584ce60aa7a87
treea18ce331a4957893fcc92690571fc8318ca027de
parentbc00e70457f31c48915ea5dce795c60fad57003c
refactor: cleaner inheritance in record/composite loaders

- Avoid a common base class to reuse the code, use module-level
  functions.
- Make the inheritance lines of text and binary loaders similar.
- Add documentation and notes.

This refactoring is in preparation of the implementation of these
loaders in C, to clarify and simplify things. See #1175.
psycopg/psycopg/types/composite.py