Re: [Python-ideas] Changes to the existing optimization levels

2017-10-02 Thread Nick Coghlan
On 1 October 2017 at 22:19, Antoine Pitrou wrote: >> 2. We could reinterpret "optimize" as a bitfield instead of a regular >> integer, special casing the already defined values: >> >> - all zero: no optimizations >> - sign bit set: negative -> use global settings >> - 0x0001: nodebug+noassert >> -

Re: [Python-ideas] allow overriding files used for the input builtin

2017-10-02 Thread Wren Turkal
Adam, I just realized that I had not responded to you. I’m sorry for not replying to the message as this was one of the messages that came in digest form. I am referring to your message here: https://mail.python.org/pipermail/python-ideas/2017-September/047238.html I looked over your comment a

Re: [Python-ideas] allow overriding files used for the input builtin

2017-10-02 Thread Wren Turkal
Paul, Sorry for not replying to your message yet, I lost it in a well-intentioned try at digest delivery. Sorry about that, I am replying to this message: https://mail.python.org/pipermail/python-ideas/2017-September/047236.html I would guess that the context manager to override stdout does it

Re: [Python-ideas] allow overriding files used for the input builtin

2017-10-02 Thread Wren Turkal
Steven, Sorry for not replying to your message due to my mailing list incompetence (configured for digest at first). I am replying to your message here: https://mail.python.org/pipermail/python-ideas/2017-September/047239.html I have not figured out the issue with readline/arrow keys on the ove