6pSĪ v d Z ddlmZ ddlZddlZddlZddlZddlmZm Z ddl
mZ ddlm
Z
ddlmZ ddlmZmZmZmZmZmZ dd lmZmZ dd
lmZmZmZ ddlmZ erddlm Z n ej! d
Z dZ"dZ#dZ$d7dZ%d8dZ& G d dej' Z(d9d"Z) d:d;d(Z*dd?d1Z-d>d@d2Z. dAdBd6Z/dS )CzThe AstroidBuilder makes astroid from living object and / or from _ast.
The builder is not thread safe and can't be used to parse different sources
at the same time.
)annotationsN)IteratorSequence)
TextIOWrapper)detect_encoding)
TYPE_CHECKING)basesmodutilsnodesraw_building rebuilderutil)ParserModuleget_parser_module)AstroidBuildingErrorAstroidSyntaxErrorInferenceError)AstroidManager)objectsr __z#@zmisplaced type annotationfilenamestrreturntuple[TextIOWrapper, str, str]c t | d 5 }t |j d }d d d n# 1 swxY w Y t | d | }| }|||fS )Nrbr )newlineencoding)openr readlineread)r byte_streamr streamdatas a/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/astroid/builder.pyopen_source_filer&