[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2020-11-19 Thread STINNER Victor


STINNER Victor  added the comment:

Marked as a duplicate of bpo-42333.

See also bpo-4 "Convert a few stdlib extensions to the limited C API (PEP 
384)".

--
resolution:  -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder:  -> Port ssl module to heap types and module state (PEP 573)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2018-07-12 Thread STINNER Victor


STINNER Victor  added the comment:

Honestly, the ssl module is complex, and the conversion to PEP 3121 and PEP 384 
are not straighforward, so I removed the "easy (C)" keyword.

--
keywords:  -easy (C)
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2018-02-26 Thread Christian Heimes

Change by Christian Heimes :


--
versions: +Python 3.8 -Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2017-09-08 Thread Antoine Pitrou

Antoine Pitrou added the comment:

PyType_FromSpec provides a rather neat way to initialize C extension types.  
However, there are a couple of pitfalls to look out for:

https://bugs.python.org/issue16690
https://bugs.python.org/issue26979

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2017-09-08 Thread Andrew Svetlov

Andrew Svetlov added the comment:

The patch consists from two changes: replacing static vars with module state 
and using slot based way for constructing classes.

The first change is obvious but I not sure if we need second transformation.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2017-09-07 Thread Christian Heimes

Christian Heimes added the comment:

Is anybody interested to port Robin's patch to 3.7?

--
assignee: christian.heimes -> 
keywords: +easy (C)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2016-09-15 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' :


--
nosy:  -giampaolo.rodola

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2016-09-15 Thread Christian Heimes

Changes by Christian Heimes :


--
assignee:  -> christian.heimes
components: +SSL
versions:  -Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2016-09-08 Thread Christian Heimes

Changes by Christian Heimes :


--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen
stage:  -> needs patch
versions: +Python 3.6, Python 3.7 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2012-11-08 Thread Robin Schreiber

Changes by Robin Schreiber :


--
keywords: +pep3121 -patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2012-08-17 Thread Andrew Svetlov

Changes by Andrew Svetlov :


--
nosy: +asvetlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15670] PEP 3121, 384 Refactoring applied to ssl module

2012-08-15 Thread Robin Schreiber

New submission from Robin Schreiber:

Changes proposed in PEP3121 and PEP384 have now been applied to the ssl module!

--
components: Extension Modules
files: _ssl_pep3121-384_v0.patch
keywords: patch
messages: 168300
nosy: Robin.Schreiber
priority: normal
severity: normal
status: open
title: PEP 3121, 384 Refactoring applied to ssl module
type: resource usage
versions: Python 3.4
Added file: http://bugs.python.org/file26830/_ssl_pep3121-384_v0.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com