Skip to content
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

gh-106392: Fixed datetime UTC deprecation warnings use the name "datetime" inconsistently #106392 (#106392) #106405

Closed
wants to merge 2 commits into from

Conversation

yctomwang
Copy link

@yctomwang yctomwang commented Jul 4, 2023

Fixes #106392

Replace Modules/_datetimemodule.c's PyExc_DeprecationWarning with 'in UTC: datetime.now(timezone.utc)'.

… "datetime" inconsistently python#106392 (python#106392)

Replace Modules/_datetimemodule.c's PyExc_DeprecationWarning with 'in UTC: datetime.now(timezone.utc)'.
@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Jul 4, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@serhiy-storchaka
Copy link
Member

Thank you for your PR, but the issue was solved in other way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datetime UTC deprecation warnings use the name "datetime" inconsistently
3 participants