[issue33725] Python crashes on macOS after fork with no exec

2020-05-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since the default has been different on different systems for as long as I remember, I see no reason to break code on *nix in the name of 'consistency'. Asyncio also works different on different systems. Aside from that idea, is there anything else left for

[issue34240] Convert test_mmap to use tempfile

2020-05-29 Thread TJG
TJG added the comment: That last should clearly have said: Thanks for doing the housekeeping work here :) -- ___ Python tracker ___ _

[issue40793] print() performance problem with very large numbers

2020-05-29 Thread Mark Dickinson
Mark Dickinson added the comment: > FYI, printing this 60 Million digit number took about 12 hours on my i7. That sounds about right: on my machine, it takes around 10 seconds to convert a 1 million-digit number to a string. Multiplying by 60**2 gives 10 hours. I do have to wonder what you'r

[issue33111] Merely importing tkinter breaks parallel code (multiprocessing, sharedmem)

2020-05-29 Thread Ned Deily
Ned Deily added the comment: In Python 3.8, the default start method for multiprocessing when run on macOS is now "spawn" instead of "fork". "Changed in version 3.8: On macOS, the spawn start method is now the default. The fork start method should be considered unsafe as it can lead to crash

[issue25247] Tkinter modules built successfully but removed because they could not be imported

2020-05-29 Thread Ned Deily
Ned Deily added the comment: It looks like this is the same issue that has been discussed in later Issue31817. Since there has been more discussion there, let's close this as a duplicate of that one. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> cl

[issue40812] _tkinter build failed when install Python-3.6.10

2020-05-29 Thread Ned Deily
Ned Deily added the comment: Since you have already found and commented on Issue31817, closing this as a duplicate of it. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Compilation Error with Python 3.6.1/3.6.3 with Tkinter __

[issue34240] Convert test_mmap to use tempfile

2020-05-29 Thread TJG
TJG added the comment: Thanks, Cheryl. It was getting pretty stale. If I think it's worthwhile I'll resurrect it. I suspect what happened was that my cpython fork got borked somehow between then and now. I probably ditched the repo and re-forked. That's for doing the housekeeping work here.

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2020-05-29 Thread Ned Deily
Ned Deily added the comment: @zhang, Did you try the solution given by dplusplus in the previous message (msg319861)? -- ___ Python tracker ___ __

[issue34240] Convert test_mmap to use tempfile

2020-05-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: @tim.golden, I closed this pull request as it was from an unknown repository and new pull request would need to be created with the changes in order to move it forward. -- nosy: +cheryl.sabella ___ Python tracker

[issue40813] Output SyntaxError is not defective

2020-05-29 Thread timofej
New submission from timofej : a SyntaxError must be look like: File "main.py", line 7 print("hello world" ^ SyntaxError: unexpected EOF while parsing but instead of this i'm get this: File "main.py", line 3 ^ SyntaxError: unexpected EOF wh

[issue40801] Expose PyFloat_AsDouble at Python level: operator.as_float?

2020-05-29 Thread Mark Dickinson
Mark Dickinson added the comment: I started a python-ideas thread: https://mail.python.org/archives/list/python-id...@python.org/thread/3YGNHGWZOU5AIBS3A52CAHPJJLY7J2CS/ -- ___ Python tracker __

[issue30710] getaddrinfo raises OverflowError

2020-05-29 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Cheryl Sabella, the pull request that got closed is the one for issue 30711. The pull request for this one has never been reviewed. -- nosy: +remi.lapeyre ___ Python tracker __

[issue30986] Add --include-py argument to Tools/msi/make_zip.py

2020-05-29 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue31817] Compilation Error with Python 3.6.1/3.6.3 with Tkinter

2020-05-29 Thread zhang
zhang added the comment: Josh,Did you solve this problem?I met the same error when install python. *** WARNING: renaming "_tkinter" since importing it failed: build/lib.linux-x86_64-3.6/_tkinter.cpython-36m-x86_64-linux-gnu.so: undefined symbol: Tcl_GetCharLength -- nosy: +zhang ___

[issue30710] getaddrinfo raises OverflowError

2020-05-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: The original pull request has been closed as inactive. If the original author is interested in pursuing this issue, it can be reopened or someone else can create a new pull request to replace it. -- nosy: +cheryl.sabella ___

[issue39943] Meta: Clean up various issues in C internals

2020-05-29 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +19754 pull_request: https://github.com/python/cpython/pull/20508 ___ Python tracker ___ _

[issue40812] _tkinter build failed when install Python-3.6.10

2020-05-29 Thread zhang
zhang added the comment: configure command :./configure --prefix=/YZGROUP4/STORAGE/personalbio/Work/Transcriptome/T/zzz/software/Python/Python-3.6.10/ --with-tcltk-includes='-I/YZGROUP4/STORAGE/personalbio/Work/Transcriptome/T/zzz/software/tcltk/8.6.8/include/' --with-tcltk-libs='-L/YZGROU

[issue40812] _tkinter build failed when install Python-3.6.10

2020-05-29 Thread zhang
New submission from zhang : building '_tkinter' extension gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -DWITH_APPINIT=1 -I./Include -I/YZGROUP4/STORAGE/personalbio/W

[issue39943] Meta: Clean up various issues in C internals

2020-05-29 Thread Ammar Askar
Ammar Askar added the comment: For sre.c, this is definitely a bug in MSVC, see: * https://stackoverflow.com/questions/10403713/why-does-visual-c-warn-on-implicit-cast-from-const-void-to-void-in-c-but * https://godbolt.org/z/BpMqA_ I'm trying to get rid of MSVC warnings to unblock https://

[issue40793] print() performance problem with very large numbers

2020-05-29 Thread U.W.
U.W. added the comment: That's ok for me. It *is* a rare edge case. FYI, printing this 60 Million digit number took about 12 hours on my i7. -- ___ Python tracker ___ ___

<    1   2