]> granicus.if.org Git - python/commit
Use relative instead of absolute filenames in the C-level tracebacks.
authorThomas Heller <theller@ctypes.org>
Tue, 8 Jan 2008 15:15:09 +0000 (15:15 +0000)
committerThomas Heller <theller@ctypes.org>
Tue, 8 Jan 2008 15:15:09 +0000 (15:15 +0000)
commit41f278ffa5babb0e704c9331030a58937a398902
treed2ecf8c9d367d28f0ee373e48490b10db232b577
parent62182c8b7280fa2474e82e11980df87cb928b048
Use relative instead of absolute filenames in the C-level tracebacks.
This prevents traceback prints pointing to files in this way:

  File "\loewis\25\python\Modules\_ctypes\callbacks.c", line 206, in 'calling callback function'
Modules/_ctypes/callbacks.c
Modules/_ctypes/callproc.c