Skip to content

Conversation

TheAnyKey
Copy link
Contributor

This PR implements the dict union as defined in PEP 854 in RustPython and tests it. Compability tests with Cpython are skipped when tested with Python 3.8 or below (due to abvious reason - Githib doesnt support python 3.9 so far, changing ci configuration failed).

Now it is possible to write things like:

        a = {1:2, 2:3}
        b = {3:4, 5:6}
        c=a|b
        a|=b

Copy link
Contributor

@palaviv palaviv left a comment

Choose a reason for hiding this comment

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

Very nice work!!!. Thank you for the contribution.

@palaviv palaviv merged commit ebf6b51 into RustPython:master May 9, 2020
@TheAnyKey TheAnyKey deleted the TheAnyKey/p39_dict_union_pr branch May 10, 2020 15:14
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.

2 participants