[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2017-03-28 Thread Matthew McCormick
Matthew McCormick added the comment: I have created a pull request for this issue, https://github.com/python/cpython/pull/880 that addresses extension builds for both MinGWPy and the Microsoft Visual C++ Compiler for Python 2.7. -- nosy: +thewtex ___

[issue29928] Add f-strings to Glossary

2017-03-28 Thread R. David Murray
R. David Murray added the comment: Agreed with Brett. What I was trying to say was that we aren't going to get people to change to a different term, nor are the other 'x-string' abbreviations interesting, so we should document just f-string. But I wasn't exactly clear that that was my point :

[issue29928] Add f-strings to Glossary

2017-03-28 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: I was probably misunderstood, too, in hindsight, it's my fault for not being more clear :-). In my first sentence I was merely pointing out the oddity of -string not being a very popular term until f-string came along. As for my second sentence (addi

[issue29928] Add f-strings to Glossary

2017-03-28 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Since this ticket is about adding f-strings to the Glossary, let's keep this as discussions about the inclusion of f-strings in the Glossary. If others want to add (byte|raw|unicode)-strings into the Glossary, they can open another ticket. Thanks :) P.S: I

[issue29928] Add f-strings to Glossary

2017-03-28 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Completely agree, Mariatta. I just wanted to clarify my initial position :-) -- ___ Python tracker ___ _

[issue29930] Waiting for asyncio.StreamWriter.drain() twice in parallel raises an AssertionError when the transport stopped writing

2017-03-28 Thread Rémi Cardona
Rémi Cardona added the comment: Got hit by this too, many times as I'm working with 3G devices (slow write speeds). As for "drain()", I'd say it should work like a fence/barrier: to let you know that the bytes in the buffer up to when the call was issued have been successfully written on

[issue29926] time.sleep ignores _thread.interrupt_main()

2017-03-28 Thread Eryk Sun
Eryk Sun added the comment: > Even is IDLE is started from a console, the user execution process > is not attached to one. Actually, the execution process is attached to a console, but it doesn't use it for sys.std*. Try open('con', 'w').write('spam\n') > It is much like closing a termin

[issue29938] subprocess.run calling bash on windows10 cause 0x80070057 error when capture stdout with PIPE

2017-03-28 Thread SLAPaper
New submission from SLAPaper: print(subprocess.run("bash -c ls", shell=True, stdout=subprocess.PIPE, encoding='utf_16_le').stdout) # 错误: 0x80070057 # error: 0x80070057 And the returncode is 4294967295. OS: Simp-Chinese Win10; Bash on Windows(Ubuntu 14.04 LTS). Python 3.5 and Python 3.6 produce

[issue19225] lack of PyExc_BufferError doc

2017-03-28 Thread Kinebuchi Tomohiko
Kinebuchi Tomohiko added the comment: I will create a pull request based on the patch created by beng94. In addition, I will have its contents up-to-date. -- versions: +Python 3.7 ___ Python tracker ___

[issue19225] lack of PyExc_BufferError doc

2017-03-28 Thread Kinebuchi Tomohiko
Changes by Kinebuchi Tomohiko : -- pull_requests: +783 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue28699] Imap from ThreadPool behaves unexpectedly

2017-03-28 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 794623bdb232eafd8925f76470209afcdcbcdcd2 by Xiang Zhang in branch 'master': bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-693) https://github.com/python/cpython/commit/794623bdb232eafd8925f76470209afcdcbcdcd2 -- _

[issue28699] Imap from ThreadPool behaves unexpectedly

2017-03-28 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +784 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue16011] "in" should be consistent with return value of __contains__

2017-03-28 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +785 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28699] Imap from ThreadPool behaves unexpectedly

2017-03-28 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +786 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue28699] Imap from ThreadPool behaves unexpectedly

2017-03-28 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 346dcd65e6b832a35b4cfc15b7309b51a38e9ca2 by Xiang Zhang in branch '3.6': bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-882) https://github.com/python/cpython/commit/346dcd65e6b832a35b4cfc15b7309b51a38e9ca2 -- _

[issue28699] Imap from ThreadPool behaves unexpectedly

2017-03-28 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 9f8e0904580cae3b99f8d343569b76e1be7e6092 by Xiang Zhang in branch '3.5': bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-884) https://github.com/python/cpython/commit/9f8e0904580cae3b99f8d343569b76e1be7e6092 -- _

[issue28699] Imap from ThreadPool behaves unexpectedly

2017-03-28 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue29936] Typo in __GNU*C*_MINOR__ guard affecting gcc 3.x

2017-03-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 83371f4f7f70406ea5d08c5fa8dbdbbcc0355ee1 by Benjamin Peterson (Niklas Fiekas) in branch 'master': bpo-29936: fix typo __GNU*C*_MINOR__ (#878) https://github.com/python/cpython/commit/83371f4f7f70406ea5d08c5fa8dbdbbcc0355ee1 -- nosy: +

[issue29936] Typo in __GNU*C*_MINOR__ guard affecting gcc 3.x

2017-03-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks. We should probably just unsupport gcc 3.x. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29927] Unnecessary code in the c-api/exceptions.c

2017-03-28 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset c431854a0963d4ec2875efab2d2425a738895280 by Xiang Zhang (Louie Lu) in branch 'master': bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866) https://github.com/python/cpython/commit/c431854a0963d4ec2875efab2d2425a738895280

[issue29927] Unnecessary code in the c-api/exceptions.c

2017-03-28 Thread Xiang Zhang
Xiang Zhang added the comment: Since the unnecessary codes have no semantic effect, I think they only need to go in 3.7. Thanks for your report and patch! -- resolution: -> fixed stage: -> resolved ___ Python tracker

[issue29927] Unnecessary code in the c-api/exceptions.c

2017-03-28 Thread Xiang Zhang
Changes by Xiang Zhang : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29927] Unnecessary code in the c-api/exceptions.c

2017-03-28 Thread Xiang Zhang
Changes by Xiang Zhang : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29939] Compiler warning in _ctypes_test.c

2017-03-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Compiler warning was introduced by issue29565. /home/serhiy/py/cpython/Modules/_ctypes/_ctypes_test.c: In function ‘_testfunc_large_struct_update_value’: /home/serhiy/py/cpython/Modules/_ctypes/_ctypes_test.c:53:42: warning: parameter ‘in’ set but not used

<    1   2