[issue32989] IDLE: Fix pyparse.find_good_parse_start

2020-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +17486 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/18096 ___ Python tracker ___ ___

[issue22724] byte-compile fails for cross-builds

2020-01-21 Thread Andrew Aladjev
Andrew Aladjev added the comment: I've made a quick test of all patches provided. All patches have failed to fix it. The problem is more heavy than it looks like. Please look at the following code: PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_P

[issue39406] Implement os.putenv() with setenv() if available

2020-01-21 Thread STINNER Victor
STINNER Victor added the comment: > Maybe use SetEnvironmentVariable() on Windows? I didn't know this function. I updated PR 18095. -- ___ Python tracker ___

[issue39404] Pexpect : setwinsize() not working in SLES 12.4 kernel 4.12.14-94.41-default

2020-01-21 Thread Archana Pandey
Change by Archana Pandey : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue39397] Mac : fail to launch Python 3.8

2020-01-21 Thread Inada Naoki
Inada Naoki added the comment: > doing env I get this (no LC_ALL ) [snip] > LC_CTYPE=en_US This is wrong setting. Find where this environment variable is set and remove it. -- ___ Python tracker _

[issue39397] Mac : fail to launch Python 3.8

2020-01-21 Thread Sebastien Foo
Sebastien Foo added the comment: thanks averyone to help me here are the values you are expecting locale LANG="en_US" LC_COLLATE="en_US" LC_CTYPE="en_US" LC_MESSAGES="en_US" LC_MONETARY="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_ALL= doing env I get this (no LC_ALL ) LC_TERMINAL_VERSION=3.

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-21 Thread Mark Dickinson
Mark Dickinson added the comment: > I don't have an issue reference to hand See #18513. -- ___ Python tracker ___ ___ Python-bugs-

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-21 Thread Mark Dickinson
Mark Dickinson added the comment: So on cmath.exp, we've seen something like this before, on macOS. What was happening was that the C source contained matching `sin` and `cos` calls, and a compiler optimization replaced that pair of calls with a single call to C's cexp. And then cexp didn't

[issue39408] Add support for SQLCipher

2020-01-21 Thread Sebastian Noack
New submission from Sebastian Noack : SQLCipher is industry-standard technology for managing an encrypting SQLite databases. It has been implemented as a fork of SQLite3. So the sqlite3 corelib module would build as-is against it. But rather than a fork (of this module), I'd rather see integr

[issue39407] Bitfield Union does not work for bit widths greater than 8 bits

2020-01-21 Thread James
New submission from James : Creating a Bitfield from a ctypes union and structure results in unexpected behaviour. It seems when you set the bit-width of a structure field to be greater than 8 bits it results in the subsequent bits being set to zero. class BitFieldStruct(ctypes.LittleEndian

[issue39406] Implement os.putenv() with setenv() if available

2020-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Maybe use SetEnvironmentVariable() on Windows? -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue39406] Implement os.putenv() with setenv() if available

2020-01-21 Thread STINNER Victor
STINNER Victor added the comment: setenv() is available on: * Linux: http://man7.org/linux/man-pages/man3/setenv.3.html * macOS: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/setenv.3.html * FreeBSD: https://www.freebsd.org/cgi/man.cgi?que

[issue39395] The os module should unset() environment variable at exit

2020-01-21 Thread STINNER Victor
STINNER Victor added the comment: I proposed bpo-39406 which avoids to have to clear environment variables set by Python at exit on platforms providing setenv(). -- ___ Python tracker __

[issue39406] Implement os.putenv() with setenv() if available

2020-01-21 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17485 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18095 ___ Python tracker ___ _

[issue39395] The os module should unset() environment variable at exit

2020-01-21 Thread STINNER Victor
STINNER Victor added the comment: Fedora downstream issue, crash in the "elements" package: https://bugzilla.redhat.com/show_bug.cgi?id=1791761 -- ___ Python tracker ___

[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2020-01-21 Thread Vinay Sajip
Vinay Sajip added the comment: The Scripts/bin thing is not specific to venv - for whatever reason, the original Windows implementation chose to use "Scripts" rather than "bin" for the executables directory under Windows, and I don't think it can be changed now without affecting backward com

[issue22724] byte-compile fails for cross-builds

2020-01-21 Thread Andrew Aladjev
Andrew Aladjev added the comment: Hello. I've provided a double recompilation workaround in the following gentoo bug https://bugs.gentoo.org/705970. You can use it for now if you don't want to wait until this issue will be fixed. I will try patches provided by people in this issue today's ev

[issue39406] Implement os.putenv() with setenv() if available

2020-01-21 Thread STINNER Victor
New submission from STINNER Victor : Currently, os.putenv() is always implemented with putenv(). The problem is that putenv(str) puts directly the string into the environment, the string is not copied. So Python has to keep track of this memory. In Python 3.9, this string is now cleared at Py

[issue39397] Mac : fail to launch Python 3.8

2020-01-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: An additional question: what version of macOS are you using? -- ___ Python tracker ___ ___ Pytho

[issue22724] byte-compile fails for cross-builds

2020-01-21 Thread Andrew Aladjev
Change by Andrew Aladjev : -- nosy: +puchenyaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue39399] Cross compilation using different libc is broken

2020-01-21 Thread Andrew Aladjev
Andrew Aladjev added the comment: Hello, it seems like issue 22724 is completely the same. Let's discuss solutions there. Thank you. -- ___ Python tracker ___ ___

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-21 Thread STINNER Victor
STINNER Victor added the comment: > For this particular case, I'd be fine with adding a special case for `x == y` > in the code (suitably commented to explain why the special case is there, and > under what conditions it can be removed). I proposed PR 18094. Because of your parenthesis, I c

[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

2020-01-21 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17484 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18094 ___ Python tracker ___ _

<    1   2