##// END OF EJS Templates
add .meta namespace for extension writers.
fperez -
Show More
@@ -1,7 +1,7 b''
1 1 # -*- coding: utf-8 -*-
2 2 """Release data for the IPython project.
3 3
4 $Id: Release.py 986 2005-12-31 23:07:31Z fperez $"""
4 $Id: Release.py 987 2005-12-31 23:50:31Z fperez $"""
5 5
6 6 #*****************************************************************************
7 7 # Copyright (C) 2001-2005 Fernando Perez <fperez@colorado.edu>
@@ -22,9 +22,9 b" name = 'ipython'"
22 22 # because bdist_rpm does not accept dashes (an RPM) convention, and
23 23 # bdist_deb does not accept underscores (a Debian convention).
24 24
25 version = '0.7.0.rc5'
25 version = '0.7.0.rc6'
26 26
27 revision = '$Revision: 986 $'
27 revision = '$Revision: 987 $'
28 28
29 29 description = "An enhanced interactive Python shell."
30 30
@@ -6,7 +6,7 b' Requires Python 2.1 or newer.'
6 6
7 7 This file contains all the classes and helper functions specific to IPython.
8 8
9 $Id: iplib.py 984 2005-12-31 08:40:31Z fperez $
9 $Id: iplib.py 987 2005-12-31 23:50:31Z fperez $
10 10 """
11 11
12 12 #*****************************************************************************
@@ -297,6 +297,13 b' class InteractiveShell(object,Magic):'
297 297 # Default name given in compilation of code
298 298 self.filename = '<ipython console>'
299 299
300 # Make an empty namespace, which extension writers can rely on both
301 # existing and NEVER being used by ipython itself. This gives them a
302 # convenient location for storing additional information and state
303 # their extensions may require, without fear of collisions with other
304 # ipython names that may develop later.
305 self.meta = Bunch()
306
300 307 # Create the namespace where the user will operate. user_ns is
301 308 # normally the only one used, and it is passed to the exec calls as
302 309 # the locals argument. But we do carry a user_global_ns namespace
@@ -1,5 +1,10 b''
1 1 2005-12-31 Fernando Perez <Fernando.Perez@colorado.edu>
2 2
3 * IPython/iplib.py (InteractiveShell.__init__): add .meta
4 namespace for users and extension writers to hold data in. This
5 follows the discussion in
6 http://projects.scipy.org/ipython/ipython/wiki/RefactoringIPython.
7
3 8 * IPython/completer.py (IPCompleter.complete): small patch to help
4 9 tab-completion under Emacs, after a suggestion by John Barnard
5 10 <barnarj-AT-ccf.org>.
General Comments 0
You need to be logged in to leave comments. Login now