On 23 June 2018 at 12:13, Paul Moore <p.f.mo...@gmail.com> wrote: > On 23 June 2018 at 01:31, Ezequiel Brizuela [aka EHB or qlixed] > <qli...@gmail.com> wrote: >> As all the string in python are immutable, is impossible to overwrite the >> value or to make a "secure disposal" (overwrite-then-free) of a string using >> something like:
By the way, Perl has a concept of "tainted strings" which track string values (in Perl's case, whether they came from "external input") in a similar way. Anyone intending to take this proposal forward should almost certainly research that case - my recollection is that taintedness was a mixed success, in that it at best only partially solved the problems and was quite complex to implement and document. But it's probably 15 years or more since I looked at Perl's taint mechanism, so don't trust my recollection without checking :-) Paul _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/