Skip to content
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

Use const char* for JSON key name #60721

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Jan 16, 2025

These are not intended to be mutable - adding the const qualifiers helps with that

@@ -41,6 +41,7 @@ def test_read_zipped_json(datapath):

@td.skip_if_not_us_locale
@pytest.mark.single_cpu
@pytest.mark.network
Copy link
Member Author

Choose a reason for hiding this comment

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

These test markers are extra, but I noticed locally that these would hang (they all make s3 calls)

@mroeschke mroeschke added Internals Related to non-user accessible pandas implementation IO JSON read_json, to_json, json_normalize labels Jan 16, 2025
@mroeschke mroeschke added this to the 3.0 milestone Jan 16, 2025
@mroeschke mroeschke merged commit fb6c4e3 into pandas-dev:main Jan 16, 2025
55 of 56 checks passed
@mroeschke
Copy link
Member

Thanks @WillAyd

@WillAyd WillAyd deleted the const-cstr branch January 16, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation IO JSON read_json, to_json, json_normalize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants