Message 101582 - Python tracker
Message101582
| Author | ncoghlan |
|---|---|
| Recipients | brett.cannon, michael.foord, ncoghlan |
| Date | 2010-03-23.14:27:33 |
| SpamBayes Score | 2.6630312e-05 |
| Marked as misclassified | No |
| Message-id | <1269354455.24.0.842670107826.issue8202@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I realised today that this behaviour is actually the case for any execution of a module inside a package with -m (i.e. any __init__ modules execute before sys.argv and __main__ are fully configured). As I recall, I used a bit of a hack to get main.c to implement -m correctly by piggybacking on the existing -c semantics. I'll find the hack and replace it with some proper '-c' or '-m' logic. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-03-23 14:27:35 | ncoghlan | set | recipients: + ncoghlan, brett.cannon, michael.foord |
| 2010-03-23 14:27:35 | ncoghlan | set | messageid: <1269354455.24.0.842670107826.issue8202@psf.upfronthosting.co.za> |
| 2010-03-23 14:27:34 | ncoghlan | link | issue8202 messages |
| 2010-03-23 14:27:33 | ncoghlan | create | |