Skip to contentSkip to conversation

python3: Port python2 patches to reduce the interpreter size

PATCH Superseded Maxime Ripard 5 participants 11 messages May 29, 2013 – Jul 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Some of the python2 patches were left behind when doing the python3 package. This was because the python build system can now autodetect what packages can be built in the system.

However, some of these patches are actually useful to reduce drastically the size of the interpreter.

This patch ports the relevant patches to the python3 package, and adds a new patch to remove the idle3 IDE as well from the interpreter.

Fixes #5696

---
Changes from v2:
- Rebased on top of master

 package/python3/Config.in                          |  11 ++
 ...thon3-000-generate-sysconfigdata-buildir.patch} |   0
 ...d.patch => python3-001-support-for-build.patch} |   0
 ...atch => python3-002-no-host-headers-libs.patch} |   0
 ...patch => python3-003-staging-header-libs.patch} |   0
 ...thon3-004-no-import-when-cross-compiling.patch} |   0
 ...=> python3-005-do-not-generate-pyo-files.patch} |   0
 ....patch => python3-006-reread-environment.patch} |   0
 ...> python3-007-change-pyconfig-h-location.patch} |   0
 ...8-no-rpath.patch => python3-008-no-rpath.patch} |   0
 ...atch => python3-009-verbose-module-build.patch} |   0
 ...-010-distutils-cross-compilation-support.patch} |   0
 ...=> python3-011-cross-compile-getaddrinfo.patch} |   0
 .../python3/python3-012-disable-extensions.patch   |  98 ++++++++++++++++++
 .../python3-100-optional-test-modules.patch        | 102 +++++++++++++++++++
 package/python3/python3-101-optional-pydoc.patch   |  91 +++++++++++++++++
 package/python3/python3-102-optional-2to3.patch    | 111 +++++++++++++++++++++
 package/python3/python3-103-optional-sqlite.patch  |  64 ++++++++++++
 package/python3/python3-104-optional-tk.patch      |  69 +++++++++++++
 package/python3/python3-105-optional-curses.patch  |  54 ++++++++++
 package/python3/python3-106-optional-expat.patch   |  85 ++++++++++++++++
 .../python3/python3-107-optional-codecs-cjk.patch  |  25 +++++
 package/python3/python3-108-optional-nis.patch     |  28 ++++++
 .../python3/python3-109-optional-unicodedata.patch |  25 +++++
 package/python3/python3-110-optional-idle.patch    |  83 +++++++++++++++
 package/python3/python3.mk                         |  25 +++--
 26 files changed, 862 insertions(+), 9 deletions(-)
 rename package/python3/{python3-3.3-000-generate-sysconfigdata-buildir.patch => python3-000-generate-sysconfigdata-buildir.patch} (100%)
 rename package/python3/{python3-3.3-001-support-for-build.patch => python3-001-support-for-build.patch} (100%)
 rename package/python3/{python3-3.3-002-no-host-headers-libs.patch => python3-002-no-host-headers-libs.patch} (100%)
 rename package/python3/{python3-3.3-003-staging-header-libs.patch => python3-003-staging-header-libs.patch} (100%)
 rename package/python3/{python3-3.3-004-no-import-when-cross-compiling.patch => python3-004-no-import-when-cross-compiling.patch} (100%)
 rename package/python3/{python3-3.3-005-do-not-generate-pyo-files.patch => python3-005-do-not-generate-pyo-files.patch} (100%)
 rename package/python3/{python3-3.3-006-reread-environment.patch => python3-006-reread-environment.patch} (100%)
 rename package/python3/{python3-3.3-007-change-pyconfig-h-location.patch => python3-007-change-pyconfig-h-location.patch} (100%)
 rename package/python3/{python3-3.3-008-no-rpath.patch => python3-008-no-rpath.patch} (100%)
 rename package/python3/{python3-3.3-009-verbose-module-build.patch => python3-009-verbose-module-build.patch} (100%)
 rename package/python3/{python3-3.3-010-distutils-cross-compilation-support.patch => python3-010-distutils-cross-compilation-support.patch} (100%)
 rename package/python3/{python3-3.3-011-cross-compile-getaddrinfo.patch => python3-011-cross-compile-getaddrinfo.patch} (100%)
 create mode 100644 package/python3/python3-012-disable-extensions.patch
 create mode 100644 package/python3/python3-100-optional-test-modules.patch
 create mode 100644 package/python3/python3-101-optional-pydoc.patch
 create mode 100644 package/python3/python3-102-optional-2to3.patch
 create mode 100644 package/python3/python3-103-optional-sqlite.patch
 create mode 100644 package/python3/python3-104-optional-tk.patch
 create mode 100644 package/python3/python3-105-optional-curses.patch
 create mode 100644 package/python3/python3-106-optional-expat.patch
 create mode 100644 package/python3/python3-107-optional-codecs-cjk.patch
 create mode 100644 package/python3/python3-108-optional-nis.patch
 create mode 100644 package/python3/python3-109-optional-unicodedata.patch
 create mode 100644 package/python3/python3-110-optional-idle.patch
package/python3/Config.in +11 -0
index 5959d31..4a70b5e 100644
@@ -41,6 +41,11 @@ config BR2_PACKAGE_PYTHON3_BZIP2
 	help
 	  bzip2 module for Python3
 
+config BR2_PACKAGE_PYTHON3_CODECSCJK
+	bool "codecscjk module"
+	help
+	  Chinese/Japanese/Korean codecs module for Python (large).
+
 config BR2_PACKAGE_PYTHON3_CURSES
 	select BR2_PACKAGE_NCURSES
 	bool "curses module"
@@ -66,6 +71,12 @@ config BR2_PACKAGE_PYTHON3_SSL
 	help
 	  _ssl module for Python3 (required for https in urllib etc).
 
+config BR2_PACKAGE_PYTHON3_UNICODEDATA
+	bool "unicodedata module"
+	default y
+	help
+	  Unicode character database (used by stringprep module) (large).
+
 config BR2_PACKAGE_PYTHON3_SQLITE
 	bool "sqlite module"
 	select BR2_PACKAGE_SQLITE
package/python3/python3-000-generate-sysconfigdata-buildir.patch renamed from package/python3/python3-3.3-000-generate-sysconfigdata-buildir.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-000-generate-sysconfigdata-buildir.patch
rename to package/python3/python3-000-generate-sysconfigdata-buildir.patch
package/python3/python3-001-support-for-build.patch renamed from package/python3/python3-3.3-001-support-for-build.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-001-support-for-build.patch
rename to package/python3/python3-001-support-for-build.patch
package/python3/python3-002-no-host-headers-libs.patch renamed from package/python3/python3-3.3-002-no-host-headers-libs.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-002-no-host-headers-libs.patch
rename to package/python3/python3-002-no-host-headers-libs.patch
package/python3/python3-003-staging-header-libs.patch renamed from package/python3/python3-3.3-003-staging-header-libs.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-003-staging-header-libs.patch
rename to package/python3/python3-003-staging-header-libs.patch
package/python3/python3-004-no-import-when-cross-compiling.patch renamed from package/python3/python3-3.3-004-no-import-when-cross-compiling.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-004-no-import-when-cross-compiling.patch
rename to package/python3/python3-004-no-import-when-cross-compiling.patch
package/python3/python3-005-do-not-generate-pyo-files.patch renamed from package/python3/python3-3.3-005-do-not-generate-pyo-files.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-005-do-not-generate-pyo-files.patch
rename to package/python3/python3-005-do-not-generate-pyo-files.patch
package/python3/python3-006-reread-environment.patch renamed from package/python3/python3-3.3-006-reread-environment.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-006-reread-environment.patch
rename to package/python3/python3-006-reread-environment.patch
package/python3/python3-007-change-pyconfig-h-location.patch renamed from package/python3/python3-3.3-007-change-pyconfig-h-location.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-007-change-pyconfig-h-location.patch
rename to package/python3/python3-007-change-pyconfig-h-location.patch
package/python3/python3-008-no-rpath.patch renamed from package/python3/python3-3.3-008-no-rpath.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-008-no-rpath.patch
rename to package/python3/python3-008-no-rpath.patch
package/python3/python3-009-verbose-module-build.patch renamed from package/python3/python3-3.3-009-verbose-module-build.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-009-verbose-module-build.patch
rename to package/python3/python3-009-verbose-module-build.patch
package/python3/python3-010-distutils-cross-compilation-support.patch renamed from package/python3/python3-3.3-010-distutils-cross-compilation-support.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-010-distutils-cross-compilation-support.patch
rename to package/python3/python3-010-distutils-cross-compilation-support.patch
package/python3/python3-011-cross-compile-getaddrinfo.patch renamed from package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch +0 -0
similarity index 100%
rename from package/python3/python3-3.3-011-cross-compile-getaddrinfo.patch
rename to package/python3/python3-011-cross-compile-getaddrinfo.patch
package/python3/python3-012-disable-extensions.patch new file +98 -0

98 lines not on this page · raw message

package/python3/python3-100-optional-test-modules.patch new file +102 -0

102 lines not on this page · raw message

package/python3/python3-101-optional-pydoc.patch new file +91 -0

91 lines not on this page · raw message

package/python3/python3-102-optional-2to3.patch new file +111 -0

111 lines not on this page · raw message

package/python3/python3-103-optional-sqlite.patch new file +64 -0

64 lines not on this page · raw message

package/python3/python3-104-optional-tk.patch new file +69 -0

69 lines not on this page · raw message

package/python3/python3-105-optional-curses.patch new file +54 -0

54 lines not on this page · raw message

package/python3/python3-106-optional-expat.patch new file +85 -0

85 lines not on this page · raw message

package/python3/python3-107-optional-codecs-cjk.patch new file +25 -0
new file mode 100644
index 0000000..de7f910
@@ -0,0 +1,25 @@
+Add an option to disable CJK codecs
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+
+---
+ configure.ac |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+Index: cpython/configure.ac
+===================================================================
+--- cpython.orig/configure.ac
++++ cpython/configure.ac
+@@ -2465,6 +2465,12 @@
+    DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3"
+ fi
+ 
++AC_ARG_ENABLE(codecs-cjk,
++	AS_HELP_STRING([--disable-codecs-cjk], [disable CJK codecs]),
++	[ if test "$enableval" = "no"; then
++		DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022"
++	fi])
++
+ AC_SUBST(TK)
+ AC_ARG_ENABLE(tk,
+ 	AS_HELP_STRING([--disable-tk], [disable tk]),
package/python3/python3-108-optional-nis.patch new file +28 -0
new file mode 100644
index 0000000..3c91497
@@ -0,0 +1,28 @@
+Add an option to disable NIS
+
+NIS is not necessarily available in uClibc, so we need an option to
+not compile support for it.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+
+---
+ configure.ac |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+Index: cpython/configure.ac
+===================================================================
+--- cpython.orig/configure.ac
++++ cpython/configure.ac
+@@ -2471,6 +2471,12 @@
+ 		DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022"
+ 	fi])
+ 
++AC_ARG_ENABLE(nis,
++	AS_HELP_STRING([--disable-nis], [disable NIS]),
++	[ if test "$enableval" = "no"; then
++    	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
++  	  fi])
++
+ AC_SUBST(TK)
+ AC_ARG_ENABLE(tk,
+ 	AS_HELP_STRING([--disable-tk], [disable tk]),
package/python3/python3-109-optional-unicodedata.patch new file +25 -0
new file mode 100644
index 0000000..c75ee27
@@ -0,0 +1,25 @@
+Add an option to disable unicodedata
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+
+---
+ configure.ac |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+Index: cpython/configure.ac
+===================================================================
+--- cpython.orig/configure.ac
++++ cpython/configure.ac
+@@ -2477,6 +2477,12 @@
+     	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
+   	  fi])
+ 
++AC_ARG_ENABLE(unicodedata,
++	AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]),
++	[ if test "$enableval" = "no"; then
++    	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
++  	  fi])
++
+ AC_SUBST(TK)
+ AC_ARG_ENABLE(tk,
+ 	AS_HELP_STRING([--disable-tk], [disable tk]),
package/python3/python3-110-optional-idle.patch new file +83 -0

83 lines not on this page · raw message

package/python3/python3.mk +16 -9
index 7551a7b..b4ba33e 100644
@@ -23,12 +23,8 @@ HOST_PYTHON3_CONF_OPT += 	\
 	--disable-codecs-cjk	\
 	--disable-nis		\
 	--disable-unicodedata	\
-	--disable-dbm		\
-	--disable-gdbm		\
-	--disable-bsddb		\
 	--disable-test-modules	\
-	--disable-bz2		\
-	--disable-ssl
+	--disable-idle3
 
 HOST_PYTHON3_MAKE_ENV = \
 	PYTHON_MODULES_INCLUDE=$(HOST_DIR)/usr/include \
@@ -61,6 +57,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_CURSES),y)
 PYTHON3_DEPENDENCIES += ncurses
+else
+PYTHON3_CONF_OPT += --disable-curses
 endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_PYEXPAT),y)
@@ -76,14 +74,24 @@ endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_SQLITE),y)
 PYTHON3_DEPENDENCIES += sqlite
+else
+PYTHON3_CONF_OPT += --disable-sqlite3
 endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y)
-PYTHON_DEPENDENCIES += openssl
+PYTHON3_DEPENDENCIES += openssl
+endif
+
+ifneq ($(BR2_PACKAGE_PYTHON3_CODECSCJK),y)
+PYTHON3_CONF_OPT += --disable-codecs-cjk
+endif
+
+ifneq ($(BR2_PACKAGE_PYTHON3_UNICODEDATA),y)
+PYTHON3_CONF_OPT += --disable-unicodedata
 endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y)
-PYTHON_DEPENDENCIES += bzip2
+PYTHON3_DEPENDENCIES += bzip2
 endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y)
@@ -105,10 +113,9 @@ PYTHON3_CONF_OPT += \
 	--disable-pydoc		\
 	--disable-test-modules	\
 	--disable-lib2to3	\
-	--disable-gdbm		\
 	--disable-tk		\
 	--disable-nis		\
-	--disable-dbm
+	--disable-idle3
 
 PYTHON3_MAKE_ENV = \
 	_PROJECT_BASE=$(PYTHON3_DIR) \
Signature · 1 line
1.8.2.3
#1 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Hi Maxime, all,

2013/5/29 Maxime Ripard <[email protected]>:

Quoted 11 lines

Some of the python2 patches were left behind when doing the python3 package. This was because the python build system can now autodetect what packages can be built in the system.

However, some of these patches are actually useful to reduce drastically the size of the interpreter.

This patch ports the relevant patches to the python3 package, and adds a new patch to remove the idle3 IDE as well from the interpreter.

Fixes #5696

I've run few builds (same config, with all or no modules selected, with/without this patch applied):
-rw-r--r-- 1 sam sam 64M May 29 12:39 br-output/python-without-patch/images/rootfs.tar -rw-r--r-- 1 sam sam 29M May 29 12:50 br-output/python-with-patch-v3-no-modules/images/rootfs.tar -rw-r--r-- 1 sam sam 32M May 29 12:49 br-output/python-with-patch-v3-all-modules/images/rootfs.tar

So, #5696 seems fixed. \o/

I also tried run a simple python test script[1] in the chroots built with the patch applied:
- amazingly, zlib module is available when it has been disabled in menuconfig (probably caued by auto-detection the python confiugure script);
- unfortunately, when all modules are enabled, few of them fail [2].

Here is the defconfig [3] of the build with the patch applied and all modules enabled.

[1] http://code.bulix.org/1ufj2l-83660
[2] http://code.bulix.org/sw2k9j-83662
[3] http://code.bulix.org/6jewj3-83663

Regards,

Signature · 1 line
Samuel
#2 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Dear Samuel Martin,

Quoted 8 lines · Samuel Martin

I've run few builds (same config, with all or no modules selected, with/without this patch applied):
-rw-r--r-- 1 sam sam 64M May 29 12:39 br-output/python-without-patch/images/rootfs.tar -rw-r--r-- 1 sam sam 29M May 29 12:50 br-output/python-with-patch-v3-no-modules/images/rootfs.tar -rw-r--r-- 1 sam sam 32M May 29 12:49 br-output/python-with-patch-v3-all-modules/images/rootfs.tar

I would have expected this 32M to be much closer to the 64M. Normally, with all modules enabled, we should have the same size as the Python interpreter without Maxime's patch.

Or am I missing something?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Hi Thomas,

Quoted 14 lines · Thomas Petazzoni
Quoted 8 lines · Samuel Martin

I've run few builds (same config, with all or no modules selected, with/without this patch applied):
-rw-r--r-- 1 sam sam 64M May 29 12:39 br-output/python-without-patch/images/rootfs.tar -rw-r--r-- 1 sam sam 29M May 29 12:50 br-output/python-with-patch-v3-no-modules/images/rootfs.tar -rw-r--r-- 1 sam sam 32M May 29 12:49 br-output/python-with-patch-v3-all-modules/images/rootfs.tar

I would have expected this 32M to be much closer to the 64M. Normally, with all modules enabled, we should have the same size as the Python interpreter without Maxime's patch.

Quoted 1 line

Or am I missing something?

To be honest, I don't recall much about this 6-monthes-old patch.

What I recall however is that it removed a significant size notably because we don't integrate the python unittests *at all*. And they were taking a significant space.

I'd say that this patch reduces drastically the size of the interpreter without adding extra bugs (at least none that we caught so far). So maybe we can just merge this patch, close the bug, and if someone's willing to improve the situation, he can still step up and send additional patches.

Maxime

#4 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Hi Thomas, Maxime, all,

2013/6/7 Maxime Ripard <[email protected]>:

Quoted 18 lines

Hi Thomas,

Quoted 15 lines · Thomas Petazzoni
Quoted 8 lines · Samuel Martin

I've run few builds (same config, with all or no modules selected, with/without this patch applied):
-rw-r--r-- 1 sam sam 64M May 29 12:39 br-output/python-without-patch/images/rootfs.tar -rw-r--r-- 1 sam sam 29M May 29 12:50 br-output/python-with-patch-v3-no-modules/images/rootfs.tar -rw-r--r-- 1 sam sam 32M May 29 12:49 br-output/python-with-patch-v3-all-modules/images/rootfs.tar

I would have expected this 32M to be much closer to the 64M. Normally, with all modules enabled, we should have the same size as the Python interpreter without Maxime's patch.

Or am I missing something?

Certainly ;)

Quoted 7 lines

To be honest, I don't recall much about this 6-monthes-old patch.

What I recall however is that it removed a significant size notably because we don't integrate the python unittests *at all*. And they were taking a significant space.

Quoted 7 lines

I'd say that this patch reduces drastically the size of the interpreter without adding extra bugs (at least none that we caught so far). So maybe we can just merge this patch, close the bug, and if someone's willing to improve the situation, he can still step up and send additional patches.

Maxime

Here are few diffs on the target dirs of the builds I run few days ago [1,2].

As you can see, in [2], most of the diff is due to the removal of:
- tk/idle
- 2to3 stuff
- tests

Regards,

[1] http://code.bulix.org/7tri5g-83719
[2] http://code.bulix.org/gzt98n-83720

Signature · 1 line
Samuel
#5 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Quoted 6 lines · Samuel Martin

Here are few diffs on the target dirs of the builds I run few days ago [1,2].

As you can see, in [2], most of the diff is due to the removal of:
- tk/idle
- 2to3 stuff
- tests

Ah yes, idle and 2to3 are configurable with these patches, but this option is not exposed in Kconfig, so they never get compiled in (which I forgot about).

Maxime

#6 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

In reply to Maxime Ripard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Some of the python2 patches were left behind when doing the python3 Maxime> package. This was because the python build system can now autodetect Maxime> what packages can be built in the system.

Maxime> However, some of these patches are actually useful to reduce Maxime> drastically the size of the interpreter.

Maxime> This patch ports the relevant patches to the python3 package, Maxime> and adds a new patch to remove the idle3 IDE as well from the Maxime> interpreter.

Maxime> Fixes #5696

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

I noticed that most the original python3-3.3-* patches got renamed to python3-*. But one did not, python3-3.3-012-old-stdlib-cache.patch. This feels like an oversight - was it supposed to be renamed, or deleted maybe?

Danomi -

Quoted 17 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Some of the python2 patches were left behind when doing the
python3
Maxime> package. This was because the python build system can now
autodetect
Maxime> what packages can be built in the system.

Maxime> However, some of these patches are actually useful to reduce Maxime> drastically the size of the interpreter.

Maxime> This patch ports the relevant patches to the python3 package, Maxime> and adds a new patch to remove the idle3 IDE as well from the Maxime> interpreter.

Maxime> Fixes #5696

Quoted 9 lines

Committed, thanks.

--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130701/b26c2ae3/attachment.html>

#8 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Danomi" == Danomi Manchego <[email protected]> writes:

Danomi> I noticed that most the original?python3-3.3-* patches got Danomi> renamed to python3-*. ?But one did
Danomi> not,?python3-3.3-012-old-stdlib-cache.patch. ?This feels like Danomi> an oversight - was it supposed to be renamed, or deleted maybe?

Sorry, don't know - Maxime?

Signature · 1 line
Bye, Peter Korsgaard
#9 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

In reply to Danomi Manchego

Hi Danomi,

Quoted 3 lines · Danomi Manchego

I noticed that most the original python3-3.3-* patches got renamed to python3-*. But one did not, python3-3.3-012-old-stdlib-cache.patch. This feels like an oversight - was it supposed to be renamed, or deleted maybe?

Yeah, sorry, I somehow forgot to rename that patch.

Do you want to do it?

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130703/4ef63afe/attachment-0001.asc>
#10 lore raw

PATCH v3 1/1 python3: Port python2 patches to reduce the interpreter size

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Hi Danomi,

Quoted 3 lines · Danomi Manchego
Quoted 3 lines

I noticed that most the original python3-3.3-* patches got renamed to python3-*. But one did not, python3-3.3-012-old-stdlib-cache.patch. This feels like an oversight - was it supposed to be renamed, or deleted maybe?

Maxime> Yeah, sorry, I somehow forgot to rename that patch.

Maxime> Do you want to do it?

Yes, I'll rename it.

Signature · 1 line
Bye, Peter Korsgaard