[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread R. David Murray
R. David Murray added the comment: Right this is a fork vs spawn issue, not a bug. I don't know why Eryk changed the versions the way he did, but FYI we use that field to indicate which version we will apply a patch to, so it is pretty much irrelevant when there isn't actually a bug :)

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Ian Cordasco
Ian Cordasco added the comment: Why did you remove Python 3.3? It's still affected by this behaviour. -- ___ Python tracker ___

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Eryk Sun
Eryk Sun added the comment: Queuing the class doesn't do anything here. It gets pickled as a module attribute; the queue isn't marshaling the class dict. For example: >>> pickletools.dis(pickle.dumps(mccabe.McCabeChecker)) 0: \x80 PROTO 3 2: cGLOBAL 'mccabe

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Ian Cordasco
New submission from Ian Cordasco: In trying to add support for multiprocessing on Windows in Flake8, I found that the behaviour of the module is significantly different than on Unix. If you have a class that has class-level attributes on Unix, and you change them, put the class into a Queue