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

Fix some print statements and update OpenPMIx header parsing #433

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

rhc54
Copy link
Member

@rhc54 rhc54 commented Jan 24, 2023

We are using Python3, but the print statements are a mix of
Python2 and 3 formats - so let's get everything into Python3.

The OpenPMIx header includes some functions that return
types (e.g., pmix_byte_object_t*) - the current parsing logic
ignores those entries, so let's update to include them.
This includes the following formats:

const <type>* <fn>
<type>* <fn>
<type>** <fn>
<type> *<fn>
<type> **<fn>

This picked up a number of previously overlooked exceptions.
Signed-off-by: Ralph Castain [email protected]

@rhc54
Copy link
Member Author

rhc54 commented Jan 24, 2023

@jjhursey Sorry, I cannot get the signed-off-by checker to report its status. Tried to redeliver it multiple times.

Copy link
Member

@jjhursey jjhursey left a comment

Choose a reason for hiding this comment

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

Other than the two continue changes I think this is fine

bin/check-openpmix.py Outdated Show resolved Hide resolved
bin/check-openpmix.py Outdated Show resolved Hide resolved
We are using Python3, but the print statements are a mix of
Python2 and 3 formats - so let's get everything into Python3.

The OpenPMIx header includes some functions that return
types (e.g., pmix_byte_object_t*) - the current parsing logic
ignores those entries, so let's update to include them.
This includes the following formats:

const <type>* <fn>
<type>* <fn>
<type>** <fn>
<type> *<fn>
<type> **<fn>

This picked up a number of previously overlooked exceptions.

Signed-off-by: Ralph Castain <[email protected]>
@rhc54
Copy link
Member Author

rhc54 commented Jan 24, 2023

Updated per comments

@jjhursey jjhursey merged commit 7895684 into pmix:master Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants