FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-105376: Remove logging.Logger.warn() method by vstinner · Pull Request #105377 · python/cpython · GitHub

Repository navigation

gh-105376: Remove logging.Logger.warn() method - #105377

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_logging_warn
Jun 6, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:remove_logging_warn

Conversation

vstinner commented Jun 6, 2023 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

vstinner commented Jun 6, 2023

Copy link
Copy Markdown
Member Author

cc @vsajip

vstinner force-pushed the remove_logging_warn branch from 184375d to 0ff0444 Compare June 6, 2023 18:06

vstinner commented Jun 6, 2023

Copy link
Copy Markdown
Member Author

Oh, I forgot to mention that the method was deprecated since Python 3.3. I updated the PR.

vstinner enabled auto-merge (squash) June 6, 2023 18:12
vstinner merged commit 6c54e5d into python:main Jun 6, 2023
vstinner deleted the remove_logging_warn branch June 14, 2023 15:46
lewisemm added a commit to lewisemm/django-pipeline that referenced this pull request Jan 15, 2024
- `logging.Logger.warn()` has been deprecated since Python 3.3 and
will not be available in Python 3.13 as per this pull request
(python/cpython#105377).
lewisemm added a commit to lewisemm/edx-platform that referenced this pull request Jan 15, 2024
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149
peymanslh pushed a commit to jazzband/django-pipeline that referenced this pull request Jan 15, 2024
- `logging.Logger.warn()` has been deprecated since Python 3.3 and
will not be available in Python 3.13 as per this pull request
(python/cpython#105377).

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
UsamaSadiq pushed a commit to openedx/openedx-platform that referenced this pull request Jan 16, 2024
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
mariajgrimaldi pushed a commit to eduNEXT/edunext-platform that referenced this pull request Jan 23, 2024
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
vstinner added a commit to vstinner/cpython that referenced this pull request Aug 7, 2024
…105377)"

This reverts commit dcc028d and
commit 6c54e5d.

Keep warn() method in Python 3.13.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL