Then you'll get

    SyntaxError: from __pip__ imports must occur at the beginning of the file

Or "must be string literal or an identifier" if it's allowed outside the beginning of the file.

On Mon, Sep 19, 2016 at 9:44 PM MRAB <> wrote:
On 2016-09-19 18:20, אלעזר wrote:
> Obviously
>     from __pip__ import "run-lambda>=0.1.0"
> Which is ugly but not my fault :)
One possible problem I can see is that if it's quoted you might think
that it's an expression and that you could also write:

     package = "run-lambda>=0.1.0"
     from __pip__ import package

Python-ideas mailing list
Code of Conduct: