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


Groups > comp.lang.python > #63542 > unrolled thread

Re: Recover handle to shadowed builtin?

Started byDave Angel <davea@davea.name>
First post2014-01-08 19:02 -0500
Last post2014-01-08 19:02 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Recover handle to shadowed builtin? Dave Angel <davea@davea.name> - 2014-01-08 19:02 -0500

#63542 — Re: Recover handle to shadowed builtin?

FromDave Angel <davea@davea.name>
Date2014-01-08 19:02 -0500
SubjectRe: Recover handle to shadowed builtin?
Message-ID<mailman.5213.1389225667.18130.python-list@python.org>
On Wed, 8 Jan 2014 14:52:10 -0500, Roy Smith <roy@panix.com> wrote:
> 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()?

goodsum=__builtins__.sum

-- 
DaveA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web