This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix error message for wrong exec() argument type
Type: Stage:
Components: Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, gvanrossum
Priority: normal Keywords: needs review, patch

Created on 2008-08-27 22:35 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
bltin.diff georg.brandl, 2008-08-27 22:35
Messages (3)
msg72046 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-08-27 22:35
Fixes exec() message that claims it supports file objects.

Also makes error messages from compile(), exec() and eval() more
concrete, and in the case of compile() more correct.
msg72058 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2008-08-28 03:41
Looks okay, although my taste would be to let the calls to
source_as_string() be slightly more verbose and include the "string,
bytes" part. While that has a little more redundancy, it is easier to
read, and possibly easier to grep for.
msg72069 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-08-28 07:58
OK, I changed that and committed r66051.
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 47956
2008-08-28 07:58:09georg.brandlsetstatus: open -> closed
keywords: patch, patch, needs review
resolution: fixed
messages: + msg72069
2008-08-28 03:41:01gvanrossumsetkeywords: patch, patch, needs review
nosy: + gvanrossum
messages: + msg72058
2008-08-27 22:35:05georg.brandlcreate