> Also, I have a question about the semantic specification of what a copy > is supposed to do. Does it guarantee that the same data stream will be > reproduced? For instance, would a generator of random words expect its > copy to generate the same word sequence. Or, would a copy of a > dictionary iterator change its output if the underlying dictionary got > updated (i.e. should the dict be frozen to changes when a copy exists or > should it mutate). Every attempt should be made for the two copies to return exactly the same stream of values. This is the pure tee() semantics. --Guido van Rossum (home page: http://www.python.org/~guido/)
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