+
    Bi                     r    ^ RI t ^ RIt^ RIHt ^ RIHt R t]P                  ! 4        ! R R]4      4       tR# )    N)threading_helper)TestCasec                     V  Uu. uF  p\         P                  ! VR 7      NK  	  ppV F  pVP                  4        K  	  V F  pVP                  4        K  	  R# u upi ))targetN)	threadingThreadstartjoin)targetsr   threadsthreads   &   :/usr/lib/python3.14/test/test_free_threading/test_slots.pyrun_in_threadsr      s\     F 	'     s    Ac                      a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tR tR tRtV tR# )	TestSlotsc                h   aa  ! R  R4      pV! ^ 4      oRoVV3R lpVV3R lp\        W#W3.4       R# )c                   ,   a  ] tR t^t o R.tR tRtV tR# )#TestSlots.test_object.<locals>.Spameggsc                    Wn         R # Nr   )selfinitial_values   &&r   __init__,TestSlots.test_object.<locals>.Spam.__init__   s    )	    r   N)__name__
__module____qualname____firstlineno__	__slots__r   __static_attributes____classdictcell____classdict__s   @r   Spamr      s     I* *r   r'   i N  c                  ^   < \        S4       F  p S;P                  ^,          un        K  	  R# )   Nranger   )_itersspams    r   writer%TestSlots.test_object.<locals>.writer"   s    5\		Q	 "r   c                  D   < \        S4       F  p SP                  pK  	  R # r   r*   )r,   r   r-   r.   s     r   reader%TestSlots.test_object.<locals>.reader&   s    5\yy "r   N)r   )r   r'   r/   r2   r-   r.   s   &   @@r   test_objectTestSlots.test_object   s6    	* 	* Aw		* 	78r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  d   < \        R 4       F  p RSn        RSn        RSn        RSn        K!  	  R# )  TFNr+   T_BOOLr,   spam_newspam_olds    r   r/   %TestSlots.test_T_BOOL.<locals>.writer2   s-    5\"&"&"'"' "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r8   Nr9   r;   s    r   r2   %TestSlots.test_T_BOOL.<locals>.reader:       5\ "r   N	_testcapi_test_structmembersType_OldAPI_test_structmembersType_NewAPIr   r   r/   r2   r<   r=   s   &  @@r   test_T_BOOLTestSlots.test_T_BOOL.   s6    ;;=;;=	(	 
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_BYTEr;   s    r   r/   %TestSlots.test_T_BYTE.<locals>.writerE       5\"#"# "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   rL   r;   s    r   r2   %TestSlots.test_T_BYTE.<locals>.readerJ   rB   r   NrC   rG   s   &  @@r   test_T_BYTETestSlots.test_T_BYTEA   6    ;;=;;=	$
	 
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_UBYTEr;   s    r   r/   &TestSlots.test_T_UBYTE.<locals>.writerU   !    5\#$ #$  "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   rW   r;   s    r   r2   &TestSlots.test_T_UBYTE.<locals>.readerZ   #    5\     "r   NrC   rG   s   &  @@r   test_T_UBYTETestSlots.test_T_UBYTEQ   6    ;;=;;=	%
	!
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_SHORTr;   s    r   r/   &TestSlots.test_T_SHORT.<locals>.writere   rZ   r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   rc   r;   s    r   r2   &TestSlots.test_T_SHORT.<locals>.readerj   r]   r   NrC   rG   s   &  @@r   test_T_SHORTTestSlots.test_T_SHORTa   r`   r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_USHORTr;   s    r   r/   'TestSlots.test_T_USHORT.<locals>.writeru   s!    5\$%!$%! "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   rl   r;   s    r   r2   'TestSlots.test_T_USHORT.<locals>.readerz   #    5\!!!! "r   NrC   rG   s   &  @@r   test_T_USHORTTestSlots.test_T_USHORTq   s6    ;;=;;=	&
	"
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_INTr;   s    r   r/   $TestSlots.test_T_INT.<locals>.writer   s    5\!"!" "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   rv   r;   s    r   r2   $TestSlots.test_T_INT.<locals>.reader   s    5\ "r   NrC   rG   s   &  @@r   
test_T_INTTestSlots.test_T_INT   s6    ;;=;;=	#
	
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_UINTr;   s    r   r/   %TestSlots.test_T_UINT.<locals>.writer   rO   r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   %TestSlots.test_T_UINT.<locals>.reader   rB   r   NrC   rG   s   &  @@r   test_T_UINTTestSlots.test_T_UINT   rT   r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_LONGr;   s    r   r/   %TestSlots.test_T_LONG.<locals>.writer   rO   r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   %TestSlots.test_T_LONG.<locals>.reader   rB   r   NrC   rG   s   &  @@r   test_T_LONGTestSlots.test_T_LONG   rT   r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_ULONGr;   s    r   r/   &TestSlots.test_T_ULONG.<locals>.writer   rZ   r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   &TestSlots.test_T_ULONG.<locals>.reader   r]   r   NrC   rG   s   &  @@r   test_T_ULONGTestSlots.test_T_ULONG   r`   r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   
T_PYSSIZETr;   s    r   r/   )TestSlots.test_T_PYSSIZET.<locals>.writer   !    5\&'#&'# "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   )TestSlots.test_T_PYSSIZET.<locals>.reader   #    5\#### "r   NrC   rG   s   &  @@r   test_T_PYSSIZETTestSlots.test_T_PYSSIZET   6    ;;=;;=	(
	$
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p RSn        RSn        K  	  R# r8   g        Nr+   T_FLOATr;   s    r   r/   &TestSlots.test_T_FLOAT.<locals>.writer   s!    5\#& #&  "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   &TestSlots.test_T_FLOAT.<locals>.reader   r]   r   NrC   rG   s   &  @@r   test_T_FLOATTestSlots.test_T_FLOAT   s6    ;;=;;=	'
	!
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p RSn        RSn        K  	  R# r   r+   T_DOUBLEr;   s    r   r/   'TestSlots.test_T_DOUBLE.<locals>.writer   s!    5\$'!$'! "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   'TestSlots.test_T_DOUBLE.<locals>.reader   rq   r   NrC   rG   s   &  @@r   test_T_DOUBLETestSlots.test_T_DOUBLE   s6    ;;=;;=	(
	"
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   
T_LONGLONGr;   s    r   r/   )TestSlots.test_T_LONGLONG.<locals>.writer   r   r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   )TestSlots.test_T_LONGLONG.<locals>.reader   r   r   NrC   rG   s   &  @@r   test_T_LONGLONGTestSlots.test_T_LONGLONG   r   r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p ^ Sn        ^ Sn        K  	  R# r@   r+   T_ULONGLONGr;   s    r   r/   *TestSlots.test_T_ULONGLONG.<locals>.writer  s!    5\'($'($ "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   *TestSlots.test_T_ULONGLONG.<locals>.reader
  s#    5\$$$$ "r   NrC   rG   s   &  @@r   test_T_ULONGLONGTestSlots.test_T_ULONGLONG  s6    ;;=;;=	)
	%
 	'(r   c                   aa \         P                  ! 4       o\         P                  ! 4       oVV3R  lpVV3R lp\        W.4       R# )c                  H   < \        R 4       F  p RSn        RSn        K  	  R# )r8   cNr+   T_CHARr;   s    r   r/   %TestSlots.test_T_CHAR.<locals>.writer  s    5\"%"% "r   c                  \   < \        R 4       F  p SP                   SP                   K  	  R# r@   r   r;   s    r   r2   %TestSlots.test_T_CHAR.<locals>.reader  rB   r   NrC   rG   s   &  @@r   test_T_CHARTestSlots.test_T_CHAR  s6    ;;=;;=	&
	 
 	'(r    N)r   r   r    r!   r4   rH   rR   r^   rh   rr   r{   r   r   r   r   r   r   r   r   r   r#   r$   r%   s   @r   r   r      sZ     90)&) ) ) ) ) ) ) ) ) ) ) ) ) ) )r   r   )	rD   r   test.supportr   unittestr   r   requires_working_threadingr   r   r   r   <module>r      s=      ) 	 ,,.K) K) /K)r   