+
    :i                         ^ RI t ^ RIHt ^ RIHt ^ RIHt ^ RIHtH	t	 ^ RI
Ht ^ RIHt ^ RIHtHt  ! R	 R
]4      t ! R R]4      t ! R R]4      t]R8X  d   ]P*                  ! 4        R# R# )    N)njit)overload)ConfigStack)FlagsDEFAULT_FLAGS)types)default_mangler)TestCaseunittestc                   &   a  ] tR t^t o R tRtV tR# )TestCompilerFlagsc                    \        4       pR pV P                  \        V4      ;_uu_ 4        RVn        RRR4       R#   + '       g   i     R# ; i)z<'Flags' object has no attribute 'this_really_does_not_exist'TN)r   assertRaisesRegexAttributeErrorthis_really_does_not_exist)selfflagsmsgs   &  ]/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/tests/test_compiler_flags.pytest_setting_invalid_attribute0TestCompilerFlags.test_setting_invalid_attribute   s8    L##NC88/3E, 9888s	   =A	 N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell____classdict__s   @r   r   r      s     4 4    r   c                   &   a  ] tR t^t o R tRtV tR# )TestCompilerFlagCachedOverloadc                   aa R  o\        S4      R 4       p\        RR7      V3R l4       o\        4       VV3R l4       pV! 4       w  r4V P                  VR4       V P                  VR4       R# )	c                      R # Nr   r   r!   r   fastmath_statusQTestCompilerFlagCachedOverload.test_fastmath_in_overload.<locals>.fastmath_status   s    r!   c                  p   a \        4       P                  4       p V P                  '       d   R MRoV3R lpV# )Has fastmathNo fastmathc                     < S # r&   r   )vals   r   codegeneTestCompilerFlagCachedOverload.test_fastmath_in_overload.<locals>.ov_fastmath_status.<locals>.codegen   s    
r!   )r   topfastmath)r   r.   r-   s     @r   ov_fastmath_statusTTestCompilerFlagCachedOverload.test_fastmath_in_overload.<locals>.ov_fastmath_status   s.    M%%'E$)NNN.C Nr!   T)r1   c                     < S ! 4       # r&   r   )r'   s   r   set_fastmathNTestCompilerFlagCachedOverload.test_fastmath_in_overload.<locals>.set_fastmath$   s    "$$r!   c                  &   < S! 4       p S! 4       pW3# r&   r   )abr'   r5   s     r   fooETestCompilerFlagCachedOverload.test_fastmath_in_overload.<locals>.foo(   s    !AA6Mr!   r+   r*   N)r   r   assertEqual)r   r2   r:   r8   r9   r'   r5   s   &    @@r   test_fastmath_in_overload8TestCompilerFlagCachedOverload.test_fastmath_in_overload   s{    	 
/	"	 
#	 
t		% 
	% 
	 
	
 uM*N+r!   r   N)r   r   r   r   r=   r   r   r   s   @r   r#   r#      s     , ,r!   r#   c                   8   a  ] tR t^3t o R tR tR tR tRtV t	R# )TestFlagManglingc                   a  V 3R  lp\        4       pV! V4       V! \        4       \        4       pRVn        RVn        RVn        V! V4       R# )c                    < V P                  4       pV P                  V4      pSP                  W P                  4       4       R # r&   )get_mangle_stringdemangler<   summary)r   mangledoutr   s   &  r   check-TestFlagMangling.test_demangle.<locals>.check7   s3    --/G..)CS--/2r!   TN)r   r   no_cpython_wrappernrtr1   )r   rH   r   s   f  r   test_demangleTestFlagMangling.test_demangle5   sH    	3 e 	m #' 	er!   c                    \        4       pR Vn        R Vn        V P                  \	        VP                  4       4      \	        VP                  4       4      4       R# )TN)r   rK   auto_parallel
assertLesslenrC   rE   )r   r   s   & r   test_mangled_flags_is_shorter.TestFlagMangling.test_mangled_flags_is_shorterK   s?    	"E3356EMMO8LMr!   c                4   \        4       pR Vn        R Vn        R Vn        RVn        V P                  \        VP                  4       4      \        VP                  4       4      4       VP                  VP                  4       4      pV P                  RV4       R# )Talways0xN)r   rK   rO   r1   inlinerP   rQ   rC   rE   rD   assertNotIn)r   r   	demangleds   &  r   /test_mangled_flags_with_fastmath_parfors_inline@TestFlagMangling.test_mangled_flags_with_fastmath_parfors_inlineR   st    	"E3356EMMO8LMNN5#:#:#<=	y)r!   c                   Rp\         P                  3p\        4       pRVn        RVn        \        WVP                  4       .R7      pRp\        P                  ! RV\        V4      R 4      pVP                  ^ 4      p\        V4      \        V4      ,           pWHV\        V4      ,            p	\        P                  ! V	4      p
V P                  WP                  4       4       R# )z,Test demangling of flags from mangled symbolr:   TrU   )abi_tags_Z3fooBz[0-9]+N)r   int32r   rK   rW   r	   rC   rematchrQ   groupintrD   r<   rE   )r   fnameargtypesr   nameprefixmsizebaseabi_mangledrY   s   &          r   $test_demangling_from_mangled_symbols5TestFlagMangling.test_demangling_from_mangled_symbols^   s     ;;<	u'>'>'@&A
 HHXtCKL12wwqz6{SY&s4y 01NN;/	MMO4r!   r   N)
r   r   r   r   rL   rR   rZ   rl   r   r   r   s   @r   r@   r@   3   s     ,N
*5 5r!   r@   __main__)r`   numbar   numba.core.extendingr   numba.core.targetconfigr   numba.core.compilerr   r   
numba.corer   numba.core.funcdescr	   numba.tests.supportr
   r   r   r#   r@   r   mainr   r!   r   <module>rw      s\    	  ) / 4  / 24 4,X ,<@5x @5F zMMO r!   