| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
Sorry, something went wrong.
|
@picnixz Thanks for taking a look! I've added the versionchanged:: 3.12 directive, rewritten the NEWS entry, and added test_illegal_month_error_bases to verify the dual inheritance. |
Sorry, something went wrong.
…alueError and IndexError
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
@picnixz Thanks very much for reviewing! What's the next step towards getting this merged? :) |
Sorry, something went wrong.
|
I need to come back home so a week or so. In general, once it is approved by one core dev, if the change is minimal, it will be merged when they have time. On your side there is nothing to do (we will ourselves update the branch if necessary/ |
Sorry, something went wrong.
|
There are however some lint issues so could you fix them please? |
Sorry, something went wrong.
Co-authored-by: Stan Ulbrych <stan@python.org>
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Thanks @EoinTrial for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
|
GH-148917 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-148918 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
Merged, GRMA! |
Sorry, something went wrong.
|
@StanFromIreland Tá fáilte mhór romhat, a chara ;) |
Sorry, something went wrong.
…from both `ValueError` and `IndexError` (python#148664) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org>
| Back | FazBrowse Home | New Git URL |
The documentation for calendar.IllegalMonthError describes it only as "a subclass of ValueError", but the source code defines it as:
The IndexError base class is intentional for backwards compatibility (see the source comment in Lib/calendar.py), but this is not mentioned in the docs. Users catching IndexError for bad month numbers won't know their code still works after Python 3.13.
📚 Documentation preview 📚: https://cpython-previews--148664.org.readthedocs.build/