bpo-36004: Add date.fromisocalendar by pganssle · Pull Request #11888 · python/cpython
pganssle
changed the title
bpo-36004: Add date.fromisocalendar and tests
bpo-36004: Add date.fromisocalendar
This commit implements the first version of date.fromisocalendar, the inverse function for date.isocalendar. It is currently missing error checking for the case of of invalid iso dates in week 53. bpo-36004: https://bugs.python.org/issue36004
This is equivalent but uses only existing helper functions and in many cases will be slightly more efficient.
ncoghlan added a commit to ncoghlan/cpython that referenced this pull request
Jun 1, 2024* Clarify impact on default behaviour of exec, eval, etc * Update documentation for changes to PyEval_GetLocals (pythongh-74929) Closes pythongh-11888
ncoghlan added a commit that referenced this pull request
Jun 1, 2024miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Jun 1, 2024* Clarify impact on default behaviour of exec, eval, etc * Update documentation for changes to PyEval_GetLocals (pythongh-74929) Closes pythongh-11888 (cherry picked from commit 2180991) Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
barneygale pushed a commit to barneygale/cpython that referenced this pull request
Jun 5, 2024* Clarify impact on default behaviour of exec, eval, etc * Update documentation for changes to PyEval_GetLocals (pythongh-74929) Closes pythongh-11888
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request
Jul 11, 2024* Clarify impact on default behaviour of exec, eval, etc * Update documentation for changes to PyEval_GetLocals (pythongh-74929) Closes pythongh-11888
estyxx pushed a commit to estyxx/cpython that referenced this pull request
Jul 17, 2024* Clarify impact on default behaviour of exec, eval, etc * Update documentation for changes to PyEval_GetLocals (pythongh-74929) Closes pythongh-11888
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters