diff options
author | Bill Collins <bilbocollins@gmail.com> | 2019-07-25 21:36:58 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@python.org> | 2019-07-25 21:36:58 (GMT) |
commit | c4cda4369f4b8f33082890d16dfc364a90658ef6 (patch) | |
tree | 23008d274c721c9719dc3b254dea4fa4fdd2d58b /Grammar | |
parent | 544fa15ea1b7b73068319bdb217b684e2fd7bacc (diff) | |
download | cpython-c4cda4369f4b8f33082890d16dfc364a90658ef6.zip cpython-c4cda4369f4b8f33082890d16dfc364a90658ef6.tar.gz cpython-c4cda4369f4b8f33082890d16dfc364a90658ef6.tar.bz2 |
bpo-37641 preserve relative file location in embeddable zip (GH-14884)
Previously, pyc files in the embeddable distribution reported their
location as <build path>/<file stem>.py. This causes a little confusion
when interpreting stack traces as the file is in a (almost certainly)
incorrect location, and lacks the full relative path to Lib (e.g.
email/mime/image.py will only show image.py).
This change preserves the Lib relative location of the source file as a
path so that stack traces are (hopefully) less misleading and more
informative.
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
Diffstat (limited to 'Grammar')
0 files changed, 0 insertions, 0 deletions