Bugs item #1503502, was opened at 2006-06-09 12:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1503502&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matt Fleming (splitscreen) Assigned to: Nobody/Anonymous (nobody) Summary: Pdb doesn't call flush on its stdout file descriptor Initial Comment: When redirecting Pdb's stdout file object, the commands that use this to write output don't call flush() on the object. This leads to problem when setting the stdout file object to a fileobject created from a socket with the makefile() method. My proposed solution to this problem is for the Pdb class to contain a method for writing to fileobjects which can be overridden by programmers if they wish to write to sockets or other streams that require flush()ing. I can work on this patch if people thinks its a good idea. Thanks, Matt ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1503502&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com