[issue23085] update internal libffi copy to 3.2.1

2016-07-26 Thread koobs
koobs added the comment: Forgive me for asking a question that may have already been asked, or beaten to death, but what is preventing Python from requiring libffi as an external/required dependency, rather than keeping it and taking on the burden of fixes/backporting in lieu of updates or pen

[issue11048] "import ctypes" causes segfault on read-only filesystem

2016-07-26 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag versions: +Python 3.5, Python 3.6 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ __

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-07-26 Thread Martin Panter
Martin Panter added the comment: A few other buildbots shared this failure. It would be nice to see what the article is that is causing the failure, but I’m fairly confident we should just remove this part of the test. -- stage: -> needs patch ___

[issue27576] An unexpected difference between dict and OrderedDict

2016-07-26 Thread Xiang Zhang
Xiang Zhang added the comment: I write a new version restoring the fast path for dict. It now uses PyDict_Next and seems to be much faster than the path using keys. [cpython]$ ./python -m timeit -s 'from collections import OrderedDict; d = {"a":1,"c":2,"b":3,"d":4}' 'OrderedDict(d)' 100 lo

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-07-26 Thread Martin Panter
Martin Panter added the comment: I played with the server and group that is apparently used in the test: >>> server = NNTP_SSL("nntp.aioe.org") >>> [_, _, first, last, _] = server.group("fr.comp.lang.python") >>> first 2900 >>> last 2915 >>> server.body(last)[1].lines[-1] b'' >>> server.body(fir

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-07-26 Thread Martin Panter
Martin Panter added the comment: This version actually works :P -- Added file: http://bugs.python.org/file43904/ending-dot.v2.patch ___ Python tracker ___ ___

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-07-26 Thread Martin Panter
Changes by Martin Panter : Removed file: http://bugs.python.org/file43904/ending-dot.v2.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-07-26 Thread Martin Panter
Changes by Martin Panter : Added file: http://bugs.python.org/file43905/ending-dot.v2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue27626] Spelling fixes

2016-07-26 Thread Martin Panter
Martin Panter added the comment: Here is a patch that fixes some more related misspellings. This includes some test method names, and one internal C function variable. FWIW nonexistant vs nonexistent may be a bit controversial (and neither look particularly wrong to me), so I didn’t change any

[issue27626] Spelling fixes

2016-07-26 Thread Xiang Zhang
Xiang Zhang added the comment: LGTM. -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17599] mingw: detect REPARSE_DATA_BUFFER

2016-07-26 Thread Martin Panter
Martin Panter added the comment: Here is a patch implementing my suggestion to unconditionally define everything, prefixed with Py_ instead. Not tested on a normal Windows build. -- versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file43907/Py_REPARSE.patch

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: OK, in the context of IDLE it probably doesn't matter (though I recall that IDLE was given a hard time many years ago by people complaining about that same busy-waiting -- I guess batteries have improved somewhat since then). -- __

[issue17594] mingw: preset configure defaults

2016-07-26 Thread Martin Panter
Martin Panter added the comment: Interesting approach. Why two separate files, for cross-compiling and native compiling? Why not merge them together? Some of the other Min GW patches add stuff like the following to the configure.ac checks. Would it make more sense to add e.g. ac_cv_struct_add

[issue17594] mingw: preset configure defaults

2016-07-26 Thread Martin Panter
Changes by Martin Panter : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue18500] mingw: detect winsock2 and setup _socket module

2016-07-26 Thread Martin Panter
Martin Panter added the comment: The patch extends Misc/config_mingw, which is added by another patch in Issue 17594. -- dependencies: +mingw: preset configure defaults nosy: +martin.panter ___ Python tracker

[issue27631] .exe is appended to python executable based on filesystem case insensitivity

2016-07-26 Thread Ammar Askar
New submission from Ammar Askar: I encountered some odd behavior today, I compiled python inside VirtualBox, however, I compiled it inside a shared folder. The OS outside of VirtualBox is Windows, so the shared folder naturally is case-insensitive. The actual virtual OS is Debian Linux. Upon r

[issue27631] .exe is appended to python executable based on filesystem case insensitivity

2016-07-26 Thread Martin Panter
Martin Panter added the comment: My guess is it was to avoid a conflict between the “Python/” source directory, and the “./python” executable that may be built in the same directory. Wouldn’t that be a problem in your case too? -- nosy: +martin.panter _

[issue27631] .exe is appended to python executable based on filesystem case insensitivity

2016-07-26 Thread Ammar Askar
Ammar Askar added the comment: Aah, you're completely correct. Renaming it to python and doing ./python causes it to confuse it with the directory. Sorry. -- resolution: -> not a bug status: open -> closed ___ Python tracker

<    1   2