Repository navigation
Conversation
…ile CLI (python#161706) (python#161719) pythongh-161705: Prevent shadowing stdlib in gzip/tarfile/zipfile CLI (python#161706) Remove sys.path[0] in gzip, tarfile and zipfile command line interface to prevent shadowing standard library modules from extracted files. * Add sys._path0 variable. * pymain_sys_path_add_path0() sets sys._path0. * Add runpy._remove_sys_path0(). * gzip, tarfile and zipfile main functions now call _remove_sys_path0() to prevent shadowing stdlib modules from extracted files. (cherry picked from commit e891a91) Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com> Co-authored-by: Ethan Furman <ethan@stoneleaf.us> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> (cherry picked from commit 8aa5d65)
Documentation build overview
418 files changed ·
|
|
CIFuzz / cpython3 (memory):
@StanFromIreland: Do you know the status of CIFuzz in the 3.13 branch? Is it still used/relevant? The code looks outdated, I suppose that these errors can just be ignored. Maybe we should even disable these CI in the 3.13 branch? According to In the main branch, all ValueError are ignored (UnicodeEncodeError is a subclass of ValueError): /* Ignore any ValueError, these are triggered by non-ASCII format. */
if (unpacked == NULL && PyErr_ExceptionMatches(PyExc_ValueError)) {
PyErr_Clear();
}So I suppose that |
|
I need to discuss with the fuzzer team, but as I've proposed before, I think we should rip it out for branches that aren't |
I would be fine with that. |
gh-161705: Prevent shadowing stdlib in gzip/tarfile/zipfile CLI (#161706)
Remove sys.path[0] in gzip, tarfile and zipfile command line interface to prevent shadowing standard library modules from extracted files.
(cherry picked from commit e891a91)
(cherry picked from commit 8aa5d65)