Skip to content

INTPYTHON-389 - Avoid Type Mismatch Conversion to NaN #316

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

Merged
merged 9 commits into from
May 23, 2025

Conversation

NoahStapp
Copy link
Collaborator

@NoahStapp NoahStapp commented May 22, 2025

No description provided.

@NoahStapp NoahStapp requested a review from a team as a code owner May 22, 2025 13:01
@NoahStapp NoahStapp requested a review from blink1073 May 22, 2025 13:01
@NoahStapp NoahStapp requested a review from blink1073 May 22, 2025 16:30
@blink1073
Copy link
Member

It's failing to compile now

@NoahStapp
Copy link
Collaborator Author

It's failing to compile now

Yup, caused by our arrow date types being uint8_t and not bson_type_t. Investigating a fix.

@blink1073
Copy link
Member

We can safely cast it to uint8_t, here's an example from the c driver: static const uint8_t type = BSON_TYPE_TIMESTAMP;

@NoahStapp NoahStapp requested a review from ShaneHarvey May 22, 2025 18:36
@ShaneHarvey ShaneHarvey removed their request for review May 22, 2025 19:48
@ShaneHarvey
Copy link
Collaborator

ShaneHarvey commented May 22, 2025

I'll defer to Steve's review.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM!

@NoahStapp NoahStapp merged commit f02e982 into mongodb-labs:main May 23, 2025
47 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants