Chris Angelico wrote:
Downside:
You can't say "I'm done with this string, destroy it immediately".

Also it would be hard to be sure there wasn't another
copy of the data somewhere from a time before you
got around to marking the string as sensitive, e.g.
in a file buffer.

--
Greg

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to