Staging
v0.8.1
https://github.com/python/cpython
Revision 5eb78c75128187a36d8e983027632fa51cc2ff4d authored by Victor Stinner on 03 December 2018, 23:09:02 UTC, committed by GitHub on 03 December 2018, 23:09:02 UTC
* bpo-35373: Fix PyInit_timezone() error handling

PyInit_timezone() now returns -1 at exit if an exception is raised.
Check also explicitly PyUnicode_DecodeLocale() and Py_BuildValue()
errors.

* bpo-35373: Fix PyInit_time() error handling (GH-10865)

* PyInit_time() now returns NULL if an exception is raised.
* Rename PyInit_timezone() to init_timezone(). "PyInit_" prefix is
  a special prefix for function initializing a module.
  init_timezone() doesn't initialize a module and the function is not
  exported.

(cherry picked from commit 3bb150d8148e3cc08418077a58f43e064b9fde61)
1 parent e8f9e47
Raw File
Tip revision: 5eb78c75128187a36d8e983027632fa51cc2ff4d authored by Victor Stinner on 03 December 2018, 23:09:02 UTC
[3.7] bpo-35373: Fix PyInit_timezone() error handling (GH-10864)
Tip revision: 5eb78c7
CODE_OF_CONDUCT.rst
Code of Conduct
===============

Please note that all interactions on
`Python Software Foundation <https://www.python.org/psf-landing/>`__-supported
infrastructure is `covered
<https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties>`__
by the `PSF Code of Conduct <https://www.python.org/psf/codeofconduct/>`__,
which includes all infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general this means everyone is expected to be open, considerate, and
respectful of others no matter what their position is within the project.

back to top