Matt Goodman added the comment:
You can not pickle individual objects larger than 2**31. This failure is not
handled cleanly in the core module, and I suspect masked by above processes.
Try piping "a"*(2**31) through you pipe, or pickling it to disk . . .
--
nosy: +Ma
New submission from Matt Goodman:
The flags that you need to compile against libpythonXX.lib are hidden inside of
the distutils.msvccompiler class. This is ok if you want to use distutils to
compile extensions against the binary, but other build systems need to run
initialize() to get access