]> granicus.if.org Git - python/commit
Improve SyntaxErrors for bad future statements. Set file and location
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 28 Feb 2001 17:47:12 +0000 (17:47 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 28 Feb 2001 17:47:12 +0000 (17:47 +0000)
commitad3d3f2f3f19833f59fd7e9ec59e1714e0986e08
tree3b1b99d9f5330c80768ceb14484050a3ff7162d7
parent5687ffe0c56a827b538589fc46e79dfacfd857f3
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().
Include/pyerrors.h
Python/compile.c
Python/errors.c
Python/future.c