mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	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
					
				
					 3 changed files with 7 additions and 4 deletions
				
			
		|  | @ -85,6 +85,10 @@ def __init__(self, flist=None, filename=None, key=None, root=None): | |||
|         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: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kurt B. Kaiser
						Kurt B. Kaiser