Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/zope/interface/__pycache__/_compat.cpython-39.pyc
Ðазад
a i�h= � @ s^ d Z ddlZddlZejdk Zdd� Zeed�Zdd� Zd d � Z dd� Z d d� Zddd�ZdS )z� Support functions for dealing with differences in platforms, including Python versions and implementations. This file should have no imports from the rest of zope.interface because it is used during early bootstrapping. � N)� � c C s. t | t�rt| d�} t | t�r"| S td��d S )N�asciiz)name must be a string or ASCII-only bytes)� isinstance�bytes�str� TypeError)�name� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/zope/interface/_compat.py�_normalize_name s r �pypy_version_infoc C s t j�d�} | dk}|S )z� Return a true value if the C optimizations are required. This uses the ``PURE_PYTHON`` variable as documented in `_use_c_impl`. �PURE_PYTHON�0��os�environ�get)�pure_envZ require_cr r r �_c_optimizations_required'