modify a long-running python script while it is running?

Kevin Yuan farproc at gmail.com
Tue Dec 20 20:52:42 EST 2005


2005/12/20, Peter Hansen <peter at engcorp.com>:
>
> Kevin Yuan wrote:
> > I have a silly question: Can  *VERY*  large script cause memory overflow
> > if python load all the entire script file into memory?
>
> If you have a script that is literally larger than memory, then what
> else would happen but an overflow error of some kind?
>
> What's the point of the question, really?  You don't plan to load a
> script that is larger than, say, 100K, do you?  Maybe if you can
> describe your real concern we can help better.
>
> -Peter


Okay...... Maybe I didn't describe my question clearly. Sorry to confuse
you.

I just want to make sure that python loads the ENTIRE source file into mem
before runs it.
I think there will be problems when the source file is VERY large(may be
it's silly to think so)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051221/305c30ed/attachment.html>


More information about the Python-list mailing list