- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message281016
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 | Chun-Yu Tseng |
|---|---|
| Recipients | Chun-Yu Tseng, Jesús Gómez, georg.brandl, xdegaye |
| Date | 2016-11-17.01:50:54 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1479347455.13.0.570600968687.issue26072@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Your solution is quite neat. But it still misses use cases of the `global` statement: 1 y = 2 2 3 def f(): 4 y = 9 5 -> import pdb; pdb.set_trace(); 6 7 f() (Pdb) global y; y 9 (Pdb) global y; y += 1; y 10 (Pdb) globals()['y'] 2 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-11-17 01:50:55 | Chun-Yu Tseng | set | recipients: + Chun-Yu Tseng, georg.brandl, xdegaye, Jesús Gómez |
| 2016-11-17 01:50:55 | Chun-Yu Tseng | set | messageid: <1479347455.13.0.570600968687.issue26072@psf.upfronthosting.co.za> |
| 2016-11-17 01:50:55 | Chun-Yu Tseng | link | issue26072 messages |
| 2016-11-17 01:50:54 | Chun-Yu Tseng | create | |

