관리-도구
편집 파일: fix_imports2.cpython-311.pyc
� �܋f�! � �� � d Z ddlmZ ddlmZmZmZmZmZ ddl m Z dZdddd d ddd dedz dedz edz ddd�Zddddddddd�Z dZdZd Zd!Zd"Zd#Zd$Zd%Zd&Zd'Zd(� Zd)� Z G d*� d+ej � � Zd,S )-z Fixer for complicated imports � )� fixer_base)�Name�String� FromImport�Newline�Comma��touch_import_top)T�ACTIVE�ALL�ANCHOR�ARC�BASELINE�BEVEL�BOTH�BOTTOM�BROWSE�BUTT�CASCADE�CENTER�CHAR�CHECKBUTTON�CHORD�COMMAND�CURRENT�DISABLED�DOTBOX�E�END�EW� EXCEPTION�EXTENDED�FALSE�FIRST�FLAT�GROOVE�HIDDEN� HORIZONTAL�INSERT�INSIDE�LAST�LEFT�MITER�MOVETO�MULTIPLE�N�NE�NO�NONE�NORMAL�NS�NSEW�NUMERIC�NW�OFF�ON�OUTSIDE�PAGES�PIESLICE� PROJECTING�RADIOBUTTON�RAISED�READABLE�RIDGE�RIGHT�ROUND�S�SCROLL�SE�SEL� SEL_FIRST�SEL_LAST� SEPARATOR�SINGLE�SOLID�SUNKEN�SW�StringTypes�TOP�TRUE� TclVersion� TkVersion� UNDERLINE�UNITS�VERTICAL�W�WORD�WRITABLE�X�Y�YES�wantobjects)"�AbstractBasicAuthHandler�AbstractDigestAuthHandler�AbstractHTTPHandler�BaseHandler�CacheFTPHandler� FTPHandler�FileHandler�HTTPBasicAuthHandler�HTTPCookieProcessor�HTTPDefaultErrorHandler�HTTPDigestAuthHandler� HTTPError�HTTPErrorProcessor�HTTPHandler�HTTPPasswordMgr�HTTPPasswordMgrWithDefaultRealm�HTTPRedirectHandler�HTTPSHandler�OpenerDirector�ProxyBasicAuthHandler�ProxyDigestAuthHandler�ProxyHandler�Request�StringIO�URLError�UnknownHandler� addinfourl�build_opener�install_opener�parse_http_list�parse_keqv_list�randombytes�request_host�urlopen)�ContentTooShortError�FancyURLopener� URLopener�basejoin� ftperrors� getproxies�getproxies_environment� localhost�pathname2url�quote� quote_plus� splitattr� splithost� splitnport�splitpasswd� splitport� splitquery�splittag� splittype� splituser� splitvalue�thishost�unquote�unquote_plus�unwrap�url2pathname� urlcleanup� urlencoder� �urlretrieve)�parse_qs� parse_qsl� urldefrag�urljoin�urlparse�urlsplit� urlunparse� urlunsplit)�ndbm�gnu�dumb)�error�open)�whichdb)�BaseHTTPRequestHandler� HTTPServer)�CGIHTTPRequestHandler)�SimpleHTTPRequestHandler)� FileDialog�LoadFileDialog�SaveFileDialog�dialogstates�test)� Directory�Open�SaveAs�_Dialog�askdirectory�askopenfile�askopenfilename�askopenfilenames�askopenfiles� asksaveasfile�asksaveasfilename)�SimpleDialog)�askfloat� askinteger� askstring�Dialog)�CGIXMLRPCRequestHandler�SimpleXMLRPCDispatcher�SimpleXMLRPCRequestHandler�SimpleXMLRPCServer�list_public_methods�remove_duplicates�resolve_dotted_attribute)�DocCGIXMLRPCRequestHandler�DocXMLRPCRequestHandler�DocXMLRPCServer� ServerHTMLDoc�XMLRPCDocGenerator)�urllib2�urllibr� �dbm�anydbmr� �BaseHTTPServer� CGIHTTPServer�SimpleHTTPServerr� �tkFileDialogr� �tkSimpleDialogr� r� )r� r� )r� r� r� )r� r� )r� r� r� )r� r� )r� r� )r� r� )zurllib.requestzurllib.errorzurllib.parsezdbm.__init__zhttp.serverztkinter.filedialogztkinter.simpledialogz xmlrpc.serverz name='%s'z attr='%s'z using='%s'z$dotted_name=dotted_name< %s '.' %s >z?pow=power< %s trailer< '.' %s > trailer< '.' using=any > any* >z-pow=power< %s trailer< '.' using=any > any* >z�from_import=import_from< 'from' %s 'import' (import_as_name< using=any 'as' renamed=any> | in_list=import_as_names< using=any* > | using='*' | using=NAME) >zSname_import=import_name< 'import' (%s | in_list=dotted_as_names< imp_list=any* >) >z8name_import_rename=dotted_as_name< %s 'as' renamed=any >z�from_import_rename=import_from< 'from' %s 'import' (%s | import_as_name< %s 'as' renamed=any > | in_list=import_as_names< any* (%s | import_as_name< %s 'as' renamed=any >) any* >) >c � � d� t D � � } dd� d� | D � � � � z }|dz }|d� d� | D � � � � dz z }|S )zI Builds a pattern for all toplevel names (urllib, http, etc) c �8 � g | ]}|� d � � ��S )�.)�split��.0�mods �q/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_imports2.py� <listcomp>z*all_modules_subpattern.<locals>.<listcomp>� s"