Message233194
| Author |
serhiy.storchaka |
| Recipients |
eric.snow, josh.r, lemburg, ncoghlan, pitrou, pmoody, r.david.murray, rhettinger, sbromberger, serhiy.storchaka |
| Date |
2014年12月30日.08:45:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1419929117.92.0.965420137006.issue23103@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I believe you need to add a bunch of __slots__ = () to various base classes in the module, even though they lack member variables.
Done. Here is updated patch.
I don't think that IP addresses need weak references more than base types as integers or strings. Caching can be implemented without weak references (some caching already is used for networks), and I afraid that supporting weak references list will spent more memory than saved with caching. |
|