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
The most critical mode is SSL_MODE_RELEASE_BUFFERS, which can drop t
On 18 November 2015 at 17:45, yury.selivanov wrote:
> https://hg.python.org/cpython/rev/b34c42e46e7b
> changeset: 99204:b34c42e46e7b
> branch: 3.4
> parent: 99201:89d66f912671
> user:Yury Selivanov
> date:Wed Nov 18 12:44:31 2015 -0500
> summary:
> asyncio.docs: Fix
On 19 November 2015 at 02:50, Ryan Gonzalez wrote:
> Well, not quite the same thing, but
> https://github.com/kirbyfan64/pfbuild/blob/master/pfbuild embeds the
> compressed version of 16k LOC. Would it be affected negatively in any way be
> this?
>
> Since all the data is on one line, I'd think th
Well, not quite the same thing, but
https://github.com/kirbyfan64/pfbuild/blob/master/pfbuild embeds the compressed
version of 16k LOC. Would it be affected negatively in any way be this?
Since all the data is on one line, I'd think the old (current) parser would end
up reading in the whole lin
On 17 Nov 2015, at 21:22, Stewart, David C wrote:
> On 11/17/15, 10:40 AM, "Python-Dev on behalf of R. David Murray"
> rdmur...@bitdance.com> wrote:
>>
>> I suppose that for this to have maximum effect someone would have to
>> specifically be paying attention to performance and figuring out why
On 11/18/2015 04:48 PM, Guido van Rossum wrote:
That trick doesn't work unless the data looks like Python comments or
data (e.g. a docstring). Python has always insisted on being able to
parse until EOF. The only extreme case would be a small script
followed by e.g. 4 GB of comments (where the ol
On Wed, Nov 18, 2015 at 4:15 AM, Hrvoje Niksic wrote:
> On 11/18/2015 03:31 AM, Nick Coghlan wrote:
>>
>> That behaviour is then inherited at the command line by both the -m
>> switch and the support for executing directories and zip archives.
>> When we consider that the "-c" switch also executes
On 11/18/2015 03:31 AM, Nick Coghlan wrote:
That behaviour is then inherited at the command line by both the -m
switch and the support for executing directories and zip archives.
When we consider that the "-c" switch also executes an in-memory
string, direct script execution is currently the odd