cpython
cpython copied to clipboard
The Python programming language
It looks like in IsolatedAsyncioTestCase when `debug()` crashes it doesn't teardown the event loop, in addition it seems that if the loop isn't torn down it will happen in `__del__`...
# Bug report When running tests with `-B` option like `python -B -m test test_importlib`, decorator `test_importlib.util.writes_bytecode_files` make false success report instead of skipped. # Your environment - CPython versions...
> Whatever gives users the best guidance. I searched for code that uses `Runner(loop_factory=...)` and there is one case apart from `test_runners.py`: in `test_asyncio/test_subprocess.py` it us used as `loop_factory=asyncio.new_event_loop` specifically...
Using [bolt](https://github.com/llvm/llvm-project/tree/main/bolt) provides a fairly large speedup without any code or functionality changes. It provides roughly a 1% speedup on pyperformance, and a 4% improvement on the Pyston web macrobenchmarks....
* Issue: gh-96030
# Bug report `TestCase.run()` is always executed, even for skipped tests. In fact the method checks for skipped and expected failure markers. The implementation of `IsolatedAsyncioTestCase.run` runs additional code around...
It should be created before calling the setUp() method, but after checking for skipping a test. * Issue: gh-95736
# Background RFC 3986 (spec for URIs) defines a valid port string with the following grammar rule: - `port = *DIGIT` Here's the WHATWG URL spec definition: """ A URL-port...
* Fixes crashes. * Documents change in behavior and recommends use of `Py_TPFLAGS_MANAGED_DICT` and `Py_TPFLAGS_MANAGED_WEAKREF` * Issue: gh-95589