[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-24 Thread Barry Scott
gt; > From: Guido van Rossum mailto:gu...@python.org>> > Sent: Tuesday, July 21, 2020 10:57 PM > To: Huang, Yang mailto:yang.hu...@intel.com>> > Cc: python-dev@python.org <mailto:python-dev@python.org> > Subject: Re: [Python-Dev] How to customize CPython to a minimal se

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-23 Thread Matthias Klose
On 7/20/20 10:30 AM, Huang, Yang wrote: > > Hi, all > > There is a request to run python in a Linux-based embedded resource > constrained system with sqlite3 support. > > So many features are not required, like posixmodule, signalmodule, hashtable > ... > But seems there are some dependencies

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-22 Thread Simon Cross
I don't know if they suit your purposes, but both sqlite3 and a small array implementation are already available: https://github.com/micropython/micropython-lib/tree/master/sqlite3 https://github.com/v923z/micropython-ulab ___ Python-Dev mailing list --

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-22 Thread Steve Holden
n Rossum > *Sent:* Tuesday, July 21, 2020 10:57 PM > *To:* Huang, Yang > *Cc:* python-dev@python.org > *Subject:* Re: [Python-Dev] How to customize CPython to a minimal set > > > > I expect it will be unfeasible to strip CPython. If you disagree, try it. > ;-) > > &

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-22 Thread Huang, Yang
: Tuesday, July 21, 2020 10:57 PM To: Huang, Yang Cc: python-dev@python.org Subject: Re: [Python-Dev] How to customize CPython to a minimal set I expect it will be unfeasible to strip CPython. If you disagree, try it. ;-) On Mon, Jul 20, 2020 at 22:35 Huang, Yang mailto:yang.hu...@intel.com>>

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-21 Thread Steve Dower
On 21Jul2020 0633, Huang, Yang wrote: Yes. Micropyhton is also in consideration. But sqlite3 is the first usage. There should be some additional features like numpy, scipy... Not sure if micropython supports well? Or is there a feasible way to strip CPython ? Only by manually removing

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-21 Thread MRAB
a minimal Python, yet with numpy, scipy, ...? Those sound like contradictory goals to me! *From:* Guido van Rossum *Sent:* Monday, July 20, 2020 10:45 PM *To:* Huang, Yang *Cc:* python-dev@python.org *Subject:* Re: [Python-Dev] How to customize CPython to a minimal set Have you considered

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-21 Thread Guido van Rossum
s > like numpy, scipy... Not sure if micropython supports well? > > > > Or is there a feasible way to strip CPython ? > > > > Thanks. > > > > *From:* Guido van Rossum > *Sent:* Monday, July 20, 2020 10:45 PM > *To:* Huang, Yang > *Cc:* python-dev@python.or

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-21 Thread Huang, Yang
10:45 PM To: Huang, Yang Cc: python-dev@python.org Subject: Re: [Python-Dev] How to customize CPython to a minimal set Have you considered starting with micropython? It’s made for embedded systems and fully supports Python 3 syntax. Adding sqlite3 support to it will be less work than stripping

[Python-Dev] Re: How to customize CPython to a minimal set

2020-07-20 Thread Guido van Rossum
Have you considered starting with micropython? It’s made for embedded systems and fully supports Python 3 syntax. Adding sqlite3 support to it will be less work than stripping all the I/O from CPython. —Guido On Mon, Jul 20, 2020 at 06:48 Huang, Yang wrote: > > Hi, all > > There is a request