Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103943

Re: Inception

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Inception
Date 2016-03-02 22:30 -0800
Organization A noiseless patient Spider
Message-ID <87si08ysx5.fsf@nightsong.com> (permalink)
References <80f8708e-1fec-4310-9191-56df2ad14197@googlegroups.com> <mailman.136.1456983145.20602.python-list@python.org> <d2d793fc-3976-40a3-af40-52edfdc75fd4@googlegroups.com> <mailman.138.1456985210.20602.python-list@python.org>

Show all headers | View raw


Ben Finney <ben+python@benfinney.id.au> writes:
> I'm familiar with that document. It doesn't help me understand what you
> mean by “embed CPython in CPython”.

It seems straightforward enough to me.  Lots of Python programs load C
extensions.  Denis is asking whether one of those C extensions could
itself embed CPython through the embedding interface.  My answer: I
don't know, but I'm dubious about the prospect, based on how the
embedding interface works.  One of Armin Ronacher's old blog posts
discusses the interface and some of its drawbacks:

http://lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/#the-damn-interpreter

It might be that MicroPython or PyPy is easier to embed in that way.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Inception Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2016-03-02 21:01 -0800
  Re: Inception Ben Finney <ben+python@benfinney.id.au> - 2016-03-03 16:32 +1100
    Re: Inception Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2016-03-02 21:43 -0800
      Re: Inception Ben Finney <ben+python@benfinney.id.au> - 2016-03-03 17:06 +1100
        Re: Inception Paul Rubin <no.email@nospam.invalid> - 2016-03-02 22:30 -0800
      Re: Inception Rustom Mody <rustompmody@gmail.com> - 2016-03-02 22:22 -0800
  Re: Inception Ben Finney <ben+python@benfinney.id.au> - 2016-03-03 16:37 +1100
  Re: Inception Christian Gollwitzer <auriocus@gmx.de> - 2016-03-03 09:09 +0100
    Re: Inception Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2016-03-03 15:04 -0800

csiph-web