python (3.12.0)

(root)/
lib/
python3.12/
test/
libregrtest/
__pycache__/
utils.cpython-312.opt-2.pyc

ϑeddlZddlZddlZddlZddlZddlmZdZde	e
fdZdZddZ
dZdad	Zd
ZdadZdZd
ZdZy)N)supportctj|dz}t|d\}}t|d\}}t|d\}}g}|r|jd|z|r|jd|z|r1|r|jd|zn|jd||dzzz|sd|zS|dd	}d
j	|S)Ng@@i<z%s hourz%s minz%s secz%.1f secz%s ms )mathceildivmodappendjoin)secondsmsminuteshourspartss     J/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/libregrtest/utils.pyformat_durationr	s	
7S=	!BT"KGRgr*GWGR(NE7E
Y&'
X'(LLG+,
LLwd':;<|"1IE88E?namesc|syt|D]2\}}tjj|\}}|dk(s.|||<4y)Nz.py)	enumerateospathsplitext)ridxnamebasenameexts     rstrip_py_suffixr"sHu%"	T((.
#%<!E#J"rc(|dk(rd||fzSd||fzS)Nz%d %sz%d %ss)nwords  rcountr%+s'Av!T""1d)##rc
	d|z}ttjdjdt	|D||||y)Nrc32K|]}t|ywN)str).0elts  r	<genexpr>zprintlist.<locals>.<genexpr><s ?cS ?s)initial_indentsubsequent_indent)file)printtextwrapfillrsorted)xwidthindentr/blankss     r	printlistr82sE6\F	(-- ?VAY ??'-Irc.tj|yr()r
print_warning)msgs rr:r:As#rc\dt_tjdtj}	tj
tjjt_t|tjj|t_y#|t_wxYw)NTzUnraisable exception)	renvironment_alteredr:sysstderrflush_std_streamsorig_stderrorig_unraisablehookflush)
unraisable
old_stderrs  rregrtest_unraisable_hookrFHsm"&G01J !!#**66
J'


Z
sA B
B+cBtjatt_yr()r>unraisablehookrBrFr"rrsetup_unraisable_hookrIVs,,1Crcdt_tjd|jjt
j}	tjtjjt
_t|t
jj|t
_y#|t
_wxYw)NTzUncaught thread exception: )rr=r:exc_type__name__r>r?r@rAorig_threading_excepthookrC)argsrEs  rregrtest_threading_excepthookrO_s"&G7

8N8N7OPQJ !!#**66
!$'


Z
s
	A B55
Cc:ddl}|jat|_y)Nr)	threading
excepthookrMrO)rQs rsetup_threading_excepthookrSms ) 4 48IrctjjD]}t|ds|`tj
tjtjtjfD]}||j	tjd}|j	tjd}|jj	tjd}|j	tjd}|j	tjd}|j!	tjd}|j#	tjd}|j$j	tjd	}	|	j'	tjd
}
d|
_	tjd}|j+	tjd}|j,D]	}
|
		tjd
}|j.j1	tjd}|j2j1y#t$rYwxYw#t$rYwxYw#t$rYwxYw#t$rYwxYw#t$rYwxYw#t$rYwwxYw#t$rYYwxYw#t$rYEwxYw#t$rY:wxYw#t$rY&wxYw#t$rY	wxYw#t$rYwxYw#t$rYywxYw)N__warningregistry__re	_strptimezurllib.parsezurllib.request	linecache	mimetypesfilecmpstructdoctestctypestyping	fractionsinspect)r>modulesvalueshasattrrUstdoutr?
__stdout__
__stderr__rCpurgeKeyError_regex_cacheclearclear_cache
urlcleanup
clearcache_default_mime_types_cache_clearcachemaster_reset_cache	_cleanups_hash_algorithmcache_clear_shadowed_dict_from_mro_tuple)modstreamrVrWurllib_parseurllib_requestrXrYrZr[r\r]r^fr_r`s                rclear_cachesr|ts+{{!!#(3-.'(::szz3>>3>>JLLN
[[
	
'KK,		$$&#{{>2	  "$%56	!!#KK,		(KK,		%%'++i(	X&	++i(X&	X&!!	A
C	0KK,		!!--/<++i(	--99;q

























s
J.JJ&J6$KK,K&K6>LL=L&*L6M	JJ	J#"J#&	J32J36	KK	KK	K#"K#&	K32K36	LL	LL	L#"L#&	L32L36	MM	MMc	tjdxsd}tjdxsd}tjdxsd	tjdxsd}g}ttdr*|j	dd|	zvrQ|j	d	n?|j	d
d|vr|j	dnd|	zvr|j	dtjd
}|r|j	d|ttjdxsd}|r|j	dg}d|vr|j	dnd|vr|j	dd}t
	fd|Dr|j	d|r |j	dj|g}tjdr|j	dtjdr|j	dtjdr|j	d |r |j	dj|ttd!r|j	d"ttd#r|j	d$tjd%r|j	d&tjd'r|j	d(|S))NCONFIG_ARGS	PY_CFLAGSPY_CFLAGS_NODISTPY_LDFLAGS_NODISTgettotalrefcountdebugz-DNDEBUGwithout_assertreleasez--with-assertionswith_assertPYTHONFRAMEWORKz
framework=PY_ENABLE_SHARED0sharedz
-flto=thinThinLTOz-fltoLTO)z
-fprofile-usez-fprofile-instr-usez	-prof-usec3&K|]}|v
ywr(r")r*option
cflags_nodists  rr,z!get_build_info.<locals>.<genexpr>s
=v6]"
=sPGO+T)addressASAN)memoryMSAN)ubUBSAN
getobjects	TraceRefs	_stats_onpystats
WITH_VALGRINDvalgrindWITH_DTRACEdtrace)
	sysconfigget_config_varrcr>rintanyrrcheck_sanitizer)
config_argscflagsldflags_nodistbuild	frameworkr
optimizationspgo_options
sanitizersrs
         @rget_build_inforsi**=9?RK

%
%k
2
8bF,,-?@FBM--.ABHbNEs&'
W&=01LL)*
Y+-LL'
 6
7LL'(():;I
z)-.))*<=D
EF

XM~%Y'	N	"U#K
=
==U#
SXXm,-Jt,&!d+&!$''"
SXXj)*sL!
[!sK 
Y0
Z 
.
XLr)FN)ros.pathrr>rr1testrrlistr)rr%r8r:rBrFrIrMrOrSr|rr"rr<module>rsl
2"49"$ 2! 9f<RQr