| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.10/test/__pycache__/ |
Upload File : |
o
�9j�0 � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlm Z d dl
Z
e�� Zee j
�ej�gZdg d�dgdgdgZdg d�dgdgd gZdg d
�ddgg dgZdg d
�ddgg dgZdg d�g g dgZdg d�g g dgZdddgdgg dgZdddgg g dgZddgg g dgZdg d�dgg dgZdg d�dgg dgZdddgg g d gZdddgg g d!gZd"d"dgg g d#d$�d%� gZd&d'� Z d(d)� Z!G d*d+� d+ej"�Z#e$d,kr�e�%� dS dS )-� N)�support�a.module)�ar �sys�b�czb.somethingz�a/__init__.py
a/module.py
from b import something
from c import something
b/__init__.py
from sys import *
)r r r r �
__future__a a/__init__.py
a/module.py
from b import something
from c import something
b/__init__.py
from __future__ import absolute_import
from sys import *
)r �a.bza.cr �mymoduler �blahblaha mymodule.py
a/__init__.py
import blahblah
from a import b
import c
a/module.py
import sys
from a import b as x
from a.c import sillyname
a/b.py
a/c.py
from a.module import x
import mymodule as sillyname
from sys import version_info
) r r r zb.xzb.yzb.zr r �gc�zaj mymodule.py
a/__init__.py
a/module.py
from __future__ import absolute_import
import sys # sys
import blahblah # fails
import gc # gc
import b.x # b.x
from b import y # b.y
from b.z import * # b.z.*
a/gc.py
a/sys.py
import mymodule
a/b/__init__.py
a/b/x.py
a/b/y.py
a/b/z.py
b/__init__.py
import z
b/unused.py
b/x.py
b/y.py
b/z.py
)r r r r �a.b.y�a.b.z�a.b.c�
a.b.c.moduleC�a.b.c.d�a.b.c.e�a.b.xr a� mymodule.py
a/__init__.py
from .b import y, z # a.b.y, a.b.z
a/module.py
from __future__ import absolute_import # __future__
import gc # gc
a/gc.py
a/sys.py
a/b/__init__.py
from ..b import x # a.b.x
#from a.b.c import moduleC
from .c import moduleC # a.b.moduleC
a/b/x.py
a/b/y.py
a/b/z.py
a/b/g.py
a/b/c/__init__.py
from ..c import e # a.b.c.e
a/b/c/moduleC.py
from ..c import d # a.b.c.d
a/b/c/d.py
a/b/c/e.py
a/b/c/x.py
)
r r za.sysr r r r r r r za.b.c.fr z a.anothera� mymodule.py
a/__init__.py
from . import sys # a.sys
a/another.py
a/module.py
from .b import y, z # a.b.y, a.b.z
a/gc.py
a/sys.py
a/b/__init__.py
from .c import moduleC # a.b.c.moduleC
from .c import d # a.b.c.d
a/b/x.py
a/b/y.py
a/b/z.py
a/b/c/__init__.py
from . import e # a.b.c.e
a/b/c/moduleC.py
#
from . import f # a.b.c.f
from .. import x # a.b.x
from ... import another # a.another
a/b/c/d.py
a/b/c/e.py
a/b/c/f.py
r za.barz�a/__init__.py
def foo(): pass
a/module.py
from . import foo
from . import bar
zza/__init__.py
def foo(): pass
a/module.py
from . import *
� )r r r zb.modulez�a/__init__.py
a/module.py
import b.module
b/__init__.py
b/module.py
? # SyntaxError: invalid syntax
)r r r zb.cz�a/__init__.py
a/module.py
import c
from b import c
b/__init__.py
b/c.py
�a_utf8�b_utf8u� a_utf8.py
# use the default of utf8
print('Unicode test A code point 2090 ₐ that is not valid in cp1252')
import b_utf8
b_utf8.py
# use the default of utf8
print('Unicode test B code point 2090 ₐ that is not valid in cp1252')
uz a_utf8.py
# coding=utf8
print('Unicode test A code point 2090 ₐ that is not valid in cp1252')
import b_utf8
b_utf8.py
# use the default of utf8
print('Unicode test B code point 2090 ₐ that is not valid in cp1252')
�a_cp1252s� a_cp1252.py
# coding=cp1252
# 0xe2 is not allowed in utf8
print('CP1252 test P�t�')
import b_utf8
u� b_utf8.py
# use the default of utf8
print('Unicode test A code point 2090 ₐ that is not valid in cp1252')
�utf-8c
C sX t j�| �}zt �|� W n ty& } z
|jtjkr� W Y d }~nd }~ww t| d�S )N�wb)�os�path�dirname�makedirs�OSError�errno�EEXIST�open)r r �e� r$ �-/usr/lib/python3.10/test/test_modulefinder.py� open_file% s ���
r&