mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Don't call PyMac_OutputSeen if we have a custom console. Fix by Alexandre Parenteau.
This commit is contained in:
parent
a55ffaeee9
commit
00638bd4f9
1 changed files with 6 additions and 4 deletions
|
@ -79,10 +79,12 @@ bool GUSISIOUXSocket::initialized = false;
|
|||
|
||||
GUSISIOUXSocket::GUSISIOUXSocket(int fd) : fFd(fd)
|
||||
{
|
||||
if (!PyMac_GetDelayConsoleFlag() && !hasCustomConsole() && !initialized)
|
||||
Initialize();
|
||||
/* Tell the upper layers there's no unseen output */
|
||||
PyMac_OutputSeen();
|
||||
if (!hasCustomConsole()) {
|
||||
if (!PyMac_GetDelayConsoleFlag() && !initialized)
|
||||
Initialize();
|
||||
/* Tell the upper layers there's no unseen output */
|
||||
PyMac_OutputSeen();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue