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

gettext's default localedir does not match documentation #83682

Closed
thperret mannequin opened this issue Jan 30, 2020 · 2 comments
Closed

gettext's default localedir does not match documentation #83682

thperret mannequin opened this issue Jan 30, 2020 · 2 comments
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@thperret
Copy link
Mannequin

thperret mannequin commented Jan 30, 2020

BPO 39501
Nosy @gvanrossum, @thperret

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-02-10.21:37:16.562>
created_at = <Date 2020-01-30.12:48:53.644>
labels = ['type-bug', 'library', 'docs']
title = "gettext's default localedir does not match documentation"
updated_at = <Date 2020-02-10.21:37:16.561>
user = 'https://github.com/thperret'

bugs.python.org fields:

activity = <Date 2020-02-10.21:37:16.561>
actor = 'gvanrossum'
assignee = 'docs@python'
closed = True
closed_date = <Date 2020-02-10.21:37:16.562>
closer = 'gvanrossum'
components = ['Documentation', 'Library (Lib)']
creation = <Date 2020-01-30.12:48:53.644>
creator = 'moht'
dependencies = []
files = []
hgrepos = []
issue_num = 39501
keywords = []
message_count = 2.0
messages = ['361054', '361725']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'docs@python', 'moht']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue39501'
versions = []

@thperret
Copy link
Mannequin Author

thperret mannequin commented Jan 30, 2020

gettext's documentation (Doc/library/gettext.rst:724) states that default locale directory is: "sys.prefix/share/locale" but the code in gettext module (Lib/gettext.py:63) uses "sys.base_prefix/share/locale"

@thperret thperret mannequin assigned docspython Jan 30, 2020
@thperret thperret mannequin added docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jan 30, 2020
@thperret thperret mannequin assigned docspython Jan 30, 2020
@thperret thperret mannequin added docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Jan 30, 2020
@gvanrossum
Copy link
Member

Fixed by Carl-y in PR 18435, PR 18440, PR 18439. (Sorry, those commits were attributed to bpo-3950 by mistake.)

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant