[Python-Dev] PEP 431 Time zone support improvements - Update

Lennart Regebro regebro at gmail.com
Sat Dec 29 05:48:01 CET 2012


On Fri, Dec 28, 2012 at 10:12 PM, Ronald Oussoren <ronaldoussoren at mac.com>wrote:

>
> On 28 Dec, 2012, at 21:23, Lennart Regebro <regebro at gmail.com> wrote:
>
> > Happy Holidays! Here is the update of PEP 431 with the changes that
> emerged after the earlier discussion.
>
> Why is the new timezone support added in a submodule of datetime?


Because several people wanted it that way and nobody objected.


> Adding the new
> function and exception to datetime itself wouldn't clutter the API that
> much


It will make the datetime.py twice as long though, and the second longest
module in the stdlib, beaten only by decimal.py. Perhaps this is not a
problem.

//Lennart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121229/0acf4d46/attachment.html>


More information about the Python-Dev mailing list