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

DM-9873: Add nullptr_t to PropertySet/PropertyList #48

Merged
merged 4 commits into from Apr 3, 2019
Merged

Conversation

timj
Copy link
Member

@timj timj commented Apr 2, 2019

This allows None to be assigned to an entry in a PropertySet.

Without this, pex exceptions raised inside the C++ layer
do not reliably get converted to the correct Python exception
type.
@timj timj force-pushed the tickets/DM-9873 branch 2 times, most recently from 8c94377 to 3e0eaa2 Compare April 2, 2019 20:38
timj added 2 commits April 2, 2019 13:47
This does seems to work, which would help more people use
safe_load.
This should be undetectable to callers but should now benefit
from the guaranteed order for Python dict insertion as of
Python 3.6 and benefit from the dict speed ups in recent
Python versions.
Copy link
Member

@TallJimbo TallJimbo left a comment

Choose a reason for hiding this comment

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

Looks good; no comments.

@timj timj merged commit 3bdf598 into master Apr 3, 2019
@timj timj deleted the tickets/DM-9873 branch April 3, 2019 21:25
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.

None yet

2 participants