[issue3871] cross and native build of python for mingw32 with packaging
Ray Donnelly
report at bugs.python.org
Thu May 31 01:54:20 CEST 2012
Ray Donnelly <mingw.android at gmail.com> added the comment:
Hi Éric,
Do you mean this bit?:
diff -urN a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
--- a/Lib/distutils/cygwinccompiler.py 2012-05-30 07:33:00.234438631 +0100
+++ b/Lib/distutils/cygwinccompiler.py 2012-05-30 07:33:03.320855811 +0100
@@ -392,7 +392,7 @@
return (CONFIG_H_UNCERTAIN,
"couldn't read '%s': %s" % (fn, exc.strerror))
-RE_VERSION = re.compile(b'(\d+\.\d+(\.\d+)*)')
+RE_VERSION = re.compile(b'[\D\s]*(\d+\.\d+(\.\d+)*)[\D\s]*$')
It's hardly touching distutils and only the cygwinccompiler.py part (which I doubt is used very much anyway). It there not some extensive testsuite we can run patches against that would allow distutils changes?
I guess the very limited amount of changes I've made to distutils is academic though as it depends on two patches from Roumen Petrov which touch distutils a lot more.
I thought that the distutils-is-frozen rule was only for Python 2.x and that they would be allowed for 3.x? Is this not true?
Obviously making Python cross compile properly is a very desired feature (in this day and age I'd say cross-compilation for any major software is expected to be honest with you). How can we progress this task in a way that is acceptable? Please advise.
Best regards,
Ray.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3871>
_______________________________________
More information about the Python-bugs-list
mailing list