use psyco if available...

This commit is contained in:
Barış Metin
2006-04-28 18:26:11 +00:00
parent df52d99cc9
commit fe738eeb60
+6
View File
@@ -69,6 +69,12 @@ Please file a bug report. (http://bugs.uludag.org.tr)"""))
if __name__ == "__main__":
try:
import psyco
psyco.full()
except ImportError:
pass
sys.excepthook = handle_exception
locale.setlocale(locale.LC_ALL, '')