Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-28602: [WIP] Add fold support to fromutc#7425

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
pganssle wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
frompganssle:fromutc

Conversation

pganssle
Copy link
Member

@pgansslepganssle commentedJun 5, 2018
edited by abalkin
Loading

This is an example implementation of generic fold support indatetime.fromutc, for purposes of discussion. The idea here is that so long asutcoffset - dst is constant (as is the fundamental assumption of the currentfromutc implementation) and theutcoffset anddst implementations respect thefold parameter, this will always set thefold parameter correctly infromutc.

This needs more extensive tests and a pure Python implementation (plus I don't think I was amazingly careful about the reference counts), but the overall outline is there. It's basically a port of the current basedateutil implementation.

SeeGH-72788.

https://bugs.python.org/issue28602

@github-actionsGitHub Actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelSep 21, 2024
@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA signed

@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelApr 9, 2025
@github-actionsGitHub Actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelMay 10, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tim-onetim-oneAwaiting requested review from tim-one

@abalkinabalkinAwaiting requested review from abalkinabalkin will be requested when the pull request is marked ready for reviewabalkin is a code owner

Assignees

@abalkinabalkin

Labels
awaiting reviewDO-NOT-MERGEstaleStale PR or inactive for long period of time.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@pganssle@abalkin@the-knights-who-say-ni@ezio-melotti@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp