Hi Fredrik! you wrote: > before proceeding down this (not very slippery but slightly > unfortunate, imho) slope, I think we should decide whether > > assert eval(repr(s)) == s > > should be true for strings. [...] What's the problem with this one? I've played around with several locale settings here and I observed no problems, while doing: >>> import string >>> s = string.join(map(chr, range(128,256)),"") >>> assert eval('"'+s+'"') == s What do you fear here, if 'repr' will output characters from the upper half of the charset without quoting them as octal sequences? I don't understand. Regards, Peter
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