8000 gh-103636: issue warning for deprecated calendar constants by Agent-Hellboy · Pull Request #103833 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-103636: issue warning for deprecated calendar constants #103833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Apr 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/whatsnew/3.12.rst
Co-authored-by: Éric <merwok@netwok.org>
  • Loading branch information
Agent-Hellboy and merwok authored Apr 27, 2023
commit 49079d1b45e5b0ccff815d29b92a2def233ab6cb
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,8 @@ Deprecated
Python 3.14, when ``'data'`` filter will become the default.
See :ref:`tarfile-extraction-filter` for details.

* ``January`` and ``February`` are deprecated from :mod:`calendar`,
use ``JANUARY`` and ``FEBRUARY`` instead.
* ``calendar.January`` and ``calendar.February`` constants are deprecated and
replaced by :data:`calendar.Month.JANUARY` and :data:`calendar.Month.February`.
(Contributed by Prince Roshan in :gh:`103636`.)

Pending Removal in Python 3.13
Expand Down
0