This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Alexander Kanavin, lukasz.langa, pablogsal, sobolevn, vstinner
Date 2021-09-16.08:26:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631780787.85.0.663758833705.issue45128@roundup.psfhosted.org>
In-reply-to
Content
I can still reproduce the issue if test_logging.py is simplified to:
---
import unittest
import sys

class LogRecordTest(unittest.TestCase):
    def test_multiprocessing(self):
        import multiprocessing.queues
        del sys.modules['multiprocessing']
        import multiprocessing
---


The "del sys.modules['multiprocessing']" line comes from LogRecordTest._extract_logrecord_process_name() method.
History
Date User Action Args
2021-09-16 08:26:27vstinnersetrecipients: + vstinner, lukasz.langa, pablogsal, Alexander Kanavin, sobolevn
2021-09-16 08:26:27vstinnersetmessageid: <1631780787.85.0.663758833705.issue45128@roundup.psfhosted.org>
2021-09-16 08:26:27vstinnerlinkissue45128 messages
2021-09-16 08:26:27vstinnercreate