[issue28584] ICC compiler check is too permissive

2018-05-17 Thread Gianfranco
Gianfranco added the comment: My first attempt was instead of *gcc* to just check for *gcc this avoids when "icc" is the last part of the string, I admit this is not too strong. Another approach is to use basename with cut -d " " -f 1 to pick just the first parameter, bu

[issue33341] python3 fails to build if directory or sysroot contains "*icc*" string

2018-05-17 Thread Gianfranco
Gianfranco added the comment: This was the patch I wanted to add, but I picked up a wrong one (a vbox one) In any case, duplicate of issue28584 -- keywords: +patch resolution: -> duplicate Added file: https://bugs.python.org/file47596/icc-find.pa

[issue28584] ICC compiler check is too permissive

2018-05-17 Thread Gianfranco
Gianfranco added the comment: I'm attaching the patch that works also for parameters, e.g. when CC contains --sysroot=/home/icc or similar. we can mark https://bugs.python.org/issue33341 duplicate to this one I think -- nosy: +locutusofborg versions: +Python 3.8 -Python 2.7, P

[issue33341] python3 fails to build if directory or sysroot contains "*icc*" string

2018-04-26 Thread Gianfranco
Gianfranco added the comment: I signed the contributor agreement, even if such patches shouldn't need any kind of license -- ___ Python tracker <https://bugs.python.org/is

[issue33341] python3 fails to build if directory or sysroot contains "*icc*" string

2018-04-23 Thread Gianfranco
New submission from Gianfranco : Hello, as said, in yocto we pass in $CC environment, also the --sysroot keyword. If --sysroot contains the "*icc*" or "*gcc*" in path, the build fails because of wrong autoconf checks. checking in a case switch for *icc* seems bad to me, I

[issue9241] SAXParseError on unicode (Japanese) file

2010-07-13 Thread Gianfranco
New submission from Gianfranco : When parsing a UTF-16 little-endian encoded XML file containing some japanese characters, the xml.sax.parse function raises a SAXParseException exception saying "no element found". Problem arises with/on: Python 2.5.2/Windows XP Pro SP3 32 bit Py