o
    ¨Ýjõ  ã                   @   st   d Z eZddlmZ ddlmZ ddlmZ ddl	Z	e
eƒZdgZeeeƒ ee
eƒd� e ¡  eZdad	d„ ZdS )
zÿ
In order to detect a filehandle that's been closed, our only clue may be
the operating system returning the same filehandle in response to some
other  operation.

The builtins 'file' and 'open' are patched to collaborate with the
notify_opened protocol.
é    )Úhubs)Úhub)Úslurp_propertiesNÚopen)ÚignoreZsrckeysFc                  O   s,   t | i |¤Ž}tsdat | ¡ ¡ da|S )NTF)Ú__original_openÚ	__openingr   Znotify_openedÚfileno)ÚargsÚkwargsÚresult© r   úQ/var/www/html/chatgpt/venv/lib/python3.10/site-packages/eventlet/green/builtin.pyr      s   )Ú__doc__Ú__builtins__Zbuiltins_origZeventletr   Zeventlet.hubsr   Zeventlet.patcherr   ÚsysÚdirÚ__all__Z__patched__ÚglobalsZget_hubr   r   r   r   r   r   r   Ú<module>   s    	ÿ