GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.13] gh-117398: Add multiphase support to _datetime (gh-119373) by miss-islington · Pull Request #119636 · python/cpython

Conversation

@miss-islington

@miss-islington miss-islington commented May 27, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This is minimal support. Subinterpreters are not supported yet. That will be addressed in a later change.

(cherry picked from commit 3e8b609)

Co-authored-by: Erlend E. Aasland [email protected]
Co-authored-by: Eric Snow [email protected]

  • Issue: Isolate the _datetime extension module #117398

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@erlend-aasland @ericsnowcurrently @miss-islington
pythongh-117398: Add multiphase support to _datetime (pythongh-119373)
ec809db
This is minimal support.  Subinterpreters are not supported yet.  That will be addressed in a later change.

(cherry picked from commit 3e8b609)

Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Eric Snow <[email protected]>
@miss-islington
miss-islington requested review from abalkin and pganssle as code owners May 27, 2024 22:02
@bedevere-app bedevere-app Bot added the awaiting review label May 27, 2024
This was referenced May 27, 2024
Isolate the _datetime extension module #117398
Closed
gh-117398: Add multiphase support to _datetime #119373
Merged
@bedevere-app bedevere-app Bot added the skip news label May 27, 2024
@ericsnowcurrently
ericsnowcurrently merged commit d58ebf0 into python:3.13 May 27, 2024
@bedevere-app bedevere-app Bot removed the awaiting review label May 27, 2024
ericsnowcurrently added a commit to ericsnowcurrently/cpython that referenced this pull request May 28, 2024
@ericsnowcurrently
Revert "[3.13] pythongh-117398: Add multiphase support to _datetime (p…
e96963a
…ythongh-119373) (pythongh-119636)"

This reverts commit d58ebf0.
@ericsnowcurrently

ericsnowcurrently commented May 28, 2024

Copy link
Copy Markdown
Member

This broke a bunch of the 3.13 buildbots so I'm reverting it for now.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ericsnowcurrently

ericsnowcurrently commented May 28, 2024

Copy link
Copy Markdown
Member

For example: https://buildbot.python.org/all/#builders/1508/builds/69

test_utc_alias (test.datetimetester.TestModule_Pure.test_utc_alias) ... ok
test_utc_alias (test.datetimetester.TestModule_Fast.test_utc_alias) ... FAIL
======================================================================
FAIL: test_utc_alias (test.datetimetester.TestModule_Fast.test_utc_alias)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.13.cstratak-RHEL7-x86_64/build/Lib/test/datetimetester.py", line 98, in test_utc_alias
    self.assertIs(UTC, timezone.utc)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: datetime.timezone(datetime.timedelta(0)) is not datetime.timezone.utc
----------------------------------------------------------------------
Ran 2 tests in 0.007s
FAILED (failures=1)
test test_datetime failed
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ericsnowcurrently

ericsnowcurrently commented May 28, 2024

Copy link
Copy Markdown
Member

Hmm, looks like I forgot to backport gh-119472.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ericsnowcurrently added a commit that referenced this pull request May 28, 2024
@ericsnowcurrently
[3.13] gh-117398: Revert gh-119636, Add multiphase support to _dateti…
9216a53
…me (#119639)

Revert "[3.13] gh-117398: Add multiphase support to _datetime (gh-119373) (gh-119636)"

This reverts commit d58ebf0.
@JelleZijlstra JelleZijlstra mentioned this pull request May 28, 2024
backport a9a74da 3.13 #119642
Closed
ericsnowcurrently added a commit to ericsnowcurrently/cpython that referenced this pull request May 28, 2024
@ericsnowcurrently
Revert "[3.13] pythongh-117398: Revert pythongh-119636, Add multiphas…
c5f7264
…e support to _datetime (python#119639)"

This reverts commit 9216a53.
@ericsnowcurrently ericsnowcurrently mentioned this pull request May 28, 2024
[3.13] gh-117398: Add multiphase support to _datetime #119694
Merged
ericsnowcurrently added a commit that referenced this pull request May 29, 2024
@ericsnowcurrently
[3.13] gh-117398: Add multiphase support to _datetime (gh-119694)
af57832
This is an unrevert of d58ebf0 (gh-119636), which was reverted by 9216a53 (gh-119639) due to problems which have been resolved.

This is minimal support for multiphase init. Subinterpreters are not supported yet. That will be addressed in a later change.

(cherry picked from commit 3e8b609)

Co-authored-by: Erlend E. Aasland [email protected]
@miss-islington
miss-islington deleted the backport-3e8b609-3.13 branch January 2, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pganssle pganssle Awaiting requested review from pganssle pganssle is a code owner
@abalkin abalkin Awaiting requested review from abalkin abalkin is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@miss-islington @ericsnowcurrently @erlend-aasland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.