Try also Diet Python on SourceForge.
It's the first step toward a shrunken Python for embedded Win32
systems.
Cheers,
The Eternal Squire
Simon Wittber wrote:
> > http://www.python.org/dev/summary/2006-09-16_2006-09-30/#shrinking-python
>
> Excellent, just what I was hoping for. Thanks!
>
> -
> http://www.python.org/dev/summary/2006-09-16_2006-09-30/#shrinking-python
Excellent, just what I was hoping for. Thanks!
-Sw.
--
http://mail.python.org/mailman/listinfo/python-list
Simon Wittber wrote:
> I want to build a Python2.5 interpreter for an embedded system. I only
> have 4MB of RAM to play with, so I want to really minimise the python
> binary.
[snip]
> Google tells me that people have done this before, back in Python1.5.2
> days. Has anyone tried to do this recentl
Paul McGuire wrote:
> "Marc 'BlackJack' Rintsch" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> In <[EMAIL PROTECTED]>, Simon Wittber
>> wrote:
>>
>>> I'd also like to remove any deprecated or stuff which is left in for
>>> backwards functionality (eg Classic classes).
>>
>> Clas
"Marc 'BlackJack' Rintsch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In <[EMAIL PROTECTED]>, Simon Wittber
> wrote:
>
>> I'd also like to remove any deprecated or stuff which is left in for
>> backwards functionality (eg Classic classes).
>
> Classic classes are still needed fo
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes:
> In <[EMAIL PROTECTED]>, Simon Wittber
> wrote:
>
>> I'd also like to remove any deprecated or stuff which is left in for
>> backwards functionality (eg Classic classes).
>
> Classic classes are still needed for exceptions:
>
class E(objec
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, Simon Wittber
> wrote:
>
>> I'd also like to remove any deprecated or stuff which is left in for
>> backwards functionality (eg Classic classes).
>
> Classic classes are still needed for exceptions:
>
class E(object):
> ...pass
>
In <[EMAIL PROTECTED]>, Simon Wittber
wrote:
> I'd also like to remove any deprecated or stuff which is left in for
> backwards functionality (eg Classic classes).
Classic classes are still needed for exceptions:
>>> class E(object):
...pass
...
>>> raise E
Traceback (most recent call last):
I want to build a Python2.5 interpreter for an embedded system. I only
have 4MB of RAM to play with, so I want to really minimise the python
binary.
Things I can think of removing safely are:
- Unicode
- Long numbers
- Complex number
- Compiler / Parser
- Thread support
- OS specific stuff