[Python-Dev] Pep 550 and None/masking (original) (raw)

Jim J. Jewett jimjjewett at gmail.com
Sun Aug 27 12:00:51 EDT 2017


Does setting an ImplicitScopeVar to None set the value to None, or just remove it?

If it removes it, does that effectively unmask a previously masked value?

If it really sets to None, then is there a way to explicitly unmask previously masked values?

Perhaps the initial constructor should require an initial value (defaulting to None) and the docs should give examples both for using a sensible default value and for using a special "unset" marker.

-jJ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170827/53d5f424/attachment.html>



More information about the Python-Dev mailing list