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 woodscn
Recipients woodscn
Date 2019-02-21.23:25:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550791538.43.0.767407053529.issue36070@roundup.psfhosted.org>
In-reply-to
Content
The following code works in an interactive shell or in a batch file, but not when executed as part of a unittest suite or pdb:

from random import random
out = [random() for ind in range(3)]

It can be made to work using pdb interact, but this doesn't help with unittest.

Tested in Python 3.7.2
History
Date User Action Args
2019-02-21 23:25:38woodscnsetrecipients: + woodscn
2019-02-21 23:25:38woodscnsetmessageid: <1550791538.43.0.767407053529.issue36070@roundup.psfhosted.org>
2019-02-21 23:25:38woodscnlinkissue36070 messages
2019-02-21 23:25:38woodscncreate