Samuele> From: "Skip Montanaro" <skip@pobox.com> >> I think the question is still open whether or not modules should >> be able to support properties, though I do think the ball is back in his >> court to come up with a less contrived example. Samuele> if module.prop would be a property Samuele> then Samuele> from module import prop Samuele> would probably not do what one may expect... Samuele> I think this kill it. On the other hand, it might be a rather elegant way to prevent people from accessing volatile module-level objects using "from module import prop". <0.5 wink> Skip
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