Staging
v0.5.1
https://github.com/python/cpython
Revision 0f211979c29109dcffc3039a24a9d3ecdfd900c9 authored by Miss Islington (bot) on 25 July 2019, 21:55:43 UTC, committed by GitHub on 25 July 2019, 21:55:43 UTC

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 c4cda4369f4b8f33082890d16dfc364a90658ef6)

Co-authored-by: Bill Collins <bilbocollins@gmail.com>
1 parent c594c27
History
Tip revision: 0f211979c29109dcffc3039a24a9d3ecdfd900c9 authored by Miss Islington (bot) on 25 July 2019, 21:55:43 UTC
bpo-37641 preserve relative file location in embeddable zip (GH-14884)
Tip revision: 0f21197
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.6 KB
.travis.yml -rw-r--r-- 8.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 65.4 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 13.1 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.9 KB
configure.ac -rw-r--r-- 162.2 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 44.1 KB
setup.py -rw-r--r-- 101.0 KB

README.rst

back to top