It seems that there will be some refactoring of the tokenizer code.
Regarding this, I'd like to recall my proposal on readline hooks. It would
be nice if char* based PyOS_Readline API was replaced by a Python str based
hook customizable by Python code. I propose to add function
sys.readlinehook acc
Yeah, let's kill this undefined behavior.
On Thu, Nov 19, 2015 at 4:10 AM, Chris Angelico wrote:
> On Thu, Nov 19, 2015 at 10:51 PM, Serhiy Storchaka
> wrote:
>> http://bugs.python.org/issue20115
>
> Interestingly, the file linked in the last comment on that issue [1]
> ties in with another par
On Thu, Nov 19, 2015 at 3:51 AM, Serhiy Storchaka wrote:
> On 17.11.15 18:50, Guido van Rossum wrote:
>>
>> On Tue, Nov 17, 2015 at 8:20 AM, Serhiy Storchaka
>> wrote:
>>>
>>> Current implementation of import system went the same way. As a result
>>> importing the script as a module and running i
> On 19 Nov 2015, at 15:26, Ben Bangert wrote:
>
> I can't think of any other mode to set, setting this with the
> condition cited for that vulnerability looks like a good idea.
>
> Cheers,
> Ben
Ok, we’re agreed. The work can be tracked under Issue 25672:
https://bugs.python.org/issue25672
On Thu, Nov 19, 2015 at 1:47 AM, M.-A. Lemburg wrote:
> On 17.11.2015 16:22, Guido van Rossum wrote:
>> On Tue, Nov 17, 2015 at 1:59 AM, M.-A. Lemburg wrote:
[moving from read source line by line to reading all in one go]
>>> We use the same simplification in eGenix PyRun's emulation of
>>>
On Thu, Nov 19, 2015 at 1:58 AM, M.-A. Lemburg wrote:
> On 19.11.2015 09:14, Cory Benfield wrote:
>>
>>> On 19 Nov 2015, at 03:53, Ben Bangert wrote:
>>>
>>> In Python 2 and 3, the ssl module's SSLContext object has a way to set
>>> SSL options, but not to set SSL modes.
>>>
>>> The set_mode comm
On 11 November 2015 at 10:47, Nick Coghlan wrote:
> Our last discussion back in July seemed to show that folks either
> didn't care about the question (because they're using unmodified
> upstream versions so the PEP didn't affect them), or else thought the
> approach described in the PEP was reas
On Thu, Nov 19, 2015 at 10:51 PM, Serhiy Storchaka wrote:
> http://bugs.python.org/issue20115
Interestingly, the file linked in the last comment on that issue [1]
ties in with another part of this thread, regarding binary blobs in
Python scripts. It uses open(sys.argv[0],'rb') to find itself, and
On 17.11.15 18:50, Guido van Rossum wrote:
On Tue, Nov 17, 2015 at 8:20 AM, Serhiy Storchaka wrote:
Current implementation of import system went the same way. As a result
importing the script as a module and running it with command line can have
different behaviours in corner cases.
I'm confu
On 19.11.2015 09:14, Cory Benfield wrote:
>
>> On 19 Nov 2015, at 03:53, Ben Bangert wrote:
>>
>> In Python 2 and 3, the ssl module's SSLContext object has a way to set
>> SSL options, but not to set SSL modes.
>>
>> The set_mode command and some of the available modes:
>> https://www.openssl.org
On 17.11.2015 16:22, Guido van Rossum wrote:
> On Tue, Nov 17, 2015 at 1:59 AM, M.-A. Lemburg wrote:
>>> [moving from read source line by line to reading all in one go]
>> We use the same simplification in eGenix PyRun's emulation of
>> the Python command line interface and it has so far not
>> ca
On 18 November 2015 at 15:57, Hrvoje Niksic wrote:
> If this never really worked in Python, feel free to drop the issue. I may be
> misremembering the language in which scripts I saw using this techniques
> years ago were written - most likely sh or Perl.
It was Perl. In the past I've tried to em
> On 19 Nov 2015, at 03:53, Ben Bangert wrote:
>
> In Python 2 and 3, the ssl module's SSLContext object has a way to set
> SSL options, but not to set SSL modes.
>
> The set_mode command and some of the available modes:
> https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_mode.html
>
> Th
13 matches
Mail list logo