Sorry, there is no way to influence the compilers notion of the current line, but you can patch the generated code. HTH Gerald Edward C. Jones wrote: > C has a preprocessor command > #line n "filename" > Can I do this in Python? > > Ed Jones >