Erlend Egeberg Aasland <erlend.aasl...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43752> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com