Change request #567
Check isin() semantics.
Status: | Closed | Start date: | 10/15/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assigned To: | Knödlseder Jürgen | % Done: | 100% | |
Category: | - | |||
Target version: | 00-08-00 | |||
Duration: |
Description
The actual interface uses A.isin(B)
for a class to check whether B
is in A
. This is semantically incorrect. One should better use A.contains(B)
to do the check.
The interface should be scanned for such semantic errors and be corrected accordingly.
Recurrence
No recurrence.
History
#1 Updated by Knödlseder Jürgen about 12 years ago
- Tracker changed from Bug to Change request
#2 Updated by Knödlseder Jürgen about 11 years ago
- Status changed from New to Closed
- Assigned To set to Knödlseder Jürgen
- Target version set to 00-08-00
- % Done changed from 0 to 100
No isin()
method exists anymore.