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 | brett.cannon |
|---|---|
| Recipients | brett.cannon |
| Date | 2007年10月11日.23:02:38 |
| SpamBayes Score | 0.015559454 |
| Marked as misclassified | No |
| Message-id | <1192143759.73.0.716718415917.issue1267@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
If Py3K is executed without importing site, it fails horribly. This is because site.py sets __builtins__.open, sys.stdout, sys.stderr, and sys.stdin. The setting of sys.stderr is especially bad as exception printing requires sys.stderr, otherwise it reports that sys.stderr was lost. This prevents debugging any exceptions thrown when site.py isn't/can't be imported (e.g., trying to debug bootstrapping importlib). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007年10月11日 23:02:40 | brett.cannon | set | spambayes_score: 0.0155595 -> 0.015559454 recipients: + brett.cannon |
| 2007年10月11日 23:02:39 | brett.cannon | set | spambayes_score: 0.0155595 -> 0.0155595 messageid: <1192143759.73.0.716718415917.issue1267@psf.upfronthosting.co.za> |
| 2007年10月11日 23:02:39 | brett.cannon | link | issue1267 messages |
| 2007年10月11日 23:02:38 | brett.cannon | create | |