Skip to content
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

Sync Fork from Upstream Repo #79

Merged
merged 5 commits into from
Jan 16, 2020
Merged

Sync Fork from Upstream Repo #79

merged 5 commits into from
Jan 16, 2020

Conversation

sthagen
Copy link
Owner

@sthagen sthagen commented Jan 16, 2020

No description provided.

elprans and others added 5 commits January 15, 2020 16:09
We currently use the bare "C" locale, which makes character handling
outside of the ASCII range not work as expected.  Switch to "C.utf8"
(but keep bare "C" for collation).  This also spells locale and encoding
explicitly for newly created databases.  Not all systems support C.UTF-8,
so fallback to en_US.UTF-8 in those cases.

Fixes: #1105.
Per PEP 538, Python's `locale.getlocale()` will return `'en_US.UTF-8'`
if the system's locale is set to `"C"`, and so a subsequent
`locale.setlocale()` call will fail.  So, instead of doing save/restore,
do it the `setlocale` way and revert to the global default by passing an
empty string.
…o much thrashing (#1028)" (#1110)

This reverts commit 87a11fa.

This turned out not to make a significant impact on Linux, and latency
distribution got worse, so let's revert this for now until we have a
clear confirmation that disabling GC makes sense.
This is almost identical to the nightly build (without the "nightly"
part obviously).
Add tests featuring a couple different implementations of a tree
structure.

Issues: #1097, #1080, #1098.
@sthagen sthagen merged commit 53884b2 into sthagen:master Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants