##// END OF EJS Templates
Merge pull request #2849 from wking/uniq_stable-comprehension...
Merge pull request #2849 from wking/uniq_stable-comprehension utils/data: Use list comprehension for uniq_stable() This should be faster than and explicit for loop. Also, a set makes more sense than a dict if we only care about values. After these changes, the resulting code is the same as Dave Kirby's uniqify() suggestion on Peter Bengtsson's blog [1]. [1]: http://www.peterbe.com/plog/uniqifiers-benchmark

File last commit:

r8667:a846eadb
r9258:512eaf5a merge
Show More
__main__.py
14 lines | 500 B | text/x-python | PythonLexer
# encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython.frontend.terminal.ipapp import launch_new_instance
launch_new_instance()