EditorWindow failed when used stand-alone if sys.ps1 not set.
Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt
This commit is contained in:
parent
c13c34c39d
commit
b3c4d16e68
|
@ -85,6 +85,10 @@ class EditorWindow(object):
|
|||
self.flist = flist
|
||||
root = root or flist.root
|
||||
self.root = root
|
||||
try:
|
||||
sys.ps1
|
||||
except AttributeError:
|
||||
sys.ps1 = '>>> '
|
||||
self.menubar = Menu(root)
|
||||
self.top = top = WindowList.ListedToplevel(root, menu=self.menubar)
|
||||
if flist:
|
||||
|
|
|
@ -3,6 +3,9 @@ What's New in IDLE 1.2c1?
|
|||
|
||||
*Release date: XX-XXX-2006*
|
||||
|
||||
- EditorWindow failed when used stand-alone if sys.ps1 not set.
|
||||
Bug 1010370 Dave Florek
|
||||
|
||||
- Tooltips failed on new-syle class __init__ args. Bug 1027566 Loren Guthrie
|
||||
|
||||
- Avoid occasional failure to detect closing paren properly.
|
||||
|
|
|
@ -1305,10 +1305,6 @@ def main():
|
|||
cmd = None
|
||||
script = None
|
||||
startup = False
|
||||
try:
|
||||
sys.ps1
|
||||
except AttributeError:
|
||||
sys.ps1 = '>>> '
|
||||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], "c:deihnr:st:")
|
||||
except getopt.error, msg:
|
||||
|
|
Loading…
Reference in New Issue