[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError
Erlend Egeberg Aasland
report at bugs.python.org
Tue Apr 6 15:23:43 EDT 2021
Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:
Thanks for the report and the test case! :)
Regression was introduced by e161ec5dd7ba9355eb06757b9304019ac53cdf69, where it was assumed that the handling of zero-sized blobs should be consistent. Unfortunately, the handling of zero-sized blobs is not consistent. Zero-sized blobs _with_ converters must return None; zero-sized blobs _without_ converters must return b"".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43752>
_______________________________________
More information about the Python-bugs-list
mailing list