Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63511

Recover handle to shadowed builtin?

From Roy Smith <roy@panix.com>
Date 2014-01-08 14:52 -0500
Subject Recover handle to shadowed builtin?
Newsgroups comp.lang.python
Message-ID <mailman.5194.1389210743.18130.python-list@python.org> (permalink)

Show all headers | View raw


I'm working with ipython's pylab mode, which replaces the builtin sum() with the one from numpy:

In [105]:
sum

Out[105]:
<function numpy.core.fromnumeric.sum>

Is there any way to recover a reference to the builtin sum()?


---
Roy Smith
roy@panix.com


Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Recover handle to shadowed builtin? Roy Smith <roy@panix.com> - 2014-01-08 14:52 -0500
  Re: Recover handle to shadowed builtin? roy@panix.com (Roy Smith) - 2014-01-08 15:15 -0500
    Re: Recover handle to shadowed builtin? Chris Angelico <rosuav@gmail.com> - 2014-01-09 09:22 +1100

csiph-web