[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-14 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report and reproducer, Mariusz and thank you for the PR, Erlend. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-14 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6f1e8ccffa5b1272a36a35405d3c4e4bbba0c082 by Erlend Egeberg Aasland in branch 'master': bpo-43752: Fix sqlite3 regression for zero-sized blobs with converters (GH-25228) https://github.com/python/cpython/commit/6f1e8ccffa5b1272a36a35405d3c4e4bbba

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-13 Thread Lumír Balhar
Change by Lumír Balhar : -- nosy: +frenzy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-06 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > Zero-sized blobs _with_ converters must return None; zero-sized blobs > _without_ converters must return b"". Maybe the docs should be updated to reflect this inconsistency. -- ___ Python tracker

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-06 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: BTW, you might be interested in this bpo, Mariusz: bpo-43553 -- ___ Python tracker ___ __

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-06 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland 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

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-06 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +23965 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25228 ___ Python tracker _

[issue43752] [sqlite3] Fetching an empty value from date column raises ValueError

2021-04-06 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- title: Fetching an empty value from date column crashes on SQLite. -> [sqlite3] Fetching an empty value from date column raises ValueError ___ Python tracker ___