/opt/alt/python311/lib64/python3.11/lib2to3/__pycache__
NameSizeModeActions
btm_matcher.cpython-311.opt-1.pyc78140644editdlrm
btm_matcher.cpython-311.opt-2.pyc62640644editdlrm
btm_matcher.cpython-311.pyc78140644editdlrm
btm_utils.cpython-311.opt-1.pyc115300644editdlrm
btm_utils.cpython-311.opt-2.pyc100560644editdlrm
btm_utils.cpython-311.pyc115300644editdlrm
fixer_base.cpython-311.opt-1.pyc84310644editdlrm
fixer_base.cpython-311.opt-2.pyc57520644editdlrm
fixer_base.cpython-311.pyc84310644editdlrm
fixer_util.cpython-311.opt-1.pyc223810644editdlrm
fixer_util.cpython-311.opt-2.pyc203680644editdlrm
fixer_util.cpython-311.pyc223810644editdlrm
main.cpython-311.opt-1.pyc152200644editdlrm
main.cpython-311.opt-2.pyc134840644editdlrm
main.cpython-311.pyc152660644editdlrm
patcomp.cpython-311.opt-1.pyc102230644editdlrm
patcomp.cpython-311.opt-2.pyc97440644editdlrm
patcomp.cpython-311.pyc107250644editdlrm
pygram.cpython-311.opt-1.pyc20700644editdlrm
pygram.cpython-311.opt-2.pyc18730644editdlrm
pygram.cpython-311.pyc20700644editdlrm
pytree.cpython-311.opt-1.pyc352100644editdlrm
pytree.cpython-311.opt-2.pyc268610644editdlrm
pytree.cpython-311.pyc369930644editdlrm
refactor.cpython-311.opt-1.pyc384440644editdlrm
refactor.cpython-311.opt-2.pyc345390644editdlrm
refactor.cpython-311.pyc385260644editdlrm
__init__.cpython-311.opt-1.pyc3870644editdlrm
__init__.cpython-311.opt-2.pyc3870644editdlrm
__init__.cpython-311.pyc3870644editdlrm
__main__.cpython-311.opt-1.pyc3310644editdlrm
__main__.cpython-311.opt-2.pyc3310644editdlrm
__main__.cpython-311.pyc3310644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/lib2to3/__pycache__/main.cpython-311.opt-1.pyc (15220B)
§ é^&Íû�8Rãó�—dZddlmZmZddlZddlZddlZddlZddlZddl Z ddl m Z d„Z Gd„de j ¦«Zd „Zd d „ZdS) z Main program for 2to3. é)Úwith_statementÚprint_functionNé)Úrefactorc óˆ—| ¦«}| ¦«}tj||||ddd¬¦«S)z%Return a unified diff of two strings.z (original)z (refactored)Ú)Úlineterm)Ú splitlinesÚdifflibÚ unified_diff)ÚaÚbÚfilenames ú3/opt/alt/python311/lib64/python3.11/lib2to3/main.pyÚ diff_textsrsF€à � Š ‰Œ€AØ � Š ‰Œ€AÝ Ô   1 h°Ø ,¨nØ)+ð -ñ -ô -ð-ócó<‡—eZdZdZ dˆfd„ Zd„Zˆfd„Zd„ZˆxZS)ÚStdoutRefactoringToola2 A refactoring tool that can avoid overwriting its input files. Prints output to stdout. Output files can optionally be written to a different directory and or have an extra file suffix appended to their name for use in situations where you do not want to replace the input files. rc ó•—||_||_|r.| tj¦«s|tjz }||_||_||_tt|¦«  |||¦«dS)aF Args: fixers: A list of fixers to import. options: A dict with RefactoringTool configuration. explicit: A list of fixers to run even if they are explicit. nobackups: If true no backup '.bak' files will be created for those files that are being refactored. show_diffs: Should diffs of the refactoring be printed to stdout? input_base_dir: The base directory for all input files. This class will strip this path prefix off of filenames before substituting it with output_dir. Only meaningful if output_dir is supplied. All files processed by refactor() must start with this path. output_dir: If supplied, all converted files will be written into this directory tree instead of input_base_dir. append_suffix: If supplied, all files output by this tool will have this appended to their filename. Useful for changing .py to .py3 for example by passing append_suffix='3'. N) Ú nobackupsÚ show_diffsÚendswithÚosÚsepÚ_input_base_dirÚ _output_dirÚ_append_suffixÚsuperrÚ__init__) ÚselfÚfixersÚoptionsÚexplicitrrÚinput_base_dirÚ output_dirÚ append_suffixÚ __class__s €rrzStdoutRefactoringTool.__init__$sø€ð(#ˆŒØ$ˆŒØ ð % .×"9Ò"9½"¼&Ñ"AÔ"Að %Ø �bœfÑ $ˆNØ-ˆÔØ%ˆÔØ+ˆÔÝ Õ# TÑ*Ô*×3Ò3°F¸GÀXÑNÔNÐNÐNÐNrcól—|j |||f¦«|jj|g|¢Ri|¤ŽdS©N)ÚerrorsÚappendÚloggerÚerror)r ÚmsgÚargsÚkwargss rÚ log_errorzStdoutRefactoringTool.log_errorAsJ€Ø Œ ×Ò˜C  vÐ.Ñ/Ô/Ð/؈Œ Ô˜#Ð/ Ð/Ð/Ð/¨Ð/Ð/Ð/Ð/Ð/rcó•—|}|jrt| |j¦«r@tj |j|t |j¦«d…¦«}ntd|›d|j›�¦«‚|jr ||jz }||krktj  |¦«}tj  |¦«s|rtj |¦«|  d||¦«|j sž|dz}tj |¦«r< tj|¦«n&#t $r|  d|¦«YnwxYw tj||¦«n'#t $r|  d||¦«YnwxYwt%t&|¦«j}|||||¦«|j st+j||¦«||krt+j||¦«dSdS)Nz filename z( does not start with the input_base_dir zWriting converted %s to %s.z.bakzCan't remove backup %szCan't rename %s to %s)rÚ startswithrrÚpathÚjoinÚlenÚ ValueErrorrÚdirnameÚisdirÚmakedirsÚ log_messagerÚlexistsÚremoveÚOSErrorÚrenamerrÚ write_fileÚshutilÚcopymode) r Únew_textrÚold_textÚencodingÚ orig_filenamer%ÚbackupÚwriter's €rr@z StdoutRefactoringTool.write_fileEsdø€Ø ˆ Ø Ô ð JØ×"Ò" 4Ô#7Ñ8Ô8ð JÝœ7Ÿ<š<¨Ô(8Ø(0µ°TÔ5IÑ1JÔ1JÐ1KÐ1KÔ(LñNôN��õ!�jà)1¨¨°4Ô3GÐ3Gð"IñJôJðJð Ô ð ,Ø ˜Ô+Ñ +ˆHØ ˜HÒ $Ð $ÝœŸš¨Ñ2Ô2ˆJÝ”7—=’= Ñ,Ô,ð (°ð (Ý” ˜JÑ'Ô'Ð'Ø × Ò Ð:¸MØ%ñ 'ô 'ð 'àŒ~ð Là Ñ&ˆFÝŒw�Š˜vÑ&Ô&ð GðGÝ”I˜fÑ%Ô%Ð%Ð%øÝðGðGðGØ×$Ò$Ð%=¸vÑFÔFÐFÐFÐFðGøøøð LÝ” ˜( FÑ+Ô+Ð+Ð+øÝð Lð Lð LØ× Ò Ð!8¸(ÀFÑKÔKÐKÐKÐKð LøøøõÕ+¨TÑ2Ô2Ô=ˆØ ˆˆh˜ (¨HÑ5Ô5Ð5ØŒ~ð .Ý ŒO˜F HÑ -Ô -Ð -Ø ˜HÒ $Ð $å ŒO˜M¨8Ñ 4Ô 4Ð 4Ð 4Ð 4ð %Ð $s$Ä-EÅ E%Å$E%Å)E?Å?!F#Æ"F#cóÄ—|r| d|¦«dS| d|¦«|jr¨t|||¦«} |j�U|j5|D]}t |¦«Œt j ¦«ddd¦«n #1swxYwYdSdS|D]}t |¦«ŒdS#t$rtd|›d�¦«YdSwxYwdS)NzNo changes to %sz Refactored %szcouldn't encode z's diff for your terminal) r;rrÚ output_lockÚprintÚsysÚstdoutÚflushÚUnicodeEncodeErrorÚwarn)r ÚoldÚnewrÚequalÚ diff_linesÚlines rÚ print_outputz"StdoutRefactoringTool.print_outputls|€Ø ð Ø × Ò Ð/°Ñ :Ô :Ð :Ð :Ð :à × Ò ˜_¨hÑ 7Ô 7Ð 7ØŒð Ý'¨¨S°(Ñ;Ô;� ð ØÔ'Ð3Ø!Ô-ð/ð/Ø(2ð,ð, Ý % d¡ ¤     ÝœJ×,Ò,Ñ.Ô.Ð.ð/ð/ð/ñ/ô/ð/ð/ð/ð/ð/ð/øøøð/ð/ð/ð/ð/ð/ð/ð/ð %/ð(ð(˜DÝ! $™KœK˜K˜Kð(ð(øå)ðððÝ�DØ"˜(˜(ð%ñ&ô&ð&à�F�Fðøøøð ð s<Á B<Á3B B<ÂBÂB<ÂBÂB<Â&B<Â<CÃC)rrr) Ú__name__Ú __module__Ú __qualname__Ú__doc__rr1r@rVÚ __classcell__)r's@rrrsŒø€€€€€ðððBDðOðOðOðOðOðOð:0ð0ð0ð%5ð%5ð%5ð%5ð%5ðNððððððrrcóB—td|›�tj¬¦«dS)Nz WARNING: ©Úfile)rKrLÚstderr)r.s rrPrP�s$€Ý €E˜3˜3Ð ¥s¤zÐ2Ñ2Ô2Ð2Ð2Ð2rc ó’ ‡—tjd¬¦«}| dddd¬¦«| dd d gd ¬ ¦«| d ddddd¬¦«| ddd gd¬ ¦«| dddd¬¦«| dddd¬¦«| dddd¬¦«| d d!dd"¬¦«| d#dd$¬¦«| d%d&dd'¬¦«| d(d)dd*d+¬ ¦«| d,d-dd.d/d0¬1¦«| d2d3dd4¬¦«| d5dd.d/d6¬1¦«d*}i}| |¦«\}}|jr"d7|d8<|jst d9¦«d7|_|jr|js|  d:¦«|j r|js|  d;¦«|js|j rt d<¦«|js|jr|  d=¦«|j r9td>¦«tj‰¦«D]}t|¦«Œ|sd?S|s8td@t j¬A¦«tdBt j¬A¦«dCSdD|vr&d7}|jrtdEt j¬A¦«dCS|jrd7|dF<|jrd7|dG<|jr t*jn t*j}t+jdH|¬I¦«t+jdJ¦«}t5tj‰¦«¦«} t5ˆfdK„|jD¦«¦«} t5¦«} |jrJd*} |jD]&} | dLkrd7} Œ |  ‰dMz| z¦«Œ'| r|  | ¦«n| }n|  | ¦«}|  | ¦«}tBj" #|¦«}|r]| $tBj%¦«s>tBj" &|¦«stBj" '|¦«}|jr;| (tBj%¦«}| )dN|j|¦«tUtW|¦«|tW| ¦«|j|j ||j|j ¬O¦«}|j,s…|r| -¦«nZ | ||j|j.|j/¦«n1#tj0$rtdPt j¬A¦«YdSwxYw| 1¦«tetg|j,¦«¦«S)QzþMain program. Args: fixer_pkg: the name of a package where the fixers are located. args: optional; a list of command line arguments. If omitted, sys.argv[1:] is used. Returns a suggested exit status (0, 1, 2). z2to3 [options] file|dir ...)Úusagez-dz--doctests_onlyÚ store_truezFix up doctests only)ÚactionÚhelpz-fz--fixr+z1Each FIX specifies a transformation; default: all)rcÚdefaultrdz-jz --processesÚstorerÚintzRun 2to3 concurrently)rcreÚtyperdz-xz--nofixz'Prevent a transformation from being runz-lz --list-fixeszList available transformationsz-pz--print-functionz0Modify the grammar so that print() is a functionz-ez--exec-functionz/Modify the grammar so that exec() is a functionz-vz --verbosezMore verbose loggingz --no-diffsz#Don't show diffs of the refactoringz-wz--writezWrite back modified filesz-nz --nobackupsFz&Don't write backups for modified filesz-oz --output-dirÚstrrzXPut output files in this directory instead of overwriting the input files. Requires -n.)rcrhrerdz-Wz--write-unchanged-fileszYAlso write files even if no changes were required (useful with --output-dir); implies -w.z --add-suffixzuAppend this string to all output filenames. Requires -n if non-empty. ex: --add-suffix='3' will generate .py3 files.TÚwrite_unchanged_filesz&--write-unchanged-files/-W implies -w.z%Can't use --output-dir/-o without -n.z"Can't use --add-suffix without -n.z@not writing files and not printing diffs; that's not very usefulzCan't use -n without -wz2Available transformations for the -f/--fix option:rz1At least one file or directory argument required.r]zUse --help to show usage.éú-zCan't write to stdin.rÚ exec_functionz%(name)s: %(message)s)ÚformatÚlevelz lib2to3.mainc3ó(•K—|] }‰dz|zV—Œ dS)ú.fix_N©)Ú.0ÚfixÚ fixer_pkgs €rú zmain..âs-øèè€ÐLÐL°s˜ WÑ,¨sÑ2ÐLÐLÐLÐLÐLÐLrÚallrqz7Output in %r will mirror the input directory %r layout.)r$r%r&z+Sorry, -j isn't supported on this platform.)4ÚoptparseÚ OptionParserÚ add_optionÚ parse_argsrjrHrPr%rr-Ú add_suffixÚno_diffsÚ list_fixesrKrÚget_all_fix_namesrLr_rrmÚverboseÚloggingÚDEBUGÚINFOÚ basicConfigÚ getLoggerÚsetÚget_fixers_from_packageÚnofixrtÚaddÚunionÚ differencerr4Ú commonprefixrrr9r8ÚrstripÚinforÚsortedr*Úrefactor_stdinÚ doctests_onlyÚ processesÚMultiprocessingUnsupportedÚ summarizergÚbool)rur/Úparserr�Úflagsr"Úfixnameror,Ú avail_fixesÚunwanted_fixesr#Ú all_presentrtÚ requestedÚ fixer_namesr$Úrts` rÚmainrŸ…s ø€õÔ "Ð)FÐ GÑ GÔ G€FØ ×Ò�dÐ-°lØ1ðñ3ô3ð3à ×Ò�d˜G¨H¸bØNðñPôPðPà ×Ò�d˜M°'À1Ø Ð'>ðñ@ô@ð@à ×Ò�d˜I¨hÀØDðñFôFðFà ×Ò�d˜N°<Ø;ðñ=ô=ð=à ×Ò�dÐ.°|ØMðñOôOðOà ×Ò�dÐ-°lØLðñNôNðNà ×Ò�d˜K° Ø1ðñ3ô3ð3à ×Ò�l¨<Ø@ðñBôBðBà ×Ò�d˜I¨lØ6ðñ8ô8ð8à ×Ò�d˜M°,ÈØCðñEôEðEà ×Ò�d˜N°7ÀØ ð(NðñOôOðOð ×Ò�dÐ5¸lðAðñBôBðBð ×Ò�n¨W¸5È"ðGðñHôHðHð €NØ €EØ×%Ò% dÑ+Ô+�M€GˆTØÔ$ðØ)-ˆÐ%Ñ&ØŒ}ð ;Ý Ð9Ñ :Ô :Ð :؈Œ ðÔð> 'Ô"3ð>Ø� Š Ð<Ñ=Ô=Ð=ØÔð; 'Ô"3ð;Ø� Š Ð9Ñ:Ô:Ð:à Œ=ðQ˜WÔ-ðQÝ Ð OÑPÔPÐPØ Œ=ð0˜WÔ.ð0Ø� Š Ð.Ñ/Ô/Ð/ØÔðÝ ÐBÑCÔCÐCÝÔ1°)Ñ<Ô<ð ð ˆGÝ �'‰NŒNˆNˆNØð Ø�1Ø ðÝ ÐAÍÌ ÐSÑSÔSÐSÝ Ð)µ´ Ð;Ñ;Ô;Ð;؈qØ ˆd€{€{ØˆØ Œ=ð Ý Ð)µ´ Ð ;Ñ ;Ô ;Ð ;Ø�1ØÔð'Ø"&ˆÐÑàÔð&Ø!%ˆˆoÑð%œ_Ð >�GŒMˆMµ'´,€EÝ ÔÐ6¸eÐDÑDÔDÐDÝ Ô ˜~Ñ .Ô .€Fõ•hÔ6°yÑAÔAÑBÔB€KÝÐLÐLÐLÐL¸g¼mÐLÑLÔLÑLÔL€N݉uŒu€HØ„{ð 0؈ Ø”;ð 8ð 8ˆCØ�eŠ|ˆ|Ø"� � à— ’ ˜Y¨Ñ0°3Ñ6Ñ7Ô7Ð7Ð7Ø3>ÐL�K×%Ò% hÑ/Ô/Ð/ÀHˆ ˆ à×%Ò% hÑ/Ô/ˆ Ø×&Ò& ~Ñ6Ô6€KÝ”W×)Ò)¨$Ñ/Ô/€NØð9˜~×6Ò6µr´vÑ>Ô>ð9Ý”— ’ ˜nÑ-Ô-ð9õ œŸš¨Ñ8Ô8ˆØÔð8Ø'×.Ò.­r¬vÑ6Ô6ˆØ� Š ÐMØÔ&¨ñ 8ô 8ð 8å Ý �;Ñ Ô  ­¨xÑ(8Ô(8Ø Ô  7Ô#3Ð3Ø)ØÔ)Ø!Ô,ð  .ñ .ô .€Bð Œ9ð Ø ð Ø × Ò Ñ Ô Ð Ð ð Ø— ’ ˜D '¤-°Ô1FØ#Ô-ñ/ô/ð/ð/øåÔ6ð ð ð åÐCÝœ:ð'ñ'ô'ð'à�q�qð  øøøð � Š ‰Œˆõ �t�B”I‰ŒÑ Ô ÐsÔ;'U#Õ#*VÖVr))rZÚ __future__rrrLrr r�rArxrrrÚMultiprocessRefactoringToolrrPrŸrrrrúr¢séðððð6Ð5Ð5Ð5Ð5Ð5Ð5Ð5à € € € Ø € € € Ø€€€Ø€€€Ø € € € Ø€€€àÐÐÐÐÐð-ð-ð-ðeðeðeðeðe˜HÔ@ñeôeðeðN3ð3ð3ðL ðL ðL ðL ðL ðL r