-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
test_sqlite3 fails on non-UTF-8 locale #91922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It is not just tests. There is a bug in the code. It is due to this line: cpython/Modules/_sqlite/connection.c Line 198 in 4153f2c
I afraid also that |
I'd rather fix this by documenting that the database path must be UTF-8. I'm afraid that using both |
Quoting the SQLite docs:
We should add this information to the docs. |
I'm troubled by this sentence in the SQLite docs:
|
I propose to resolve this by improving the docs. Let me know if you agree. |
* Fix function sqlite.connect() and the sqlite.Connection constructor on non-UTF-8 locales. * Fix support of bytes paths non-decodable with the current FS encoding.
#92926 resolves this issue. It also fixes support of non-decodable bytes paths. I am not sure about URIs, perhaps they need additional work. |
BTW, |
pythonGH-92926) (cherry picked from commit d853758) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
The text was updated successfully, but these errors were encountered: