[issue36004] Add datetime.fromisocalendar

2019-04-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks Paul, nice enhancement! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36004] Add datetime.fromisocalendar

2019-04-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 88c093705615c50c47fdd9ab976803f73de7e308 by Victor Stinner (Paul Ganssle) in branch 'master': bpo-36004: Add date.fromisocalendar (GH-11888) https://github.com/python/cpython/commit/88c093705615c50c47fdd9ab976803f73de7e308 -- nosy: +vs

[issue36004] Add datetime.fromisocalendar

2019-02-17 Thread Paul Ganssle
Paul Ganssle added the comment: The attached PR is more or less fully ready, I think the correct answers to 1, 3 and 4 are that we should go with 3 separate arguments and we should not allow either time components or tz components, at least in this version. In the future, I don't think it wi

[issue36004] Add datetime.fromisocalendar

2019-02-15 Thread Paul Ganssle
Paul Ganssle 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 `d

[issue36004] Add datetime.fromisocalendar

2019-02-15 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +11918 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue36004] Add datetime.fromisocalendar

2019-02-15 Thread Emmanuel Arias
Emmanuel Arias added the comment: +1 -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36004] Add datetime.fromisocalendar

2019-02-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: +1 -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue36004] Add datetime.fromisocalendar

2019-02-15 Thread Paul Ganssle
New submission from Paul Ganssle : Datetime has many methods that "serializes" an instance to some other format - toordinal, timestamp, isoformat, etc. Most methods that "serialize" a datetime have a corresponding method that "deserializes" that method, or another way to reverse the operation