gh-111178: remove redundant casts for functions with correct signatures#131673
gh-111178: remove redundant casts for functions with correct signatures#131673picnixz merged 24 commits into
Conversation
|
Very interesting. I locally had an issue where my |
Sorry, something went wrong.
|
I think it know what happened! I incorrectly merged main into this branch c: |
Sorry, something went wrong.
Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner
left a comment
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 FreeBSD Refleaks 3.x (tier-3) has failed when building commit edbf7fb. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1613/builds/1061 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/test/test_concurrent_futures/executor.py", line 100, in test_map_buffersize
res = self.executor.map(str, ints, buffersize=buffersize)
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/_base.py", line 614, in map
fs = collections.deque(
self.submit(fn, *args) for args in islice(zipped_iterables, buffersize)
)
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/_base.py", line 615, in <genexpr>
self.submit(fn, *args) for args in islice(zipped_iterables, buffersize)
~~~~~~~~~~~^^^^^^^^^^^
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/thread.py", line 202, in submit
raise self.BROKEN(self._broken)
concurrent.futures.interpreter.BrokenInterpreterPool: A thread initializer failed, the thread pool is not usable anymore
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/thread.py", line 99, in _worker
ctx.initialize()
~~~~~~~~~~~~~~^^
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/interpreter.py", line 132, in initialize
self.interpid = _interpreters.create(reqrefs=True)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
interpreters.InterpreterError: interpreter creation failed
Traceback (most recent call last):
File "<frozen getpath>", line 358, in <module>
ValueError: embedded null byte
Exception in initializer:
RuntimeError: error evaluating path
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/test/support/__init__.py", line 814, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('127.0.0.1', 40376), raddr=('127.0.0.1', 40377)>
Task was destroyed but it is pending!
task: <Task pending name='Task-1035' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x841c2f290>:
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/asyncio/selector_events.py", line 873, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=8>
k
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/thread.py", line 99, in _worker
ctx.initialize()
~~~~~~~~~~~~~~^^
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/interpreter.py", line 132, in initialize
self.interpid = _interpreters.create(reqrefs=True)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
interpreters.InterpreterError: interpreter creation failed
Timeout (0:45:00)!
Thread 0x000000082e37b000 (most recent call first):
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/concurrent/futures/thread.py", line 116 in _worker
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/threading.py", line 996 in run
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/threading.py", line 1054 in _bootstrap_inner
File "/buildbot/buildarea/3.x.ware-freebsd.refleak/build/Lib/threading.py", line 1016 in _bootstrap
|
Sorry, something went wrong.
This is a cleanup PR but it's easier to hunt non-covered possible UBSans