U
    @f                     @   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 | |}ts$dat|  da|S )NTF)__original_open	__openingr   Znotify_openedfileno)argskwargsresult r   P/var/www/html/chatgpt/venv/lib/python3.8/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   	 