| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* Convert zone info type to heap type and add it to module state
* Add global variables to module state
|
|
|
| |
Add some missing links to source from Python docs
|
|
|
|
|
|
| |
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
```
Warning, treated as error:
/tmp/code/Doc/library/zoneinfo.rst:303:Error in "code-block" directive:
1 argument(s) required, 0 supplied.
.. code-block::
>>> a = ZoneInfo("Europe/Berlin")
>>> b = pickle.loads(europe_berlin_pkl)
>>> a is b
True
```
|
|
|
|
|
| |
This was not specified in the PEP, but it will likely be a frequently requested feature if it's not included.
This includes only the "canonical" zones, not a simple listing of every valid value of `key` that can be passed to `Zoneinfo`, because it seems likely that that's what people will want.
|
|
This adds the documentation for the `zoneinfo` module added in PEP 615: https://www.python.org/dev/peps/pep-0615/
The implementation itself was GH-19909: https://github.com/python/cpython/pull/19909
bpo-40503: https://bugs.python.org/issue40503
Co-authored-by: Victor Stinner <vstinner@python.org>
|