• Home
  • Raw
  • Download

Lines Matching +full:localhost +full:- +full:test +full:- +full:win

40 HOST = '127.0.0.1' # python execution server on localhost loopback
70 """Show Idle-format warning (after replacing warnings.showwarning).
74 and the output of a hard-coded prompt.
116 if key[:1] + key[-1:] == '<>':
131 self.text.bind("<<set-breakpoint-here>>", self.set_breakpoint_here)
132 self.text.bind("<<clear-breakpoint-here>>", self.clear_breakpoint_here)
133 self.text.bind("<<open-python-shell>>", self.flist.open_shell)
151 ("Set Breakpoint", "<<set-breakpoint-here>>", None),
152 ("Clear Breakpoint", "<<clear-breakpoint-here>>", None)
229 # needs to be re-verified, since the breaks at the time the
301 # "Extend base method - clear breaks if module is modified"
307 "Extend base method - clear breaks when module is closed"
384 "Override the base class - just re-raise EOFError"
413 w = ['-W' + s for s in sys.warnoptions]
415 w.append('-Qnew')
419 del_exitf = idleConf.GetOption('main', 'General', 'delete-exitfunc',
425 if sys.platform[:3] == 'win' and ' ' in sys.executable:
430 return [decorated_exec] + w + ["-c", command, str(self.port)]
456 #time.sleep(20) # test to simulate GUI not accepting connection
502 console.text.delete("iomark", "end-1c")
504 halfbar = ((int(console.width) -len(tag) - 4) // 2) * '='
506 console.text.mark_set("restart", "end-1c")
588 if self.tkconsole.getvar("<<toggle-jit-stack-viewer>>"):
671 if isinstance(source, unicode) and IOBinding.encoding != 'utf-8':
673 source = '# -*- coding: %s -*-\n%s' % (
721 pos = "iomark + %d chars" % (offset-1)
724 (lineno-1, offset-1)
757 if self.tkconsole.getvar("<<toggle-jit-stack-viewer>>"):
763 if key[:1] + key[-1:] != "<>":
837 "Run IDLE with the -n command line switch to start without a "
902 text.bind("<<newline-and-indent>>", self.enter_callback)
903 text.bind("<<plain-newline-and-indent>>", self.linefeed_callback)
904 text.bind("<<interrupt-execution>>", self.cancel_callback)
905 text.bind("<<end-of-file>>", self.eof_callback)
906 text.bind("<<open-stack-viewer>>", self.open_stack_viewer)
907 text.bind("<<toggle-debugger>>", self.toggle_debugger)
908 text.bind("<<toggle-jit-stack-viewer>>", self.toggle_jit_stack_viewer)
910 text.bind("<<view-restart>>", self.view_restart_mark)
911 text.bind("<<restart-shell>>", self.restart_shell)
963 self.setvar("<<toggle-debugger>>", not not db)
1079 line = self.text.get("iomark", "end-1c")
1080 if len(line) == 0: # may be EOF if we quit our mainloop with Ctrl-C
1104 return # Active selection -- always use default binding
1127 self.text.compare("insert", "==", "end-1c")):
1164 # Check if there's a relevant stdin range -- if so, use it
1173 # No stdin mark -- just get the current line, less any prompt
1187 s = self.text.get("insert", "end-1c")
1189 self.text.delete("insert", "end-1c")
1192 if self.text.compare("insert", "<", "end-1c linestart"):
1196 self.text.mark_set("insert", "end-1c")
1202 self.text.tag_add("stdin", "iomark", "end-1c")
1218 self.text.mark_set("insert", "end-1c")
1237 line = self.text.get("iomark", "end-1c")
1241 while i > 0 and line[i-1] in " \t":
1242 i = i-1
1243 if i > 0 and line[i-1] == "\n":
1244 i = i-1
1245 while i > 0 and line[i-1] in " \t":
1246 i = i-1
1269 "Callback for Run/Restart Shell Cntl-F6"
1279 self.text.mark_set("insert", "end-1c")
1284 source = self.text.get("iomark", "end-1c")
1287 if self.text.get("end-2c") != "\n":
1288 self.text.insert("end-1c", "\n")
1289 self.text.mark_set("iomark", "end-1c")
1368 def read(self, size=-1):
1372 size = -1
1391 def readline(self, size=-1):
1395 size = -1
1424 USAGE: idle [-deins] [-t title] [file]*
1425 idle [-dns] [-t title] (-c cmd | -r file) [arg]*
1426 idle [-dns] [-t title] - [arg]*
1428 -h print this help message and exit
1429 -n run IDLE without a subprocess (see Help/IDLE Help for details)
1433 -e open an edit window
1434 -i open a shell window
1436 The following options imply -i and will open a shell:
1438 -c cmd run the command in a shell, or
1439 -r file run script from file
1441 -d enable the debugger
1442 -s run $IDLESTARTUP or $PYTHONSTARTUP before anything else
1443 -t title set title of shell window
1445 A default edit window will be bypassed when -c, -r, or - are used.
1447 [arg]* are passed to the command (-c) or script (-r) in sys.argv[1:].
1457 idle -est "Baz" foo.py
1461 idle -c "import sys; print sys.argv" "foo"
1462 Open a shell window and run the command, passing "-c" in sys.argv[0]
1465 idle -d -s -r foo.py "Hello World"
1470 echo "import sys; print sys.argv" | idle - "foobar"
1492 if o == '-c':
1495 if o == '-d':
1498 if o == '-e':
1500 if o == '-h':
1503 if o == '-i':
1505 if o == '-n':
1507 if o == '-r':
1515 if o == '-s':
1518 if o == '-t':
1521 if args and args[0] == '-':
1527 if args and args[0] == '-':
1530 sys.argv = ['-c'] + args
1548 'editor-on-startup', type='bool')
1566 root.tk.call('wm', 'iconphoto', str(root), "-default", *icons)
1578 root.unbind_class('Text', '<B2-Motion>')
1595 # On OSX: when the user has double-clicked on a file that causes