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


Groups > comp.lang.python > #103943

Re: Inception

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Inception
Date Wed, 02 Mar 2016 22:30:46 -0800
Organization A noiseless patient Spider
Lines 14
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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Info mx02.eternal-september.org; posting-host="560a36ee31cc4bcf69e115b311f0cc5c"; logging-data="21158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+50M7z4VHNffauqc5NKuXf"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:auJZAoeLnVvvP8hLH7BJWbHoeRg= sha1:6KXGZ7RTgvp5AFAJ9+gmsrVo26M=
Xref csiph.com comp.lang.python:103943

Show key headers only | 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