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

nvlist: mixing Python boolean values and boolean_t in the same array is not supported #4

Open
avg-I opened this issue Aug 6, 2015 · 1 comment

Comments

@avg-I
Copy link
Contributor

avg-I commented Aug 6, 2015

The following code would raise an exception:

props = {"key": [boolean_t(False), True]}
nv_in = nvlist_in(props)
@avg-I
Copy link
Contributor Author

avg-I commented Aug 6, 2015

Actually the same problem applies to integer C types and Python types that should be compatible.
E.g., the following fails:

props = {"key": [1, uint64_t(1)]}
nv_in = nvlist_in(props)

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

No branches or pull requests

1 participant