+
    JV-j€  ã                   ó   € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHu H	t
 ] P                  P                  ] P                  P                  ]4      4      t] P                   P#                  RR4      t] P&                  R8X  d   R.tM] P&                  R8X  d   RR.tM. tR	tR
 t]P.                  P0                  ]P.                  P2                  R 4       4       t]P.                  P0                  ]P.                  P2                  R 4       4       tR# )é    NÚPYARROW_TEST_LD_PATHÚ Úposixz
-std=c++20Úntz"-D_ENABLE_EXTENDED_ALIGNED_STORAGEz
/std:c++20a[  if 1:
    from setuptools import setup
    from Cython.Build import cythonize

    import numpy as np

    import pyarrow as pa

    ext_modules = cythonize({pyx_file!r})
    compiler_opts = {compiler_opts!r}
    custom_ld_path = {test_ld_path!r}

    for ext in ext_modules:
        # XXX required for numpy/numpyconfig.h,
        # included from arrow/python/api.h
        ext.include_dirs.append(np.get_include())
        ext.include_dirs.append(pa.get_include())
        ext.libraries.extend(pa.get_libraries())
        ext.library_dirs.extend(pa.get_library_dirs())
        if custom_ld_path:
            ext.library_dirs.append(custom_ld_path)
        ext.extra_compile_args.extend(compiler_opts)
        print("Extension module:",
              ext, ext.include_dirs, ext.libraries, ext.library_dirs)

    setup(
        ext_modules=ext_modules,
    )
c           	      ó¬  € \         P                  ! . RO4      pV P                  V4      ^8X  g   Q h\        P                  ! \
        RR7      ;_uu_ 4        V P                  R4       RRR4       \         P                  ! ^{4      pV P                  V\         P                  ! 4       4      pV\         P                  ! R4      8X  g   Q h\        P                  ! \        RR7      ;_uu_ 4        V P                  V\         P                  ! \         P                  ! 4       4      4       RRR4       R#   + '       g   i     LÐ; i  + '       g   i     R# ; i)é   znot an array©ÚmatchNÚ123z<Unsupported cast from int64 to list using function cast_list)r   é   é   )ÚpaÚarrayÚget_array_lengthÚpytestÚraisesÚ	TypeErrorÚscalarÚcast_scalarÚutf8ÚNotImplementedErrorÚlist_Úint64)ÚmodÚarrÚscalÚ	cast_scals   &   Új/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pyarrow/tests/test_cython.pyÚcheck_cython_example_moduler   D   sä   € Ü
�(Š(’9Ó
€CØ×Ñ Ó$¨Ô)Ð)Ð)Ü	�Š”y¨×	7Ö	7Ø×Ñ˜TÔ"÷ 
8ô �9Š9�S‹>€DØ—‘ ¤b§g¢g£iÓ0€IØœŸ	š	 %Ó(Ô(Ð(Ð(Ü	�ŠÔ*ð)÷
*ö 
*ð 	�‰˜œbŸhšh¤r§x¢x£zÓ2Ô3÷
*ñ 
*÷ 
8×	7ú÷
*÷ 
*ð 
*ús   ÁD/Ã+:EÄ/D?	ÅE	c           
     óœ  € ^ RI pV P                  4       ;_uu_ 4        Rp\        P                  ! \        P
                  P                  \        V4      \        P
                  P                  \        V 4      V4      4       \        P                  V\        \        R7      p\        RR4      ;_uu_ 4       pVP                  V4       RRR4       \        P                   ! 4       p\"        P$                  ! \&        P(                  RRR.VR7       \&        P
                  R	,          p\&        P
                  P+                  ^ \        V 4      4        \-        R
4      p\/        V4       V\&        n        R\0        P2                  ! 4        R2pRp	\&        P4                  R8X  d   \7        \        R4      '       g   RRršM\&        P4                  R8X  d   RRršMRRršV	'       ds   \&        P
                  pV\0        P2                  ! 4       ,          pWµP9                  V	R4      .,          pV Uu. uF  qÌ'       g   K  VNK  	  ppX
P                  V4      WY&   \"        P$                  ! \&        P(                  RV.\"        P:                  VR7       RRR4       R#   + '       g   i     ELÔ; i  T\&        n        i ; iu upi   + '       g   i     R# ; i)z 
Basic test for the Cython API.
Nzpyarrow_cython_example.pyx©Úpyx_fileÚcompiler_optsÚtest_ld_pathúsetup.pyÚwÚ	build_extú	--inplace©Úenv:NNNÚpyarrow_cython_examplezûif 1:
            import sys
            import os

            try:
                # Add dll directory was added on python 3.8
                # and is required in order to find extra DLLs
                # only for win32
                for dir in a*  :
                    os.add_dll_directory(dir)
            except AttributeError:
                pass

            mod = __import__('pyarrow_cython_example')
            arr = mod.make_null_array(5)
            assert mod.get_array_length(arr) == 5
            assert arr.null_count == 5
        Úwin32Úadd_dll_directoryÚ;ÚPATHÚdarwinÚ:ÚDYLD_LIBRARY_PATHÚLD_LIBRARY_PATHr   z-c)Ústdoutr*   )ÚcythonÚas_cwdÚshutilÚcopyfileÚosÚpathÚjoinÚhereÚstrÚsetup_templateÚformatr#   r$   ÚopenÚwriteÚ	test_utilÚ get_modified_env_with_pythonpathÚ
subprocessÚ
check_callÚsysÚ
executableÚinsertÚ
__import__r   r   Úget_library_dirsÚplatformÚhasattrÚgetÚPIPE)Útmpdirr5   r"   Ú
setup_codeÚfÚsubprocess_envÚ	orig_pathr   ÚcodeÚpath_varÚdelimÚpathsr:   s   &            r   Útest_cython_apirX   U   s!  € ó à	�‰��à/ˆÜ�ŠœŸ™Ÿ™¤T¨8Ó4ÜŸ™Ÿ™¤S¨£[°(Ó;ô	=ô $×*Ñ*°HÜ9FÜ8Dð +ó Fˆ
ô �*˜c×"Ô" aØ�G‰G�JÔ÷ #ô
 #×CÒCÓEˆô 	×ÒœsŸ~™~¨zØ*¨Kð9à"0õ	2ô
 —H‘H˜Q•Kˆ	Ü�‰�‰˜œ3˜v›;Ô'ð	!ÜÐ5Ó6ˆCÜ'¨Ô,à ŒCŒHðô ×/Ò/Ó1Ð2ð 	3	ðˆð& ˆÜ�<‰<˜7Ô"Üœ2Ð2×3Ò3ð #& v�xøÜ�\‰\˜XÔ%Ø!Ð#6‘8à!Ð#4�8çÜ—H‘HˆEØ”R×(Ò(Ó*Õ*ˆEØ×(Ñ(¨°2Ó6Ð7Õ7ˆEÙ&+Ó4¡e˜d«t—T�T¡eˆEÐ4Ø',§z¡z°%Ó'8ˆNÑ$Ü×ÒœsŸ~™~¨t°TÐ:Ü%/§_¡_Ø"0õ	2÷I 
‰÷ #×"Ð"ûð& !ŒC�HüòL 5÷E 
�ˆúsX   �BJ:Â4J	ÃBJ:ÅJ%Å$A8J:ÇA	J:È&	J5È4J5È:AJ:ÊJ"Ê	J:Ê%J2Ê2J:Ê:K	c           
      óÖ  € V P                  4       ;_uu_ 4        R p\        P                  ! \        P                  P                  \        V4      \        P                  P                  \        V 4      V4      4       \        P                  V\        \        R7      p\        RR4      ;_uu_ 4       pVP                  V4       RRR4       \        P                  ! 4       p\         P"                  ! \$        P&                  RRR.VR7       RRR4       \$        P                  P)                  ^ \        V 4      4       \+        R4      p. ROp. pVP-                  WgP.                  4       Wv8X  g   Q h\0        P2                  ! \4        R	R
7      ;_uu_ 4        R pVP-                  Wh4       RRR4       R#   + '       g   i     L÷; i  + '       g   i     LÃ; i  + '       g   i     R# ; i)z bound_function_visit_strings.pyxr!   r%   r&   Nr'   r(   r)   Úbound_function_visit_stringsÚwtfr	   c                 ó*   € V R 8X  d   \        R4      hR# )Úbr[   N)Ú
ValueError)Úss   &r   Ú
raise_on_bÚ&test_visit_strings.<locals>.raise_on_bÇ   s   € Ø�CŒxÜ  Ó'Ð'ñ ó    )Úar]   Úc)r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r#   r$   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   Ú_visit_stringsÚappendr   r   r^   )	rO   r"   rP   rQ   rR   r   ÚstringsÚvisitedr`   s	   &        r   Útest_visit_stringsri   §   sY  € ð 
�‰��à5ˆÜ�ŠœŸ™Ÿ™¤T¨8Ó4ÜŸ™Ÿ™¤S¨£[°(Ó;ô	=ô $×*Ñ*°HÜ9FÜ8Dð +ó Fˆ
ô �*˜c×"Ô" aØ�G‰G�JÔ÷ #ô #×CÒCÓEˆô 	×ÒœsŸ~™~¨zØ*¨Kð9à"0õ	2÷ 
ô& ‡H�H‡O�O�A”s˜6“{Ô#Ü
Ð3Ó
4€Câ€GØ€GØ×Ñ�w§¡Ô/àÔÐÐä	�Š”z¨×	/Ö	/ò	(ð 	×Ñ˜7Ô/÷ 
0Ñ	/÷' #×"ú÷ 
�ú÷8 
0×	/Ð	/ús1   ™BGÂ0F1	ÃAGÆGÆ1GÆ<GÇG	ÇG(	)r9   r7   rD   rF   r   Úpyarrowr   Úpyarrow.tests.utilÚtestsÚutilrB   r:   ÚdirnameÚabspathÚ__file__r<   ÚenvironrM   r$   Únamer#   r>   r   ÚmarkÚnumpyr5   rX   ri   © rb   r   Ú<module>rv      sï   ðó$ 
Û Û Û 
ã ã ß &Ð &à	‡w�w‡��r—w‘w—‘ xÓ0Ó1€Ø�z‰z�~‰~Ð4°bÓ9€Ø‡7�7ˆgÔØ!�N�MØ‡W�W�„_Ø9¸<ÐH�Mà€Mð€ò>4ð" ‡�×ÑØ‡�×ÑñM2ó ó ðM2ð` ‡�×ÑØ‡�×Ññ"0ó ó ò"0rb   