#6 fix a tiny py2exe bug with the Blackhole stderr replacement

closed-fixed
nobody
None
5
2004-07-07
2004-05-14
Eric Ries
No

The Blackhole class needs a flush() function in order to
avoid errors being written to the exe.log when in non-
console mode. Here is the change:

class Blackhole(object):
softspace = 0
def write(self, text):
pass
def flush(*args, **kwargs):
pass

Discussion

  • Thomas Heller

    Thomas Heller - 2004-05-14

    Logged In: YES
    user_id=11105

    This should already be fixed in CVS. Can you please try it
    out if this cures your problem?

     
  • Thomas Heller

    Thomas Heller - 2004-07-07
    • status: open --> open-fixed
     
  • Thomas Heller

    Thomas Heller - 2004-07-07

    Logged In: YES
    user_id=11105

    No response, closing.

     
  • Thomas Heller

    Thomas Heller - 2004-07-07
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks