HEX
Server: Apache/2.4.65 (Debian)
System: Linux srv39710 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.4.11
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //usr/lib/python3/dist-packages/ntp/__pycache__/poly.cpython-311.pyc
�

|�d��`�dZddlZdZdZeeureZeZeZ	e
ZeZe
Zd�ZdSddlZeZd�ZeZd�Z	d�Zd	�Zd
�Zd�Zdejj���krd
Zeej��e_dejj���krd
Zeej��e_dSdS)aHandle bytes and strings in a polyglot fashion.

copied from ../ntpclient/ntpq.py  which got it from
https://gitlab.com/esr/practical-python-porting/blob/master/polystr-inclusion.py
see http://www.catb.org/esr/faqs/practical-python-porting/ for more information.
�Nzlatin-1Fc�,�|�d��S)zString_escape/unicode_escape.�
string_escape)�decode��ss �*/usr/lib/python3/dist-packages/ntp/poly.pyrr-s���x�x��(�(�(�c��t|t��r|St|t��st|��St|t���S)z$Polymorphic string factory function.��encoding)�
isinstance�str�bytes�master_encoding)�os r�polystrr6sI���a����	��H��!�U�#�#�	��q�6�6�M��1��/�/�/�/r	c��t|t��r|St|t��st|��St|t���S)z%Polymorphic string encoding function.r)r
rrrrs r�	polybytesr@sI���a����	��H��!�S�!�!�	���8�8�O��Q��1�1�1�1r	c�N�t|t��rt|��S|S)zPolymorphic ord() function)r
r�ord��cs r�polyordrH�$���a����	��q�6�6�M��Hr	c�N�t|t��rt|��S|S)zPolymorphic chr() function)r
�int�chrrs r�polychrrOrr	c�\�|�t���d��S)z)Polymorphic string_escape/unicode_escape.�unicode_escape)�encoderrrs rrrVs%���x�x��(�(�/�/�0@�A�A�Ar	c�<�tj|jddd���S)z/Standard input/output wrapper factory function.�utf-8�
T)r�newline�line_buffering)�io�
TextIOWrapper�buffer)�streams r�make_std_wrapperr+^s-�����
��(,�T�C�C�C�	Cr	r#T)�__doc__�sysr�forced_utf8rrr�unicode�polyunicoderrrr�	raw_input�	polyinputrr'�inputr+�stdoutr�lower�stderr�r	r�<module>r8sU�����
�
�
���0���%�<�<��G��K��I��G��G��I�)�)�)�)�)�
�I�I�I��I�0�0�0��K�2�2�2�������B�B�B�C�C�C��#�*�%�+�+�-�-�-�-���%�%�c�j�1�1��
��#�*�%�+�+�-�-�-�-���%�%�c�j�1�1��
�
�
�.�-r