HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python3.6/site-packages/zmq/backend/cffi/__pycache__/context.cpython-36.pyc
3

VS�_��@sVdZddlmZmZddlmZmZmZddlm	Z	m
Z
mZGdd�de�Z
dgZdS)	zzmq Context class�)�C�ffi)�EINVAL�
IO_THREADS�LINGER�)�ZMQError�InterruptedSystemCall�	_check_rcc@sVeZdZdZdZdZdZddd�Zedd��Z	edd	��Z
d
d�Zdd
�Zdd�Z
dS)�ContextNFrcCsp|rtjd|�|_d|_n d|_|dks0tt��tj�|_|jtjkrRttj	���|sftj
|jt|�d|_dS)Nzvoid *TFr)
r�cast�_zmq_ctx�_shadowrrrZzmq_ctx_newZNULLZ	zmq_errno�zmq_ctx_setr�_closed)�selfZ
io_threadsZshadow�r�/usr/lib64/python3.6/context.py�__init__s
zContext.__init__cCsttjd|j��S)z,The address of the underlying libzmq contextZsize_t)�intrrr
)rrrr�
underlying$szContext.underlyingcCs|jS)N)r)rrrr�closed)szContext.closedcCstj|j||�}t|�dS)z6set a context option

        see zmq_ctx_set
        N)rrr
r
)r�option�value�rcrrr�set-szContext.setcCstj|j|�}t|dd�|S)z4get context option

        see zmq_ctx_get
        F)Zerror_without_errno)rZzmq_ctx_getr
r
)rrrrrr�get5szContext.getcCsH|jr
dStj|j�}yt|�Wntk
r6YnXd|_d|_dS)NT)rrZzmq_ctx_destroyr
r
r	r)rrrrr�term>szContext.term)rN)�__name__�
__module__�__qualname__r
Z
_iothreadsrrr�propertyrrrrrrrrrr
s
	rN)�__doc__Z_cffirrZ	constantsrrrZ	zmq.errorrr	r
�objectr�__all__rrrr�<module>s
@