Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.056 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.01; 'builtin': 0.09; 'mode,': 0.16; 'pylab': 0.16; 'received:166.84': 0.16; 'received:166.84.1': 0.16; 'received:166.84.1.89': 0.16; 'received:24.136': 0.16; 'received:mailbackend.panix.com': 0.16; 'received:panix.com': 0.16; 'roy': 0.16; 'received:166': 0.19; '---': 0.24; 'received:24': 0.27; "i'm": 0.30; 'there': 0.35; 'charset:us- ascii': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'header:Message-Id:1': 0.63; 'sum': 0.64; 'smith': 0.68; 'email addr:panix.com': 0.84; 'subject:handle': 0.84; 'recover': 0.91 From: Roy Smith Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 8 Jan 2014 14:52:10 -0500 Subject: Recover handle to shadowed builtin? To: "python-list@python.org List" Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1389210743 news.xs4all.nl 2837 [2001:888:2000:d::a6]:53580 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63511 I'm working with ipython's pylab mode, which replaces the builtin sum() = with the one from numpy: In [105]: sum Out[105]: Is there any way to recover a reference to the builtin sum()? --- Roy Smith roy@panix.com