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

symmetric difference not accepted in normal mode #109

Open
fbouchet opened this issue Dec 9, 2019 · 1 comment
Open

symmetric difference not accepted in normal mode #109

fbouchet opened this issue Dec 9, 2019 · 1 comment

Comments

@fbouchet
Copy link

fbouchet commented Dec 9, 2019

Although accepted in Python101 (according to the reference sheet), the symmetric difference (^) currently raises a warning in normal mode.
For instance, the MWE below:

def sym_diff(e1,e2):
    """set[alpha]**2 -> set[alpha]"""
    return e1^e2

raises the following error:
==> Non-Python101: cette construction n'est pas disponible en Python101 (vous pouvez essayer le mode expert pour faire du Python standard)
BinOp(left=Name(id='e1', ctx=Load()), op=BitXor(), right=Name(id='e2', ctx=Load()))

@fredokun
Copy link
Collaborator

Well, need to take action here... Maybe remove from the reference sheet by lack of practical use in the course ? Or otherwise support it ...

@fredokun fredokun added the todo (pstl) special label for student projects label Feb 5, 2021
@fredokun fredokun removed the todo (pstl) special label for student projects label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants