[docs] [issue9388] locale documentation describes non-existing ERA_YEAR constant

Alexander Belopolsky report at bugs.python.org
Tue Jul 27 06:09:16 CEST 2010

New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:

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.

assignee: docs at python
components: Documentation
keywords: easy
messages: 111683
nosy: belopolsky, docs at python
priority: normal
severity: normal
stage: needs patch
status: open
title: locale documentation describes non-existing ERA_YEAR constant
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the docs mailing list