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 alex.rodas
Recipients Ramchandra Apte, alex.rodas, philwebster, roger.serwy, terry.reedy
Date 2013-05-19.22:05:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have reviewed the patch, and apart from setting the promt, I think it would be possible to set it at the beginning with the same approach:

    def getprompt(self):
            print(sys.ps1, end="")
            import sys
            sys.ps1, sys.ps2 = ">>> ", "... "
            print(sys.ps1, end="")"""))

What I don't know is why ps1 and ps2 are the only attributes that are missing in the sys module within the ModifiedInterpreter. When I try InteractiveInterpreter in the original interpreter, it shows the 79 attributes that sys has originally.
Date User Action Args
2013-05-19 22:05:19alex.rodassetrecipients: + alex.rodas, terry.reedy, roger.serwy, Ramchandra Apte, philwebster
2013-05-19 22:05:19alex.rodassetmessageid: <>
2013-05-19 22:05:19alex.rodaslinkissue13657 messages
2013-05-19 22:05:19alex.rodascreate