Re: [Python-Dev] please back out changeset f903cf864191 before alpha-2

2013-08-25 Thread Stephen J. Turnbull
Eli Bendersky writes: > On Sat, Aug 24, 2013 at 5:55 PM, Stephen J. Turnbull > wrote: >> FWIW, as somebody who can recall using ET exactly once, >> IncrementalParser is what I used. > Just to be on the safe side, I want to make sure that you indeed > mean IncrementalParser, which was comm

Re: [Python-Dev] Pre-PEP: Redesigning extension modules

2013-08-25 Thread Stefan Behnel
Nick Coghlan, 24.08.2013 23:43: > On 25 Aug 2013 01:44, "Stefan Behnel" wrote: >> Nick Coghlan, 24.08.2013 16:22: >>> The new _PyImport_CreateAndExecExtensionModule function does the heavy >>> lifting: >>> >>> https://bitbucket.org/ncoghlan/cpython_sandbox/src/081f8f7e3ee27dc309463b48e6c67cf4880fca

Re: [Python-Dev] Pre-PEP: Redesigning extension modules

2013-08-25 Thread Stefan Behnel
Hi, thanks for bringing this up. It clearly shows that there is more to this problem than I initially thought. Let me just add one idea that your post gave me. PJ Eby, 25.08.2013 06:12: > My "Importing" package offers lazy imports by creating module objects > in sys.modules that are a subtype of

Re: [Python-Dev] Pre-PEP: Redesigning extension modules

2013-08-25 Thread Terry Reedy
On 8/25/2013 7:54 AM, Stefan Behnel wrote: And what if you do "from extmodule import some_function" in a Python module? Then reloading couldn't replace that reference, just as for normal Python modules. Meaning that you'd still have to keep both modules properly alive in order to prevent crashes