Skip to content

Commit d0a8764

Browse files
Always freeze both posixpath and ntpath.
1 parent f382877 commit d0a8764

5 files changed

Lines changed: 1416 additions & 1 deletion

File tree

Makefile.pre.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,11 @@ Python/frozen_modules/genericpath.h: Programs/_freeze_module Lib/genericpath.py
790790
$(srcdir)/Lib/genericpath.py \
791791
$(srcdir)/Python/frozen_modules/genericpath.h
792792

793+
Python/frozen_modules/ntpath.h: Programs/_freeze_module Lib/ntpath.py
794+
$(srcdir)/Programs/_freeze_module ntpath \
795+
$(srcdir)/Lib/ntpath.py \
796+
$(srcdir)/Python/frozen_modules/ntpath.h
797+
793798
Python/frozen_modules/posixpath.h: Programs/_freeze_module Lib/posixpath.py
794799
$(srcdir)/Programs/_freeze_module posixpath \
795800
$(srcdir)/Lib/posixpath.py \
@@ -1046,6 +1051,7 @@ FROZEN_FILES = \
10461051
$(srcdir)/Python/frozen_modules/_collections_abc.h \
10471052
$(srcdir)/Python/frozen_modules/_sitebuiltins.h \
10481053
$(srcdir)/Python/frozen_modules/genericpath.h \
1054+
$(srcdir)/Python/frozen_modules/ntpath.h \
10491055
$(srcdir)/Python/frozen_modules/posixpath.h \
10501056
$(srcdir)/Python/frozen_modules/stat.h \
10511057
$(srcdir)/Python/frozen_modules/hello.h

Python/frozen.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#include "frozen_modules/_collections_abc.h"
4747
#include "frozen_modules/_sitebuiltins.h"
4848
#include "frozen_modules/genericpath.h"
49+
#include "frozen_modules/ntpath.h"
4950
#include "frozen_modules/posixpath.h"
5051
#include "frozen_modules/stat.h"
5152
#include "frozen_modules/hello.h"
@@ -68,6 +69,7 @@ static const struct _frozen _PyImport_FrozenModules[] = {
6869
(int)sizeof(_Py_M___collections_abc)},
6970
{"_sitebuiltins", _Py_M___sitebuiltins, (int)sizeof(_Py_M___sitebuiltins)},
7071
{"genericpath", _Py_M__genericpath, (int)sizeof(_Py_M__genericpath)},
72+
{"ntpath", _Py_M__ntpath, (int)sizeof(_Py_M__ntpath)},
7173
{"posixpath", _Py_M__posixpath, (int)sizeof(_Py_M__posixpath)},
7274
{"stat", _Py_M__stat, (int)sizeof(_Py_M__stat)},
7375

Python/frozen_modules/MANIFEST

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)