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 | sfeltman |
|---|---|
| Recipients | sfeltman |
| Date | 2012年11月11日.09:56:05 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1352627766.58.0.403468077196.issue16452@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This is a feature request to include a "WeakMethod" or similar object to the weakref module. The object decomposes a bound method and holds a weakref to the object and unbound function. This can be a very useful utility in signal and ui based programming. The issue has come up a few times but I was unable to find a bug specifically requesting this feature. I think similar code has shown up in enough libraries at this point that it makes sense to just include it in pythons weakref module. See also: http://bugs.python.org/issue813299 http://bugs.python.org/issue7464 This is the recipes: http://code.activestate.com/recipes/81253/ http://mindtrove.info/python-weak-references/ |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012年11月11日 09:56:06 | sfeltman | set | recipients: + sfeltman |
| 2012年11月11日 09:56:06 | sfeltman | set | messageid: <1352627766.58.0.403468077196.issue16452@psf.upfronthosting.co.za> |
| 2012年11月11日 09:56:06 | sfeltman | link | issue16452 messages |
| 2012年11月11日 09:56:05 | sfeltman | create | |