pylint #74087 TypeError: '_Yes' object does not support indexing [validation pending]

Pylint fails on a simple code that imports pyasn1:

$ cat

from pyasn1.codec.der import decoder
$ pylint pylinttest
************* Module pylinttest
C:  1,0: Missing docstring
Traceback (most recent call last):
  File "/usr/bin/pylint", line 4, in <module>
  File "/usr/share/python2.7/site-packages/pylint/", line 863, in __init__
  File "/usr/share/python2.7/site-packages/pylint/", line 496, in check
  File "/usr/share/python2.7/site-packages/pylint/", line 568, in check_astng_module
  File "/usr/share/python2.7/site-packages/pylint/", line 528, in walk
  File "/usr/share/python2.7/site-packages/pylint/", line 525, in walk
  File "/usr/share/python2.7/site-packages/pylint/checkers/", line 465, in visit_from
  File "/usr/share/python2.7/site-packages/pylint/checkers/", line 485, in _check_module_attrs
TypeError: '_Yes' object does not support indexing
appeared in<not specified>
done in0.25.0
load left0.000
closed by#a51589d31587 closes #74087: handle case where inference of a module return YES