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 pablogsal
Recipients Mark.Shannon, lukasz.langa, pablogsal
Date 2021-08-02.11:05:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From f468ede4a2b7ab5c72ae85ab04cb56904300cd23:

This code looks quite dangerous:

class TestGetsourceInteractive(unittest.TestCase):
    def tearDown(self):
        mod.ParrotDroppings.__module__ = mod
        sys.modules['__main__'] = self.main

That is modifing sys.modules globally!
Date User Action Args
2021-08-02 11:05:43pablogsalsetrecipients: + pablogsal, lukasz.langa, Mark.Shannon
2021-08-02 11:05:43pablogsalsetmessageid: <>
2021-08-02 11:05:43pablogsallinkissue44808 messages
2021-08-02 11:05:43pablogsalcreate