At 09:41 PM 3/24/04 +0100, Alex Martelli wrote: >..? (As to _why_ one would want such semantics, I dunno -- Singleton being >most definitely _not_ my favourite DP, anyway...:-) I definitely don't like singletons either, but there are some kinds of functionality that are *already* singletons, like it or not, and when putting a wrapper around them, one is forced to have another singleton. For example, peak.events provides an event-driven wrapper around 'signal' functionality, and it's implemented by a singleton because -- like it or not -- Python's signal handling interface supports only one handler per signal.
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