PyErr_NoMemory and multiple sub-interpreters

Discussion in 'Python' started by Manlio Perillo, Dec 11, 2007.

  1. Hi.

    Is it safe to use PyErr_NoMemory in a multi sub-interpreters environment?

    I have some doubts since PyErr_NoMemory uses a global variable:
    PyExc_MemoryErrorInst



    Thanks Manlio Perillo
     
    Manlio Perillo, Dec 11, 2007
    #1
    1. Advertisements

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. Maciej Sobczak

    Multiple interpreters in a single process

    Maciej Sobczak, Jan 5, 2004, in forum: Python
    Replies:
    1
    Views:
    485
  2. Paul Miller
    Replies:
    4
    Views:
    428
    Paul Miller
    Jan 23, 2004
  3. Nadav
    Replies:
    0
    Views:
    348
    Nadav
    Jun 16, 2004
  4. sonicSpammersGoToHellSmooth

    Newbie question: Sub-interpreters for CAD program

    sonicSpammersGoToHellSmooth, Aug 24, 2005, in forum: Python
    Replies:
    11
    Views:
    596
    David MacQuigg
    Aug 29, 2005
  5. Replies:
    0
    Views:
    322
  6. Ben
    Replies:
    2
    Views:
    1,217
  7. Lawrence D'Oliveiro

    Death To Sub-Sub-Sub-Directories!

    Lawrence D'Oliveiro, May 5, 2011, in forum: Java
    Replies:
    92
    Views:
    2,943
    Lawrence D'Oliveiro
    May 20, 2011
  8. Derek Basch

    Multiple interpreters and data atomicity

    Derek Basch, Aug 29, 2006, in forum: Perl Misc
    Replies:
    8
    Views:
    198
    Keith Keller
    Aug 29, 2006
Loading...