Skip to content

PEP 615: Mark as Final #3592

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

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions peps/pep-0615.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ PEP: 615
Title: Support for the IANA Time Zone Database in the Standard Library
Author: Paul Ganssle <paul at ganssle.io>
Discussions-To: https://discuss.python.org/t/3468
Status: Accepted
Status: Final
Type: Standards Track
Content-Type: text/x-rst
Created: 22-Feb-2020
Python-Version: 3.9
Post-History: 25-Feb-2020, 29-Mar-2020
Replaces: 431

.. canonical-doc:: :external+python:mod:`zoneinfo`

Abstract
========
Expand Down Expand Up @@ -463,7 +463,9 @@ arguments), the ``zoneinfo`` module will use the environment variable

``PYTHONTZPATH`` is an ``os.pathsep``-delimited string which *replaces* (rather
than augments) the default time zone path. Some examples of the proposed
semantics::
semantics:

.. code-block:: console

$ python print_tzpath.py
("/usr/share/zoneinfo",
Expand All @@ -481,7 +483,9 @@ semantics::
This provides no built-in mechanism for prepending or appending to the default
search path, as these use cases are likely to be somewhat more niche. It should
be possible to populate an environment variable with the default search path
fairly easily::
fairly easily:

.. code-block:: console

$ export DEFAULT_TZPATH=$(python -c \
"import os, zoneinfo; print(os.pathsep.join(zoneinfo.TZPATH))")
Expand Down Expand Up @@ -946,14 +950,3 @@ Copyright

This document is placed in the public domain or under the
CC0-1.0-Universal license, whichever is more permissive.



..
Local Variables:
mode: indented-text
indent-tabs-mode: nil
sentence-end-double-space: t
fill-column: 70
coding: utf-8
End: