[issue35420] how to migrate a c-extension module to one that supports subinerpreters?

2018-12-19 Thread Petr Viktorin


Petr Viktorin  added the comment:

Hi (and sorry for the delay -- it's a busy time of year).

Unfortunately, there's no good documentation yet. Python's standard library 
itself is not free of global state, and I don't think we want to start 
documenting before that's fixed.

--

___
Python tracker 

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



[issue35420] how to migrate a c-extension module to one that supports subinerpreters?

2018-12-05 Thread Jeremy Kloth


Change by Jeremy Kloth :


--
nosy: +jkloth

___
Python tracker 

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



[issue35420] how to migrate a c-extension module to one that supports subinerpreters?

2018-12-05 Thread Eric Snow


Change by Eric Snow :


--
nosy: +petr.viktorin

___
Python tracker 

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



[issue35420] how to migrate a c-extension module to one that supports subinerpreters?

2018-12-05 Thread mattip


New submission from mattip :

NumPy does not currently support subinterpreters, it has global state that is 
not cleaned up when releasing the module. I could not find a description of the 
steps I need to take to modernize the C-extension module to be able to used 
under a subinterpreter. It would be nice to describe this in the Python 
documentation, or does such documentation exist?

--
assignee: docs@python
components: Documentation
messages: 331142
nosy: docs@python, eric.snow, mattip
priority: normal
severity: normal
status: open
title: how to migrate a c-extension module to one that supports subinerpreters?
type: enhancement

___
Python tracker 

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