New submission from STINNER Victor <vstin...@redhat.com>:

multiprocessing.Pool has no __repr__() method, 
multiprocessing.BaseProcess.__repr__() doesn't contain the pid.

I propose to enhance repr() in the multiprocessing module to ease debug.

commit 2b417fba25f036c2d6139875e389d80e4286ad75 (HEAD -> master, 
upstream/master)
Author: Victor Stinner <vstin...@redhat.com>
Date:   Fri Dec 14 11:13:18 2018 +0100

    Add multiprocessing.Pool.__repr__() (GH-11137)
    
    * Add multiprocessing.Pool.__repr__() to ease debug
    * RUN, CLOSE and TERMINATE constants values are now strings rather
      than integer to ease debug

----------
components: Library (Lib)
messages: 331795
nosy: vstinner
priority: normal
severity: normal
status: open
title: multiprocessing: enhance repr()
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35491>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to