[Python-ideas] Object grabbing

Joshua Morton joshua.morton13 at gmail.com
Mon May 2 18:00:08 EDT 2016


It should be a name error, perhaps 'Accessed object's name cannot be
inferred', or a similar error to UnboundLocalException.

On Mon, May 2, 2016, 17:41 Erik <python at lucidity.plus.com> wrote:

> On 02/05/16 22:34, Koos Zevenhoven wrote:
> > On Mon, May 2, 2016 at 11:41 PM, MRAB <python at mrabarnett.plus.com>
> wrote:
> >> On 2016-05-02 14:57, Koos Zevenhoven wrote:
> >> Anyway, the exception (or warning?) could be raised at compile-time if
> the
> >> leading-dot form was used in a 'with' that had more than one expression.
> >>
> >
> > Exactly. A SyntaxError perhaps?
>
> Now you're suggesting a SyntaxError for valid syntax ;)
>
> E.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160502/633349cd/attachment.html>


More information about the Python-ideas mailing list