- 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 | vstinner |
|---|---|
| Recipients | rkuska, vstinner |
| Date | 2015-03-24.23:29:32 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1427239772.68.0.319659351695.issue23769@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
When calling gc.collect() after each test, I don't see any leak anymore.
doTest() has a small leak: it prepends a path to sys.path, but it never removes it.
Try attached leak2.py: it displays something like +254 kB. Uncomment the two following lines and the output will be close to +0 kB.
#sys.path = old_path
#gc.collect() |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-03-24 23:29:32 | vstinner | set | recipients: + vstinner, rkuska |
| 2015-03-24 23:29:32 | vstinner | set | messageid: <1427239772.68.0.319659351695.issue23769@psf.upfronthosting.co.za> |
| 2015-03-24 23:29:32 | vstinner | link | issue23769 messages |
| 2015-03-24 23:29:32 | vstinner | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
