Author felixxm
Recipients berker.peksag, erlendaasland, felixxm
Date 2021-04-06.18:29:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617733774.24.0.888180861121.issue43752@roundup.psfhosted.org>
In-reply-to
Content
We noticed a regression in Python3.10.0a7 (it works properly in Python3.10.0a6) when running Django's test suite. `convert_date()`[1] is called and crashes when fetching an empty value from `date` column on SQLite:

File "python3.10/lib/sqlite3/dbapi2.py", line 64, in convert_date
    return datetime.date(*map(int, val.split(b"-")))
ValueError: invalid literal for int() with base 10: b''

I will bisect a regression and submit PR.

[1] https://github.com/python/cpython/blob/50616223d1043f0f83534ffec38709439b8a49ab/Lib/sqlite3/dbapi2.py#L63-L64
History
Date User Action Args
2021-04-06 18:29:34felixxmsetrecipients: + felixxm, berker.peksag, erlendaasland
2021-04-06 18:29:34felixxmsetmessageid: <1617733774.24.0.888180861121.issue43752@roundup.psfhosted.org>
2021-04-06 18:29:34felixxmlinkissue43752 messages
2021-04-06 18:29:34felixxmcreate