Skip to content

Conversation

Osyotr
Copy link

@Osyotr Osyotr commented Aug 23, 2024

The example of such platform is QNX, where time_t is _Uint32_t.

@ghost
Copy link

ghost commented Aug 23, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Aug 23, 2024

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

julyzone_t = -get_gmtoff(t, &p);
julyname[9] = '\0';

int janzone = (int)janzone_t;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a comment explaining this cast: mention unsigned time_t, maybe QNX, and the issue number.

I would feel more comfortable with int64_t type instead of int.

@StanFromIreland StanFromIreland added the pending The issue will be closed if no feedback is provided label Aug 29, 2025
@StanFromIreland
Copy link
Member

Please create an issue for this.

@vstinner
Copy link
Member

vstinner commented Sep 1, 2025

@Osyotr didn't address my review for one year, I consider the PR as inactive and close it.

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

Labels

awaiting review OS-unsupported pending The issue will be closed if no feedback is provided

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants