gh-91922: Fix sqlite connection on nonstardard locales and paths#92926
gh-91922: Fix sqlite connection on nonstardard locales and paths#92926serhiy-storchaka merged 9 commits intopython:mainfrom
Conversation
* 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.
|
Thanks, I'll review it tomorrow! From a quick glance, it seems like the main change is the |
|
No, the main change is calling
|
erlend-aasland
left a comment
There was a problem hiding this comment.
Looks good; thanks a lot!
I left some minor comments.
|
🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 8f58dcf 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
|
The tree buildbot failures so far all seem unrelated to this PR.
|
|
I ran tests on buildbots because the issue is locale-specific. |
|
BTW, if you want me to land this, add me as assigned. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
GH-93006 is a backport of this pull request to the 3.11 branch. |
pythonGH-92926) (cherry picked from commit d853758) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
on non-UTF-8 locales.
Closes #91922