8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ebe5c commit a20cf7cCopy full SHA for a20cf7c
Lib/idlelib/pyshell.py
@@ -684,7 +684,9 @@ def runsource(self, source):
684
# self.write("Unsupported characters in input\n")
685
# return
686
# II.runsource() calls .runcode(), overridden below.
687
- return InteractiveInterpreter.runsource(self, source, filename)
+ with warnings.catch_warnings():
688
+ warnings.filterwarnings('once')
689
+ return InteractiveInterpreter.runsource(self, source, filename)
690
691
def stuffsource(self, source):
692
"Stuff source in the filename cache"
0 commit comments