This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients AndiDog_old, belopolsky, eric.smith, eryksun, ezio.melotti, paul.moore, shimizukawa, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Date 2021-03-08.18:17:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615227478.93.0.8939389578.issue8304@roundup.psfhosted.org>
In-reply-to
Content
>  time.tzset() should be implemented

I'm not sure of what you mean. The function is implemented:

static PyObject *
time_tzset(PyObject *self, PyObject *unused)
{
    PyObject* m;

    m = PyImport_ImportModuleNoBlock("time");
    if (m == NULL) {
        return NULL;
    }

    tzset();

    /* Reset timezone, altzone, daylight and tzname */
    if (init_timezone(m) < 0) {
         return NULL;
    }
    Py_DECREF(m);
    if (PyErr_Occurred())
        return NULL;

    Py_RETURN_NONE;
}
History
Date User Action Args
2021-03-08 18:17:59vstinnersetrecipients: + vstinner, terry.reedy, paul.moore, belopolsky, eric.smith, tim.golden, ezio.melotti, AndiDog_old, shimizukawa, zach.ware, eryksun, steve.dower
2021-03-08 18:17:58vstinnersetmessageid: <1615227478.93.0.8939389578.issue8304@roundup.psfhosted.org>
2021-03-08 18:17:58vstinnerlinkissue8304 messages
2021-03-08 18:17:58vstinnercreate