| Server IP : 118.27.122.248 / Your IP : 216.73.217.130 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib64/python3.6/test/__pycache__/ |
Upload File : |
3
�w2_�8 � @ s d Z ddlZddlZddlZddlZyddlmZ W n ek
rP dd� ZY nX ddlm Z G dd� d�Z
G d d
� d
e
�ZG dd� de
�ZG d
d� de
�Z
G dd� de�ZG dd� de
e�ZG dd� d�ZG dd� deej�ZG dd� d�ZG dd� dee�ZG dd� dee�ZG dd� dee�ZG dd � d eej�ZG d!d"� d"�ZG d#d$� d$ee�ZG d%d&� d&ee�ZG d'd(� d(ee�ZG d)d*� d*eej�ZG d+d,� d,e�ZeG d-d.� d.e��ZeG d/d0� d0e��ZeG d1d2� d2ee��Z e j!G d3d4� d4eej��Z"e#d5k�r
ej$� dS )6zB
Tests for object finalization semantics, as outlined in PEP 442.
� N)�with_tp_delc C s G dd� dt �}|S )Nc @ s e Zd Zdd� ZdS )zwith_tp_del.<locals>.Cc _ s t d��d S )Nzrequires _testcapi.with_tp_del)� TypeError)�cls�args�kwargs� r �;/opt/alt/python36/lib64/python3.6/test/test_finalization.py�__new__ s zwith_tp_del.<locals>.C.__new__N)�__name__�
__module__�__qualname__r r r r r �C s r
)�object)r r
r r r r
s r )�supportc @ s^ e Zd ZdZg Zg Zg Zg ZdZf Z e
dd� �Ze
ej
dd� ��Zdd� Zd d
� Zdd� Zd
S )�NonGCSimpleBasezd
The base class for all the objects under test, equipped with various
testing features.
Fc C s>