🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@StanFromIreland
Copy link
Member

No description provided.

It is primarily intended to be used by standard library's ``zoneinfo``
module (new in Python 3.9), but it is also available as a source for time zone
It is primarily intended to be used by standard library's :mod:`zoneinfo`
module, but it is also available as a source for time zone
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to add the note IMO, since all non-EOL python versions carry the module.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this is not necessarily that some version of Python might not have tzdata, but to indicate that this module is not basically an implementation detail of zoneinfo but rather a source of the time zone data available for anyone to use for whatever purposes they have. For example dateutil.tz will use it (including on Python 2.7), and I have long felt that pandas or some other library in the scientific Python space should implement their own time zone class that works better for vectors.

@pganssle pganssle merged commit e23d5fc into python:master Sep 16, 2025
23 of 24 checks passed
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.

2 participants