Paul Ganssle <p.gans...@gmail.com> added the comment:
I have a first-pass PR, a few questions to address: 1. Should it take three arguments or a single 3-tuple? (I've gone with 3 arguments) 2. Since all three arguments are required, should we make them positional-only? 3. Should we allow time components in the `datetime` flavor of this? If so, I think we would also want datetime.isocalendar() to return a longer tuple, which would be backwards incompatible. 4. Should we add a `tz` argument in the datetime flavor? I think for questions 3 and 4 the answer is no, modelling after .toordinal/.fromordinal. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36004> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com