CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)

Member predicate BuiltinOpaqueObjectInternal::useOriginAsLegacyObject

Holds if this ‘object’ represents an entity that should be exposed to the legacy points_to API This should hold for almost all objects that do not have an underlying DB object representing their source, for example super objects and bound-method. This should not hold for objects that are inferred to exists by an import statements or the like, but which aren’t in the database.

predicate useOriginAsLegacyObject()