Message 258158 - Python tracker
Message258158
| Author | brett.cannon |
|---|---|
| Recipients | brett.cannon, vstinner |
| Date | 2016-01-13.17:26:18 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1452705979.28.0.598399365493.issue26101@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
A cleaner way to do what you're after is to use test_importlib.util.import_state() where you can pass in an explicit value for sys.path to be temporarily set. Otherwise I'm fine with the idea of the proposed change. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-01-13 17:26:19 | brett.cannon | set | recipients: + brett.cannon, vstinner |
| 2016-01-13 17:26:19 | brett.cannon | set | messageid: <1452705979.28.0.598399365493.issue26101@psf.upfronthosting.co.za> |
| 2016-01-13 17:26:19 | brett.cannon | link | issue26101 messages |
| 2016-01-13 17:26:18 | brett.cannon | create | |