Dear SIG,

I have expanded the Q & A section of the PEP [1] and made some other
changes based on your feedback.  My goal is to address in the Q & As every
concern that have been raised and not resulted in a change to the man text.

Experience shows that I am very bad at collecting the questions.  I invent
the questions that no one asked and miss those that some of you did.

Please let me know if I did not address your feedback.

Note that I did not include all suggestions for the name of the flag, but I
thank everyone who made their suggestions.   I think we are really left
with two contenders: "fold" and "later."  The only additional variant I
would like to consider is "fold" with the integer values of 0 and 1.  I
think time(1, 30, fold=1) is short and sweet and looks better than time(1,
30, later=True).

Note that neither spelling is self-explanatory, particularly if you see
something like if dt.replace(later=True) < dt.replace(later=False) in
someone's code, but the word "fold" points you in the right direction and
is more Google-friendly than "later".

The reason I think fold=0 and fold=1 may work better than booleans, is that
you can think of the local time line as consisting of two "folds" one - the
main timeline and the other a discontinuous line covering the fall-back
hours.


[1]: https://www.python.org/dev/peps/pep-0495/#questions-and-answers
_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to