- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message175037
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 | sbt |
|---|---|
| Recipients | barry, brett.cannon, ezio.melotti, jcea, ncoghlan, pitrou, pjenvey, rhettinger, sbt, serhiy.storchaka, zzzeek |
| Date | 2012-11-06.23:59:32 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1352246372.42.0.980468326585.issue16389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Maybe lru_cache() should have a key argument so you can specify a specialized key function. So you might have
def _compile_key(args, kwds, typed):
return args
@functools.lru_cache(maxsize=500, key=_compile_key)
def _compile(pattern, flags):
... |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-11-06 23:59:32 | sbt | set | recipients: + sbt, barry, brett.cannon, rhettinger, jcea, ncoghlan, pitrou, pjenvey, ezio.melotti, zzzeek, serhiy.storchaka |
| 2012-11-06 23:59:32 | sbt | set | messageid: <1352246372.42.0.980468326585.issue16389@psf.upfronthosting.co.za> |
| 2012-11-06 23:59:32 | sbt | link | issue16389 messages |
| 2012-11-06 23:59:32 | sbt | create | |

