Sharing objects between sub-interpreters

Discussion in 'Python' started by Nadav, Jun 16, 2004.

  1. Nadav

    Nadav Guest

    Hi,

    I could not find any info about this. I am writing a C
    application that embeds Python.

    The application starts several python threads, each one in its
    own sub-interpreter.

    Is it possible to make them reference python objects defined
    in the main interpreter?

    Another question: Can I make all the threads run in the same
    interpreter but without interfering with each other variables
    (each one has its own namespace)?

    Thanks,
    Nadav
    Nadav, Jun 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nadav
    Replies:
    0
    Views:
    280
    Nadav
    Jun 18, 2004
  2. sonicSpammersGoToHellSmooth

    Newbie question: Sub-interpreters for CAD program

    sonicSpammersGoToHellSmooth, Aug 24, 2005, in forum: Python
    Replies:
    11
    Views:
    466
    David MacQuigg
    Aug 29, 2005
  3. Replies:
    0
    Views:
    261
  4. Ben
    Replies:
    2
    Views:
    883
  5. Lawrence D'Oliveiro

    Death To Sub-Sub-Sub-Directories!

    Lawrence D'Oliveiro, May 5, 2011, in forum: Java
    Replies:
    92
    Views:
    2,020
    Lawrence D'Oliveiro
    May 20, 2011
Loading...

Share This Page