-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-131725: Generate GNU hash table in msgfmt.py
#131727
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
base: main
Are you sure you want to change the base?
Conversation
@serhiy-storchaka any thoughts? Anything else you would like to see? |
# Conflicts: # Lib/test/test_tools/msgfmt_data/general.mo # Lib/test/test_tools/test_msgfmt.py
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
cc @terryjreedy unrelated odd test_idle fails |
!buildbot s390x |
You don't have write permissions to trigger a build |
Can a core dev please call them, we should test the tests on a big endian system. |
header = struct.unpack("=7I", mo_data[:28]) | ||
hash_table_size, hash_table_offset = header[5:7] | ||
|
||
hash_tab = struct.unpack(f"={hash_table_size}I", | ||
mo_data[hash_table_offset : hash_table_offset + (hash_table_size * 4)]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could just hardcode these sizes since we test them below. Is that preferred?
Test_idle failure did not repeat. Next time, copy specific OS and specific failure if you can find it, into your message. |
# Conflicts: # Lib/test/test_tools/msgfmt_data/general.mo
@serhiy-storchaka friendly ping:-) |
Little ping @tomasr8 / @serhiy-storchaka |
Uh oh!
There was an error while loading. Please reload this page.