Theading problems in IDLE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nir of the Waves

    Theading problems in IDLE

    I noticed that in some circumstances IDLE does not behave right with multiple threaded scripts.



    Is this problem known?

    When exactly is this problem triggered?

    How do I avoid it?

    How do I work around it while still using threads?



    IDLE 1.0.2, Python 2.3.3



    Thanks,

    Nir


  • Matt Leslie

    #2
    Re: Theading problems in IDLE

    Nir of the Waves wrote:[color=blue]
    > I noticed that in some circumstances IDLE does not behave right with
    > multiple threaded scripts.
    >
    >
    >
    > Is this problem known?
    >
    > When exactly is this problem triggered?
    >
    > How do I avoid it?
    >
    > How do I work around it while still using threads?[/color]

    I've noticed that the print statement is not threadsafe
    under IDLE. I either write output to a file, or run from the
    command line to avoid this.

    Matt

    Comment

    Working...