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

locale documentation describes non-existing ERA_YEAR constant #53634

Closed
abalkin opened this issue Jul 27, 2010 · 2 comments
Closed

locale documentation describes non-existing ERA_YEAR constant #53634

abalkin opened this issue Jul 27, 2010 · 2 comments
Labels
docs Documentation in the Doc dir easy

Comments

@abalkin
Copy link
Member

abalkin commented Jul 27, 2010

BPO 9388
Nosy @birkenfeld, @abalkin

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 2010-07-29.14:49:16.562>
created_at = <Date 2010-07-27.04:09:14.208>
labels = ['easy', 'docs']
title = 'locale documentation describes non-existing ERA_YEAR constant'
updated_at = <Date 2010-07-29.14:49:16.560>
user = 'https://github.com/abalkin'

bugs.python.org fields:

activity = <Date 2010-07-29.14:49:16.560>
actor = 'georg.brandl'
assignee = 'docs@python'
closed = True
closed_date = <Date 2010-07-29.14:49:16.562>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2010-07-27.04:09:14.208>
creator = 'belopolsky'
dependencies = []
files = []
hgrepos = []
issue_num = 9388
keywords = ['easy']
message_count = 2.0
messages = ['111683', '111943']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'belopolsky', 'docs@python']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'needs patch'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue9388'
versions = ['Python 3.2']

@abalkin
Copy link
Member Author

abalkin commented Jul 27, 2010

Grepping through the source tree, reveals a single match for ERA_YEAR:

Doc/library/locale.rst:247: .. data:: ERA_YEAR

Google search for it shows an OpenSolaris bug report that explains the origin of this constant:

"""
There appears to be an IBM-private field in _LC_time_t struct,
era_year. We should remove "era_year" from the _LC_time_t struct.
This should only affect the LC_TIME functions, localedef
command, and locale objects. (nl_langinfo and langinfo.h are
unaffected because they don't reference era_year.)
"""

I believe this entry should simply be removed.

@abalkin abalkin added docs Documentation in the Doc dir easy labels Jul 27, 2010
@birkenfeld
Copy link
Member

Thanks, fixed in r83232.

@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 easy
Projects
None yet
Development

No branches or pull requests

2 participants