• Benjamin Peterson's avatar
    Simplify PyInit_timezone. (GH-9467) · c510c6b8
    Benjamin Peterson yazdı
    Reduce the knotty preprocessor conditional logic, dedent unnecessarily nested
    code, and handle errors properly.
    
    The first edition of this change (afde1c1a)
    failed (bpo-34715) because FreeBSD doesn't define the timezone globals. That's
    why we're now checking for HAVE_DECL_TZNAME.
    c510c6b8
pyconfig.h 20 KB