~ubuntu-branches/ubuntu/quantal/python2.7/quantal

« back to all changes in this revision

Viewing changes to Lib/idlelib/PyShell.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-05-30 06:44:23 UTC
  • mto: (27.1.6 oneiric) (36.1.11 sid)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20110530064423-zj6auh76957umtm4
Tags: upstream-2.7.2~rc1
ImportĀ upstreamĀ versionĀ 2.7.2~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1432
1432
            shell.interp.prepend_syspath(script)
1433
1433
            shell.interp.execfile(script)
1434
1434
 
 
1435
    # Check for problematic OS X Tk versions and print a warning message
 
1436
    # in the IDLE shell window; this is less intrusive than always opening
 
1437
    # a separate window.
 
1438
    tkversionwarning = macosxSupport.tkVersionWarning(root)
 
1439
    if tkversionwarning:
 
1440
        shell.interp.runcommand(''.join(("print('", tkversionwarning, "')")))
 
1441
 
1435
1442
    root.mainloop()
1436
1443
    root.destroy()
1437
1444