cpython/PC/layout
Miss Islington (bot) 0f211979c2
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>
(cherry picked from commit c4cda4369f)

Co-authored-by: Bill Collins <bilbocollins@gmail.com>
2019-07-25 14:55:43 -07:00
..
support bpo-37672: Switch Windows Store package to use pip.ini for user mode (GH-14939) 2019-07-24 15:31:48 -07:00
__init__.py bpo-34977: Add Windows App Store package (GH-11027) 2018-12-10 18:52:57 -08:00
__main__.py bpo-34977: Add Windows App Store package (GH-11027) 2018-12-10 18:52:57 -08:00
main.py bpo-37641 preserve relative file location in embeddable zip (GH-14884) 2019-07-25 14:55:43 -07:00