pylint-bot / test

0 stars 0 forks source link

Binary operations between classes with unknown bases should yield YES, not an error #140

Open pylint-bot opened 9 years ago

pylint-bot commented 9 years ago

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)


In the following case, since we don't fully understand the Base object, we should emit an YES object, not a BinaryOperationError.

#!python

from unknown import Unknown
class Base(Unknown):
    pass
Base() * 23