Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to avoid crashes on long output into Python console in a short time #2253

Merged
merged 1 commit into from
Apr 6, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixing crashes on long output into console in a short time. #2251
  • Loading branch information
michalgregor committed Mar 16, 2015
commit 7615b8f6b08207559333625313278e7420a6f384
1 change: 0 additions & 1 deletion spyderlib/widgets/externalshell/baseshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ def get_stderr(self):

def write_output(self):
self.shell.write(self.get_stdout(), flush=True)
QApplication.processEvents()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of erasing this line, could you comment it like this?

# Commenting the line below fixes Issue 2251
# QApplication.processEvents()

If other problems appear because of this change, it'd be easier to come back to this place later :-)

def send_to_process(self, qstr):
raise NotImplementedError
Expand Down