This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
""" | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import perf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
""" | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import perf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function, division | |
import gc | |
import subprocess | |
import sys | |
import time | |
import psutil | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
os.fork() | |
# Even 'env -i python -X dev -c 'import os; os.fork()' crashes | |
# *** Error in `.runtimes/snakepit/python3.7.0b2': munmap_chunk(): invalid pointer: 0x0000000001b13310 *** | |
# ======= Backtrace: ========= | |
# /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ff71bff27e5] | |
# /lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7ff71bfff698] | |
# .runtimes/snakepit/python3.7.0b2(_PyRuntimeState_Fini+0x30)[0x515d90] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import signal | |
def handle(*_args): | |
if not pid: | |
os.waitpid(-1, os.WNOHANG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import, print_function | |
import gevent.monkey; gevent.monkey.patch_all() | |
import sys | |
import socket | |
import time | |
from zope.dottedname.resolve import resolve as drresolve | |
blacklist = {22, 55, 68, 69, 99, 120, 130, 152, 161, 165, 169, 172, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jmadden@Curie ~/Projects/GithubSources/pypy/pypy/module/cpyext/test ]$ ../../../../pytest.py test_arraymodule.py --result-log=arraylog.txt | |
[platform:execute] clang -arch x86_64 -c -O3 -fomit-frame-pointer -mmacosx-version-min=10.5 -fvisibility=hidden -g -O0 -DRPY_EXTERN=RPY_EXPORTED -DRPYTHON_LL2CTYPES /var/folders/y5/x7pvzk651c3dqkllbxd1jd280000gn/T/usession-release-2.6.x-9/module_cache/module_0.c -o /var/folders/y5/x7pvzk651c3dqkllbxd1jd280000gn/T/usession-release-2.6.x-9/module_cache/module_0.o | |
[platform:execute] clang -arch x86_64 -dynamiclib -install_name @rpath/$(TARGET) -undefined dynamic_lookup /var/folders/y5/x7pvzk651c3dqkllbxd1jd280000gn/T/usession-release-2.6.x-9/module_cache/module_0.o -mmacosx-version-min=10.5 -o /var/folders/y5/x7pvzk651c3dqkllbxd1jd280000gn/T/usession-release-2.6.x-9/shared_cache/externmod.dylib | |
============================================================================================================================= test session starts ===================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Support for resource tree traversal. | |
$Id: traversal.py 42801 2014-07-08 19:47:20Z jason.madden $ | |
""" | |
from zope import interface | |
from zope.event import notify | |
from zope.traversing import api as ztraversing |