python (3.12.0)

(root)/
lib/
python3.12/
__pycache__/
_threading_local.cpython-312.opt-2.pyc

ˑe4l	ddlmZddlmZdgZGddZedZGddZddlm	Z	m
Z
y	)
)ref)contextmanagerlocalc$eZdZ	dZdZdZdZy)
_localimpl)keydicts	localargs	locallock__weakref__cJdtt|z|_i|_y)Nz_threading_local._localimpl.)stridrr	)selfs D/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/_threading_local.py__init__z_localimpl.__init__s2C4MA
cN	t}|jt|dS)N)current_threadr	r)rthreads  rget_dictz_localimpl.get_dicts'	!zz"V*%a((rc	i}|j}t}t|}|ffd	}|ffd	}t||t|||j|<|f|j
|<|S)Nc4}||j|=yyN)__dict__)_rrwrthreads   r
local_deletedz-_localimpl.create_dict.<locals>.local_deleteds!ZF!OOC("rcP}||jj|}yyr)r	pop)ridtrdctwrlocals    rthread_deletedz._localimpl.create_dict.<locals>.thread_deleteds)
IE kkooc*!r)rrrrrr	)	r	localdictrrr"rr%r$rs	       @@rcreate_dictz_localimpl.create_dictswF	hh!j!$	)
#&	+dM*v~.&"I-

3rN)__name__
__module____qualname__	__slots__rrr'rrrrs-GI)rrc#RKtj|d}	|j}|j5tj|d|ddddy#t$r4|j	}|j
\}}|j|i|YmwxYw#1swYyxYww)N_local__implr)	object__getattribute__rKeyErrorr'r
rr__setattr__)rimplr#argskws     r_patchr6s""48D#mmo

4S1
	# >>b

t"r"#s>B'AB'B	B':BB'BB'B$ B'c(eZdZdZdZdZdZdZy)r)r.rc|s|r'|jtjurtdtj|}t	}||f|_t
|_tj|d||j|S)Nz*Initialization arguments are not supportedr.)
rr/	TypeError__new__rr
RLockrr2r')clsr4r5rr3s     rr:z
local.__new__spBS\\V__<HII~~c"|46	
rcpt|5tj||cdddS#1swYyxYwr)r6r/r0rnames  rr0zlocal.__getattribute__s.
D\	7**46	7	7	7s,5c|dk(r"td|jjzt|5tj|||cdddS#1swYyxYwNrz+%r object attribute '__dict__' is read-only)AttributeError	__class__r(r6r/r2)rr?values   rr2zlocal.__setattr__s\: =..))*+
+D\	9%%dD%8	9	9	9sAAc|dk(r"td|jjzt|5tj||cdddS#1swYyxYwrA)rBrCr(r6r/__delattr__r>s  rrFzlocal.__delattr__sZ: =..))*+
+D\	2%%dD1	2	2	2sAAN)r(r)r*r+r:r0r2rFr,rrrrs*I792r)rr;N)weakrefr
contextlibr__all__rr6r	threadingrr;r,rr<module>rKsM@D%)))X

#2#2L,+r