potassco / potassco/constraint-handler

hasValue should be operator not conditional_operator

Open
#65 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.