import sys if sys.version_info < (3,): try: from thread import allocate_lock except ImportError: from dummy_thread import allocate_lock else: try: from _thread import allocate_lock except ImportError: from _dummy_thread import allocate_lock ##import sys ##l1 = allocate_lock ##class allocate_lock(object): ## def __init__(self): ## self._real = l1() ## def __enter__(self): ## for i in range(4, 0, -1): ## print sys._getframe(i).f_code ## print ## return self._real.__enter__() ## def __exit__(self, *args): ## return self._real.__exit__(*args) ## def acquire(self, f): ## assert f is False ## return self._real.acquire(f)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 513 B | 0644 |
|
_cffi_errors.h | File | 3.82 KB | 0644 |
|
_cffi_include.h | File | 14.45 KB | 0644 |
|
_embedding.h | File | 17.27 KB | 0644 |
|
api.py | File | 41.08 KB | 0644 |
|
backend_ctypes.py | File | 41.46 KB | 0644 |
|
cffi_opcode.py | File | 5.59 KB | 0644 |
|
commontypes.py | File | 2.63 KB | 0644 |
|
cparser.py | File | 43.19 KB | 0644 |
|
error.py | File | 877 B | 0644 |
|
ffiplatform.py | File | 3.95 KB | 0644 |
|
lock.py | File | 747 B | 0644 |
|
model.py | File | 21.26 KB | 0644 |
|
parse_c_type.h | File | 5.84 KB | 0644 |
|
pkgconfig.py | File | 4.27 KB | 0644 |
|
recompiler.py | File | 63.08 KB | 0644 |
|
setuptools_ext.py | File | 8.72 KB | 0644 |
|
vengine_cpy.py | File | 42.3 KB | 0644 |
|
vengine_gen.py | File | 26.06 KB | 0644 |
|
verifier.py | File | 10.99 KB | 0644 |
|