Terry J. Reedy added the comment:
Running on winxp with IDLE, I get the second traceback, all the same after the
first line. Given "target is the callable object to be invoked by the run()
method.", I would have expected this to work too.
Problem is not builtins:
class C:
def f(s): print(
New submission from Ram Rachum :
Hello,
I found this bit in my inbox, I forgot why I cared about it, but it raises an
exception (at least on Windows):
>>> import multiprocessing
>>> p = multiprocessing.Process(target=bytes.maketrans, args=(b'abc', b'xyz'))
>>> p.start()
Traceback (most recent