On Fri, Sep 8, 2023 at 11:00 AM Barry Scott <ba...@barrys-emacs.org> wrote:

> I see no need for del to return anything, you already have the reference
> in foo.
> The times that foo is dropped at module level are rare enough to not need
> special syntax.
>

I agree - using del is very rare in my code. The use case of passing a name
into a function (or somewhere else?)  and then immediately deleting it is
rare indeed -- not worth new syntax.

-Chris

-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/P65QO3T6UPXCJEGJ272ATFIXSQG5IYSP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to