A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-February/086341.html below:

[Python-Dev] code.interact() locals + globals?

[Python-Dev] code.interact() locals + globals? [Python-Dev] code.interact() locals + globals?Brett Cannon brett at python.org
Sun Feb 22 01:59:56 CET 2009
On Sat, Feb 21, 2009 at 15:20, Rocky Bernstein <rocky at gnu.org> wrote:

> I notice  code.interact() in Python 2.6 has a parameter for locals but not
> globals. Should it?
>

What is code.interact()?::

    >>> (lambda: None).__code__.interact
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    AttributeError: 'code' object has no attribute 'interact'

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090221/093024aa/attachment.htm>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4