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/2012-November/122545.html below:

[Python-Dev] Okay to document the "exec tuple" form of the exec statement in Python 2.7?

[Python-Dev] Okay to document the "exec tuple" form of the exec statement in Python 2.7?Mark Dickinson dickinsm at gmail.com
Mon Nov 5 14:09:55 CET 2012
On Mon, Nov 5, 2012 at 12:22 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> If you can find an existing test for it, then definitely (although the
> fact it didn't previously work on Jython suggests there may not be
> one).

I don't see any *direct* tests for this feature, though there are a
couple of tests that just happen to use that form of 'exec'
(test_pkg.py, test_module.py, test_pep263,py).

> If there's no test, then I'd still be in favour of making it official
> both by testing *and* documenting it, for the forward compatibility
> benefits you mention on the tracker.

Sounds good to me. I'll add a note to the issue about tests.

Mark
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