On 29/03/2010 18:16, Michael Foord wrote: > Hello all, > > Python 3 includes a WeakSet implementation. Any objections to me > backporting this to 2.7? > > http://docs.python.org/py3k/library/weakref.html#weakref.WeakSet > > I needed this in unittest and used a WeakKeyDictionary instead. Hmmm... I was under the mistaken impression that this was implemented in pure-Python. It's in C so beyond my threshold for simple porting I'm afraid. Still if someone else is up for it... All the best, Michael > > Michael > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4