Shared memory python between two separate shell-launched processes

John Nagle nagle at animats.com
Sat Feb 12 03:29:33 EST 2011


On 2/10/2011 9:21 AM, Charles Fox (Sheffield) wrote:
> On Feb 10, 3:43 pm, Jean-Paul Calderone<calderone.jeanp... at gmail.com>
> wrote:
>> On Feb 10, 9:30 am, "Charles Fox (Sheffield)"<charles.... at gmail.com>
>> wrote:

> Thanks Jean-Paul, I'll have a think about this.  I'm not sure if it
> will get me exactly what I want though, as I would need to keep
> unloading my development module and reloading it, all within the
> forked process, and I don't see how my debugger (and emacs pdb
> tracking) will keep up with that to let me step though the code.
> (this debugging is more about integration issues than single
> functions, I have a bunch of unit tests for the little bits but
> something is unhappy when I put them all together...)

    If you're having trouble debugging a sequential program,
you do not want to add shared memory to the problem.

				John Nagle



More information about the Python-list mailing list