James Sanders added the comment:
I did a bit more digging and I think I've worked out what is going on. The
particular bit of tcl initialization code that triggers the problem if it is
run before the fork is Tcl_InitNotifier in tclUnixNotify.c. It turns out there
is a known problem
James Sanders added the comment:
I recently got hit by this bug on 64-bit ubuntu 13.04, with python 3.3.1 and
tcl/tk 8.5.13 installed from the Ubuntu repositories. However, I tried
building the same versions of tcl, tk, and python locally, and couldn't
reproduce the bug. I also built p
James Sanders added the comment:
I've submitted a patch that just uses save_global to pickle Ellipsis and
NotImplemented, so the resulting pickle should be unpicklable anywhere. I'm
completely new to the C API so not sure if the way I am building python strings
(to pass to save_
New submission from James Sanders :
At present, the built-in constants Ellipsis (...) and NotImplemented cannot be
pickled. Perhaps there is a good reason for this, but the only discussion I
can find is at msg<108957>, where it is stated that these values (along with
their types, an