pylint #34635 Locally pretend that a member exists [open]

Sometimes I run into the following problem: An abstract base class needs to access a member that the subclasses must define, or I have to access a member that doesn't exist in all cases. In these cases, Pylint issues many E1101 errors, which I can suppress locally with a # pylint: disable comment or globally with --generated-members. However, I think both methods are too crude in such cases: The first could generate false negatives for simple types, while the other cannot be applied locally. So it might be desirable to add a combination of these two methods, to be precise, a control comment that allows the user to pretend that a specific member name exists inside some lexical scope.

done in<not specified>
closed by<not specified>