[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-19 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix. That was an interesting bug ;-) I like the simplicity of the fix. -- ___ Python tracker ___

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Jake for the report and PR! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-19 Thread miss-islington
miss-islington added the comment: New changeset 829593a9262e67c72167c6cb20d383203b2ea410 by Miss Islington (bot) in branch '3.8': bpo-38707: Fix for multiprocessing.Process MainThread.native_id (GH-17088) https://github.com/python/cpython/commit/829593a9262e67c72167c6cb20d383203b2ea410

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +16754 pull_request: https://github.com/python/cpython/pull/17261 ___ Python tracker ___

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-19 Thread miss-islington
miss-islington added the comment: New changeset c6b20be85c0de6f2355c67ae6e7e578941275cc0 by Miss Islington (bot) (Jake Tesler) in branch 'master': bpo-38707: Fix for multiprocessing.Process MainThread.native_id (GH-17088)

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-13 Thread Jake Tesler
Jake Tesler added the comment: PR was updated with tests and is ready for core developer review and then the merge to cpython:master. After that (if I understand correctly) a backport will automatically get picked into the 3.8 branch if there aren't any conflicts. --

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-08 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-07 Thread Jake Tesler
Jake Tesler added the comment: @vstinner PR created :) https://github.com/python/cpython/pull/17088 -- ___ Python tracker ___ ___

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-07 Thread Jake Tesler
Change by Jake Tesler : -- keywords: +patch pull_requests: +16596 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17088 ___ Python tracker ___

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-07 Thread STINNER Victor
STINNER Victor added the comment: > See the branch here: > https://github.com/jaketesler/cpython/tree/fix-mp-native-id Can you please create a PR? -- ___ Python tracker ___

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-05 Thread Jake Tesler
Change by Jake Tesler : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38707] Multiprocessing: bug with Native ID for threading.mainthread()

2019-11-05 Thread Jake Tesler
New submission from Jake Tesler : I have encountered a minor bug with the new `threading.get_native_id()` featureset in Python 3.8. The bug occurs when creating a new multiprocessing.Process object on Unix (or on any platform where the multiprocessing start_method is 'fork' or 'forkserver').