This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author felixxm
Recipients felixxm, ghaering
Date 2021-03-02.11:52:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614685928.78.0.886404151832.issue43368@roundup.psfhosted.org>
In-reply-to
Content
We noticed a regression in Python3.10.0a6 (it works properly in Python3.10.0a5) when running Django's test suite. Empty bytestrings are not longer returned properly on SQLite:

def test_return_empty_bytes(self):
    cur = self.con.cursor()
    cur.execute("select X''")
    val = cur.fetchone()[0]
    self.assertEqual(val, b'')

Regression in https://github.com/python/cpython/commit/47feb1feb28631b6647699b7633109aa85340966
See https://bugs.python.org/issue43249

I will submit PR in few minutes.
History
Date User Action Args
2021-03-02 11:52:08felixxmsetrecipients: + felixxm, ghaering
2021-03-02 11:52:08felixxmsetmessageid: <1614685928.78.0.886404151832.issue43368@roundup.psfhosted.org>
2021-03-02 11:52:08felixxmlinkissue43368 messages
2021-03-02 11:52:08felixxmcreate