- 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 | marienz |
|---|---|
| Recipients | christoph, marienz |
| Date | 2010-10-01.17:41:26 |
| SpamBayes Score | 0.0056496807 |
| Marked as misclassified | No |
| Message-id | <1285954887.97.0.0656059691652.issue9985@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
That fixes the first problem in python 2. It should do: self.matching_blocks = [Match._make(t) for t in non_adjacent] in python 3 though, or it will return an already-exhausted map object if it is called again. This leaves the problem of other code mutating the cached list (not realizing it is cached). I think it would make sense for these functions to just return a shallow copy of their cached list, but I have not thought that through much. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-10-01 17:41:28 | marienz | set | recipients: + marienz, christoph |
| 2010-10-01 17:41:27 | marienz | set | messageid: <1285954887.97.0.0656059691652.issue9985@psf.upfronthosting.co.za> |
| 2010-10-01 17:41:26 | marienz | link | issue9985 messages |
| 2010-10-01 17:41:26 | marienz | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
