Fredrik Lundh wrote: > > Ka-Ping Yee wrote: > > > 1. introduce a PySliceListObject, which behaves like a > > > simple sequence of strings, but stores them as slices. > > > > It occurred to me when i read this that *all* slices > > could be references within the original string, since > > strings are immutable. That is, > > > > s[x:y] ... [b strings with NULL] > (b) is a bit harder to ignore, though. I think the explicit string slice object is a good thing, but changing [:] behavior is not. With special stuff made explicit, it is easy to write optimized code, while the average user is not affected. cheers - chris -- Christian Tismer :^) <mailto:tismer@appliedbiometrics.com> Applied Biometrics GmbH : Have a break! Take a ride on Python's Kaunstr. 26 : *Starship* http://starship.python.net 14163 Berlin : PGP key -> http://wwwkeys.pgp.net PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF we're tired of banana software - shipped green, ripens at home
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