- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | petri.lehtinen |
|---|---|
| Recipients | bethard, ezio.melotti, nailor, petri.lehtinen |
| Date | 2012-10-29.19:39:38 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1351539578.46.3.13636798315e-05.issue9351@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
+ for key in vars(subnamespace): + setattr(namespace, key, getattr(subnamespace, key)) There might be even more clever ways to achieve this, but what about at least saying "for key, value in vars(subnamespace).items()", and then using the value accordingly, to avoid the getattr() call? |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-10-29 19:39:38 | petri.lehtinen | set | recipients: + petri.lehtinen, bethard, ezio.melotti, nailor |
| 2012-10-29 19:39:38 | petri.lehtinen | set | messageid: <1351539578.46.3.13636798315e-05.issue9351@psf.upfronthosting.co.za> |
| 2012-10-29 19:39:38 | petri.lehtinen | link | issue9351 messages |
| 2012-10-29 19:39:38 | petri.lehtinen | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
