Message141977
| Author |
terry.reedy |
| Recipients |
Devin Jeanpierre, terry.reedy |
| Date |
2011年08月12日.17:46:22 |
| SpamBayes Score |
0.0020307952 |
| Marked as misclassified |
No |
| Message-id |
<1313171183.08.0.347425684804.issue12705@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Pending an argument against, I agree with the change.
I think SyntaxError would be best. ValueError (etc) is for runtime (though this is compile during runtime).
What would you have for the error message? My first idea is
"Cannot compile multiple statements as a single statement."
This should be clear enough when calling compile(...'single').
It should at least give a hint in the doctest case. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年08月12日 17:46:23 | terry.reedy | set | recipients:
+ terry.reedy, Devin Jeanpierre |
| 2011年08月12日 17:46:23 | terry.reedy | set | messageid: <1313171183.08.0.347425684804.issue12705@psf.upfronthosting.co.za> |
| 2011年08月12日 17:46:22 | terry.reedy | link | issue12705 messages |
| 2011年08月12日 17:46:22 | terry.reedy | create |
|