potassco / potassco/constraint-handler
hasValue should be operator not conditional_operator
Open
@AbdallahS is already working on this.
Since Nov 20, 2025.
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 20
Description
I think that hasValue (if this is really the "x is not None" test) should be an operator, not a conditional_operator.
E.g.
if x is not None and x is False:
y = 5
is not representable if its a conditional_operator.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.