| commit | ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08 | [log] [tgz] |
|---|---|---|
| author | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Feb 28 17:47:12 2001 +0000 |
| committer | Jeremy Hylton <jeremy@alum.mit.edu> | Wed Feb 28 17:47:12 2001 +0000 |
| tree | 3b1b99d9f5330c80768ceb14484050a3ff7162d7 | |
| parent | 5687ffe0c56a827b538589fc46e79dfacfd857f3 [diff] |
Improve SyntaxErrors for bad future statements. Set file and location for errors raised in future.c. Move some helper functions from compile.c to errors.c and make them API functions: PyErr_SyntaxLocation() and PyErr_ProgramText().