Mark Lawrence added the comment:
This works perfectly on 64 bit Windows 8.1 for 3.4.1 and 3.5.0a0.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
Ram Rachum added the comment:
Confirmed here it's working in Python 3.4, I guess it was fixed sometime in the
last few years.
I guess the only thing we'd care about now is ensuring a test for this was
added to the test suite, so there wouldn't be a regression. Can anyone confirm
that?
Antoine Pitrou added the comment:
Pickling of builtin functions and methods was indeed improved thanks to
__qualname__ support. Closing.
--
nosy: +pitrou
resolution: - out of date
stage: needs patch - resolved
status: open - closed
___
Python
Changes by terry.h terry.her...@gmail.com:
--
nosy: +terry.h
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
___
Python-bugs-list mailing
Changes by Petri Lehtinen pe...@digip.org:
--
stage: test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
___
Ram Rachum cool...@cool-rr.com added the comment:
Diff attached, is it good? I'm not very experienced with diffs, I usually work
with pull requests.
--
keywords: +patch
Added file: http://bugs.python.org/file22144/patch.diff
___
Python tracker
Petri Lehtinen pe...@digip.org added the comment:
Your patch is good in this case, as the person who applies the patch knows
which file is affected.
In the future, use diff -u original_file modified_file to get a unified diff.
It's the de facto format for patches.
--
nosy:
Petri Lehtinen pe...@digip.org added the comment:
Actually, I only commented on the patch format and not on the actual contents
of the patch, sorry :)
Your test method missed the self parameter, and the test case needed to be
added to the testcases_other list for the test to be actually run.
Changes by Ram Rachum cool...@cool-rr.com:
Removed file: http://bugs.python.org/file22144/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
Changes by Ram Rachum cool...@cool-rr.com:
Removed file: http://bugs.python.org/file22027/test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
Ram Rachum cool...@cool-rr.com added the comment:
Thanks for the `-u` tip and the correction to the code, Petri. I removed my
previous files since yours is the definite one. And yeah, it's a Windows issue.
--
___
Python tracker
Terry J. Reedy tjre...@udel.edu added the comment:
Jesse, I do not understand your comment, including 'REPL'
--
components: +Windows
versions: +Python 3.2 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
R. David Murray rdmur...@bitdance.com added the comment:
REPL is the Python interactive prompt in this case (REPL is Read Eval Print
Loop). So Jesse is saying that using multiprocessing from the REPL (at least
on Windows) isn't supported. This is because on Windows multiprocessing needs
to
Terry J. Reedy tjre...@udel.edu added the comment:
After looking at the doc chapter, I get that 'if __name__' block is needed on
Windows.
OK. batch mode with if __name__ block:
testmp.py
-
print('Top of Module')
class C:
def f(s): print('Method C.f')
if __name__ == '__main__':
Ram Rachum cool...@cool-rr.com added the comment:
Why is this still marked as test needed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
The test should be a diff against Lib/test/test_multiprocessing.py that adds a
unit test.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
Ram Rachum cool...@cool-rr.com added the comment:
Test attached.
--
Added file: http://bugs.python.org/file22027/test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
___
Jesse Noller jnol...@gmail.com added the comment:
Do things like this in the REPL are known not to work. Things are not protected
in the if __name__ block so we can import the script properly to run it.
--
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - test needed
title: Can't launch Process on built-in static method - Can't launch
multiproccessing.Process on methods
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11969
19 matches
Mail list logo