We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_utcfromtimestamp
datetimetester
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
This code cannot run correctly:
cpython/Lib/test/datetimetester.py
Lines 6221 to 6227 in 55402d3
Because _utcfromtimestamp is not defined anywhere.
Introduced in 38dc3f2 by @pganssle
I think that this is a typo, I will send a PR.
This was introduced when datetime.utcfromtimestamp was deprecated, I propose to use a direct alternative: datetime.fromtimestamp(t, datetime.UTC)
datetime.utcfromtimestamp
datetime.fromtimestamp(t, datetime.UTC)
This problem is not detected by tests, because this looks like a in-test helper for module maintainers. It is not used as of right now.
The text was updated successfully, but these errors were encountered:
pythongh-120266: Fix undefined _utcfromtimestamp name in `datetimet…
397a5f3
…ested`
sobolevn
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Bug report
This code cannot run correctly:
cpython/Lib/test/datetimetester.py
Lines 6221 to 6227 in 55402d3
Because
_utcfromtimestamp
is not defined anywhere.Introduced in 38dc3f2 by @pganssle
I think that this is a typo, I will send a PR.
This was introduced when
datetime.utcfromtimestamp
was deprecated, I propose to use a direct alternative:datetime.fromtimestamp(t, datetime.UTC)
This problem is not detected by tests, because this looks like a in-test helper for module maintainers. It is not used as of right now.
Linked PRs
_utcfromtimestamp
name indatetimetester
#120267The text was updated successfully, but these errors were encountered: