[issue23847] Add xml pretty print option to ElementTree

2015-04-02 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- nosy: +eli.bendersky, scoder -rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23847 ___

[issue23847] Add xml pretty print option to ElementTree

2015-04-02 Thread Raymond Hettinger
New submission from Raymond Hettinger: The xml.dom.minidom package has as a xml.toprettyxml() function that has the problem of altering the whitespace of the text of elements. The ElementTree module needs a prettify option that works better, perhaps something based of Effbot's code at:

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, and the ctypes module (import) must be optional, just skip the test if ctypes is missing. http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/9555/steps/test/logs/stdio test test_exceptions crashed -- Traceback (most recent call

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 954e7e1d85f1 by Serhiy Storchaka in branch '2.7': Issue #21526: Fixed the test_booleans test for wantobjects = 0. https://hg.python.org/cpython/rev/954e7e1d85f1 New changeset 4255ca2f5314 by Serhiy Storchaka in branch '3.4': Issue #21526: Fixed the

[issue23847] Add xml pretty print option to ElementTree

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - duplicate stage: - resolved status: open - closed superseder: - xml.etree.ElementTree: add feature to prettify XML output ___ Python tracker rep...@bugs.python.org

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7907746baa0d by Serhiy Storchaka in branch '3.4': Issue #22977: Fixed formatting Windows error messages on Wine. https://hg.python.org/cpython/rev/7907746baa0d New changeset cf0cac11813d by Serhiy Storchaka in branch 'default': Issue #22977: Fixed

[issue23834] socketmodule.c: add sock_call() to fix how the timeout is recomputed

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: The changeset 920b700d9509 fixed AMD64 Snow Leop 3.x, I close the issue. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23834

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: On Python 3.4, windll.kernel32.RaiseException(2, 0, 0, None) raised a FileNotFound error. On Python 3.5, it displays a popup and the program exit. It looks like the behaviour of RaiseException() changed in Python 3.5. I tested in debug and release mode.

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, you are right. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22977 ___ ___ Python-bugs-list mailing

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22977 ___

[issue23841] py34 OrderedDict is using weakref for root reference

2015-04-02 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23841 ___ ___

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Martin Panter
Martin Panter added the comment: I don’t pretend to know what is going on, or the best way to fix it. That exit code is the same code that my test passes to RaiseException. Perhaps it would be best to disable the test until someone with more knowledge or a Windows compiler can investigate.

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset de3496cd609e by Serhiy Storchaka in branch '3.4': Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. https://hg.python.org/cpython/rev/de3496cd609e New changeset b2413da7516f by Serhiy Storchaka in branch 'default': Issue #21526: Fixed

[issue23843] ssl.wrap_socket doesn't handle virtual TLS hosts

2015-04-02 Thread John Nagle
John Nagle added the comment: I'm using wrap_socket because I want to read the details of a server's SSL certificate. Starting from Python 3.2, it can be more flexible to use SSLContext.wrap_socket() instead does not convey that ssl.wrap_socket() will fail to connect to some servers

[issue23849] Leaks in test_deque

2015-04-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23849 ___ ___ Python-bugs-list

[issue23841] py34 OrderedDict is using weakref for root reference

2015-04-02 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23841 ___ ___

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21526 ___ ___

[issue23847] Add xml pretty print option to ElementTree

2015-04-02 Thread Stefan Behnel
Stefan Behnel added the comment: duplicate of issue 14465 -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23847 ___ ___

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When I said this, I understood that the patch should be backported to maintained releases. Unpatched Python with Tcl 8.5: import tkinter; tcl = tkinter.Tcl() tcl.call('expr', 'false') booleanString object: 'false' bool(tcl.call('expr', 'false')) True

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that Windows appreciate your change :-) http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/6011/steps/test/logs/stdio [216/393] test_exceptions Traceback (most recent call last): File

[issue9026] argparse subcommands not printed in the same order they were added

2015-04-02 Thread Ned Deily
Ned Deily added the comment: @ddvento: This issue has been closed and the fixes for it released several years ago. Comments added here will likely be ignored. If you believe there is a problem with current releases (for Python 2, Python 2.7.9 is current), please open a new issue and

[issue23848] faulthandler: setup an exception handler on Windows

2015-04-02 Thread STINNER Victor
New submission from STINNER Victor: Attached patch setup an exception handler on Windows. I wrote it when investigating a failure of test_exceptions related to the issue #22977. faulthandler was not trigerred while the program crashed. I didn't test the patch yet (I tested a previous attempt,

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2015-04-02 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +davin, sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6766 ___ ___ Python-bugs-list mailing list

[issue23849] Leaks in test_deque

2015-04-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -m test.regrtest -R 3:3:reflog test_deque [1/1] test_deque beginning 6 repetitions 123456 .. test_deque leaked [91, 91, 91] references, sum=273 test_deque leaked [21, 23, 23] memory blocks, sum=67 1 test failed: test_deque --

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And indeed, app-BooleanType is NULL, because the booleanString type is not registered in Tcl. Thank you for pointing on it Amaury. Now it is fixed. -- status: open - closed ___ Python tracker

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you provide a patch if you can test it Victor? -- assignee: serhiy.storchaka - stage: resolved - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22977

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21526 ___

[issue22516] Windows Installer won't - even when using just for meoption

2015-04-02 Thread R. David Murray
R. David Murray added the comment: I just reviewed this whole issue. Steve says that the original issue you raised will be resolved in 3.5 (I believe pretty much already has been?). So given the last couple of messages I'm going to re-close this, as a continuing discussion here seems to be

[issue2175] Expat sax parser silently ignores the InputSource protocol

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2175 ___

[issue21319] WindowsRegistryFinder never added to sys.meta_path

2015-04-02 Thread Eric Snow
Eric Snow added the comment: Awesome. Thanks Tim. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21319 ___ ___ Python-bugs-list mailing list

[issue10590] Parameter type error for xml.sax.parseString(string, ...)

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After resolving issue2175 and committing tests that works with current code, only minimum of changes are left. Here is a patch that adds support of string argument in xml.sax.parseString(). -- components: +Library (Lib) -Unicode stage: needs patch -

[issue23854] qtconsole and all windows based python have issues loading

2015-04-02 Thread R. David Murray
R. David Murray added the comment: This is very unlikely to be a core python bug. Please post your problem to the python-list mailing list, where you are more likely to get help in solving your problem. -- nosy: +r.david.murray resolution: - third party stage: - resolved status:

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2015-04-02 Thread Bill Parker
New submission from Bill Parker: Hello All, In reviewing code in Python-3.4.3/PC/_msi.c, I found a call to malloc() at line 326 in function 'static PyObject* msierror(int status)' in which the call is made and assigned to variable 'res', but no check for NULL, indicating failure is made

[issue10590] Parameter type error for xml.sax.parseString(string, ...)

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file38810/sax_parse_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10590 ___

[issue20718] OpenBSD/AIX: tests passing a file descriptor with sendmsg/recvmsg failures

2015-04-02 Thread Cédric Krier
Changes by Cédric Krier cedric.kr...@b2ck.com: -- nosy: +ced ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20718 ___ ___ Python-bugs-list mailing

[issue16840] Tkinter doesn't support large integers

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16840 ___

[issue22516] Windows Installer won't - even when using just for meoption

2015-04-02 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22516 ___ ___

[issue10590] Parameter type error for xml.sax.parseString(string, ...)

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ac1b21fbb42 by Serhiy Storchaka in branch '2.7': Issue #10590: Added tests for xml.sax.parse() and xml.sax.parseString(). https://hg.python.org/cpython/rev/3ac1b21fbb42 New changeset ca8666310eb3 by Serhiy Storchaka in branch '3.4': Issue #10590:

[issue18629] future division breaks timedelta division by integer

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@clusterhq.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18629 ___ ___

[issue22516] Windows Installer won't - even when using just for meoption

2015-04-02 Thread Mark Mikofski
Mark Mikofski added the comment: J. Morton and anyone else needing a Python-2.7.9 Windows release to use without admin rights or to embed in a personal application can see my blog to roll there own or download one of the versions from my dropbox

[issue23817] Consider FreeBSD like any other OS in SOVERSION

2015-04-02 Thread koobs
koobs added the comment: @haypo, yes, absolutely and no We will backport to security-only branches ourselves. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23817 ___

[issue22708] httplib/http.client in method _tunnel used HTTP/1.0 CONNECT method

2015-04-02 Thread Martin Panter
Martin Panter added the comment: Patch looks good to me. I’m not an expert on non-ASCII domain names, but enabling HTTP 1.1 should be okay, at least for new versions of Python. CONNECT for HTTP 1.1 is described at https://tools.ietf.org/html/rfc7231#section-4.3.6. Also, see the code review

[issue20718] OpenBSD/AIX: tests passing a file descriptor with sendmsg/recvmsg failures

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@clusterhq.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20718 ___ ___

[issue6555] distutils config file should have the same name on both platforms and all scopes

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@clusterhq.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6555 ___ ___

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Martin Panter
Martin Panter added the comment: Thanks for fixing the test Victor. The ctypes.pythonapi trick looks like a much better way. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22977 ___

[issue6377] distutils compiler switch ignored

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@clusterhq.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6377 ___ ___

[issue7352] pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir

2015-04-02 Thread koobs
koobs added the comment: @doko, as per the original report by Joel, the issue is: * Reproducible with --enable-shared (most downstream OS's / packages use this) Additionally: * in the python script, not the shell script (by default used by 3.4) * Is reproducible in all branches (including

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2015-04-02 Thread Giacomo Alzetta
Changes by Giacomo Alzetta giacomo.alze...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python type: - enhancement versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23850

[issue23830] Add AF_IUCV support to sockets

2015-04-02 Thread Neale Ferguson
Neale Ferguson added the comment: I can provide one if required. I have access to an s390x Linux Foundation machine where I have a couple of virtual machines that could be used. Original message From: Nick Coghlan rep...@bugs.python.org Date:2015/04/02 06:35 (GMT-05:00) To:

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: Example of test_connect_eintr3.py output on OpenIndiana: Register SIGINT Register SIGALRM Register SIGWINCH Register SIGTERM Register SIGCHLD Send SIGALRM every 200.0 ms Run func() during 5.0 seconds Type CTRL+c, resize the window, etc.

[issue23648] PEP 475 meta issue

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 66e4ef9a7467 by Victor Stinner in branch 'default': Issue #23648: Complete the list of modified functions for the PEP 475 https://hg.python.org/cpython/rev/66e4ef9a7467 -- ___ Python tracker

[issue23839] Clear caches after every test

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I ran all tests with and without clearing all caches. Unpatched (without clearing): real31m23.694s user16m10.340s sys 2m25.084s Patched (with clearing): real29m28.859s user16m19.048s sys 1m42.184s There is no significant difference

[issue23839] Clear caches after every test

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file38804/regrtest_clear_caches.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23839

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75fcc7a3738a by Victor Stinner in branch 'default': Issue #23618: socket.socket.connect() now waits until the connection completes https://hg.python.org/cpython/rev/75fcc7a3738a -- ___ Python tracker

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/2904/steps/test/logs/stdio == FAIL: test_connect_ex_error (test.test_ssl.NetworkedTests)

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: test_connect_eintr3.py: even better: - block signals in the server thread - count signals during connect() - display progress: * for signal received during connect(), _ for signal received before/after connect(), [ and ] for the beginning and end of a

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset dafae2b3c257 by Victor Stinner in branch '3.4': Issue #22977: Fix test_exceptions https://hg.python.org/cpython/rev/dafae2b3c257 -- ___ Python tracker rep...@bugs.python.org

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44adbb5eeb4b by Victor Stinner in branch 'default': Issue #23618: Fix sock_connect_impl(), set the socket error code https://hg.python.org/cpython/rev/44adbb5eeb4b -- ___ Python tracker

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2015-04-02 Thread Giacomo Alzetta
New submission from Giacomo Alzetta: Python2.7 documentation is missing critical information regarding the backporting of the new-buffer protocol. There is no mention whatsoever of the Py_TPFLAGS_HAVE_NEWBUFFER flag which is required to implement it. The only way to discover it is by reading

[issue10395] new os.path function to extract common prefix based on path components

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10395 ___

[issue23803] str.partition() is broken in 3.4

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23803 ___

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: test_connnect_eintr.py: program to interrupt socket.connect() with signals. It looks like socket.connect() cannot be interrupted by signals: connect() only fails with WSAEINTR when WSACancelBlockingCall() is called, but WSACancelBlockingCall() has been

[issue23756] Tighten definition of bytes-like objects

2015-04-02 Thread Stefan Krah
Changes by Stefan Krah ste...@bytereef.org: -- assignee: docs@python - skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23756 ___ ___

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: Hum, connect() does not always block with test_connect_eintr.py, and this program sometimes fail with ConnectionResetError on connect() on FreeBSD. New program which works on Linux and FreeBSD. It now ensures that connect() will block. -- Added file:

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: Example of test_connect_eintr3.py output on Linux (3.18): Register SIGINT Register SIGALRM Register SIGWINCH Register SIGTERM Register SIGCHLD Send SIGALRM every 200.0 ms Run func() during 5.0 seconds Type CTRL+c, resize the window, etc.

[issue23756] Tighten definition of bytes-like objects

2015-04-02 Thread Stefan Krah
Stefan Krah added the comment: If you think that the previous version was incorrect and misleading, the bar for changes to be accepted seems pretty high for me. grep -r doesn't seem to find flattened length in Doc/*. An object that supports the :ref:`bufferobject` and is C-contiguous, like

[issue23648] PEP 475 meta issue

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: New issue #23851: _posixsubprocess retries close() on EINTR. -- dependencies: +PEP 475: _posixsubprocess retries close() on EINTR ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23648

[issue23851] PEP 475: _posixsubprocess retries close() on EINTR

2015-04-02 Thread STINNER Victor
New submission from STINNER Victor: According to the PEP 475, the close() function must *not* be retried if it fails with EINTR: - http://alobbs.com/post/54503240599/close-and-eintr - http://lwn.net/Articles/576478/ - http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html -

[issue23830] Add AF_IUCV support to sockets

2015-04-02 Thread Nick Coghlan
Nick Coghlan added the comment: Slavek, there's an s390x patch here to add AF_IUCV support to the socket module. One interesting point to note is that s390x isn't an officially supported CPython architecture by the terms of PEP 11. While I can vouch for it working there (courtesy of

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset aad52bfc816f by Victor Stinner in branch 'default': Issue #23618: Don't declare recvmsg/sendmsg helper functions on Windows https://hg.python.org/cpython/rev/aad52bfc816f New changeset f22188acc77d by Victor Stinner in branch 'default': Issue

[issue23376] getargs.c: redundant C-contiguity check

2015-04-02 Thread Stefan Krah
Changes by Stefan Krah ste...@bytereef.org: -- assignee: - skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23376 ___ ___ Python-bugs-list

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22977 ___

[issue23817] Consider FreeBSD like any other OS in SOVERSION

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, I expected such change to break backward compatibility. If it doesn't, it's fine. Koobs, would you like to commit the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23817

[issue22516] Windows Installer won't - even when using just for meoption

2015-04-02 Thread J. Morton
J. Morton added the comment: As the originator, I've noticed that the discussion (while illuminating - and a lot more than I expected!) seems to have gone off on several tangents. I'd like to remind everyone that this request is for an unrestricted Windows install (e.g. binary) package of

[issue23834] socketmodule.c: add sock_call() to fix how the timeout is recomputed

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29c32ca46652 by Victor Stinner in branch '2.7': Issue #23834: Fix socket.sendto(), use the C long type to store the result of https://hg.python.org/cpython/rev/29c32ca46652 New changeset 436bb7ad6349 by Victor Stinner in branch '3.4': Issue #23834:

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-04-02 Thread Davin Potts
Davin Potts added the comment: @berker: Sadly, I've read those descriptions in triaging.html more than once and that part apparently did not stick in my head. Hopefully it will now -- thanks. @r.david: Ok, cool -- I had been mentally associating more significance to one versus the other

[issue23852] Wrong FD_DIR file name on OpenBSD

2015-04-02 Thread Davin Potts
Changes by Davin Potts pyt...@discontinuity.net: -- nosy: +davin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23852 ___ ___ Python-bugs-list

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/9465/steps/test/logs/stdio == FAIL: test_booleans (test.test_tcl.TclTest)

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23618 ___

[issue23756] Tighten definition of bytes-like objects

2015-04-02 Thread R. David Murray
R. David Murray added the comment: If a Fortran array was allowed in a bytes-like context without memory copying, the order of the array elements would differ from the order returned by the meoryview.tobytes() method, which essentially is defined to copy them out in C-array or

[issue22708] httplib/http.client in method _tunnel used HTTP/1.0 CONNECT method

2015-04-02 Thread Demian Brecht
Demian Brecht added the comment: Thanks for the report and follow up Vova. I've come across this line and it puzzled me as well as to why it's hardcoded. Rather than the hardcoded approach in your patch, I've attached a patch that uses _http_vsn_str which is consistent with other areas of the

[issue23648] PEP 475 meta issue

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: New issue #23853: handle EINTR in the ssl module. -- dependencies: +PEP 475: handle EINTR in the ssl module ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23648

[issue23853] PEP 475: handle EINTR in the ssl module

2015-04-02 Thread STINNER Victor
New submission from STINNER Victor: The _ssl module uses an helper function check_socket_and_wait_for_timeout() to poll until the socket is ready (got data or became writable). check_socket_and_wait_for_timeout() always uses the socket timeout. If select() or poll() is interrupted by a signal

[issue8732] Should urrllib2.urlopen send an Accept-Encoding header?

2015-04-02 Thread Demian Brecht
Demian Brecht added the comment: This doesn't seem to be an issue in 3.4+, the following headers are injected in a call to urlopen(): GET / HTTP/1.1 Accept-Encoding: identity Host: example.com User-Agent: Python-urllib/3.4 Connection: close However, this is not the same behaviour in 2.7: GET

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-02 Thread Cédric Krier
Changes by Cédric Krier cedric.kr...@b2ck.com: -- nosy: +ced ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___ ___ Python-bugs-list mailing

[issue23466] PEP 461: Inconsistency between str and bytes formatting of integers

2015-04-02 Thread Ethan Furman
Ethan Furman added the comment: It's a new feature for 3.5 that is partly responsible for compatibility with 2.7 code. 2.7 raises Overflow error, so 3.5 should also (for out of range values -- wrong value types raise TypeError). -- ___ Python

[issue16840] Tkinter doesn't support large integers

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42a6449e577c by Serhiy Storchaka in branch '2.7': Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and https://hg.python.org/cpython/rev/42a6449e577c New changeset a6f4d8fa7ab8 by Serhiy Storchaka in branch '3.4': Issue #16840:

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@clusterhq.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___ ___

[issue23786] test_unaligned_buffers (test.test_hash.HashEqualityTestCase) ... Fatal Python error: Bus error

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Just interesting, what is the result of str(memoryview(b'abcdefghijklmnopqrstuvwxyz')[1:], 'ascii') with old and new toolchains. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23786

[issue23852] Wrong FD_DIR file name on OpenBSD

2015-04-02 Thread Cédric Krier
New submission from Cédric Krier: The test_subprocess fails since issue21618 on OpenBSD because the FD_DIR is wrong (/dev/fd instead of /proc/self/fd). -- files: fd_dir.patch keywords: patch messages: 239920 nosy: ced priority: normal severity: normal status: open title: Wrong FD_DIR

[issue23853] PEP 475: handle EINTR in the ssl module

2015-04-02 Thread STINNER Victor
STINNER Victor added the comment: test_ssl_bug.patch: Modify test_handshake_timeout() of test_ssl to show the bug: test_handshake_timeout() hangs with the patch (which sends a signal every millisecond). -- keywords: +patch Added file:

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2015-04-02 Thread Demian Brecht
Changes by Demian Brecht demianbre...@gmail.com: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3566 ___ ___

[issue22350] nntplib file write failure causes exception from QUIT command

2015-04-02 Thread R. David Murray
R. David Murray added the comment: That's fine, but you need to look at each case individually, and not try to deal with them as if they were all the same. This is because you want the correct error to percolate up. For example, in smtplib we have a case where the server may respond to a

[issue23851] PEP 475: _posixsubprocess retries close() on EINTR

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset e54b23d7afa6 by Victor Stinner in branch '3.4': Issue #23851: close() must not be retried when it fails with EINTR https://hg.python.org/cpython/rev/e54b23d7afa6 -- nosy: +python-dev ___ Python tracker

[issue23851] PEP 475: _posixsubprocess retries close() on EINTR

2015-04-02 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23851 ___

[issue19610] Give clear error messages for invalid types used for setup.py params (e.g. tuple for classifiers)

2015-04-02 Thread Éric Araujo
Éric Araujo added the comment: Thanks, reviewed. When running a setup.py that uses a tuple for classifiers, is the error message in the terminal user-friendly, or do we get a full traceback? -- title: setup.py does not allow a tuple for classifiers - Give clear error messages for

[issue23618] PEP 475: handle EINTR in the socket module (connect)

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09a4d5cc6afd by Victor Stinner in branch 'default': Issue #23618: Ooops, remove abort() added for debug purpose https://hg.python.org/cpython/rev/09a4d5cc6afd -- ___ Python tracker rep...@bugs.python.org

[issue23786] test_unaligned_buffers (test.test_hash.HashEqualityTestCase) ... Fatal Python error: Bus error

2015-04-02 Thread Peter
Peter added the comment: So this morning I got around to rebuilding the tool chain using GCC 4.9.2 and I'm happy to report that this problem goes away (no patch required)! So it must be some sort of problem with the 4.6 GCC. I've still got the old tool chain around, and I'm happy to further

[issue16991] Add OrderedDict written in C

2015-04-02 Thread shiyao.ma
Changes by shiyao.ma i...@introo.me: -- nosy: +introom ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___ ___ Python-bugs-list mailing list

[issue16840] Tkinter doesn't support large integers

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9905fb0b5885 by Serhiy Storchaka in branch '2.7': Issue #16840: Fixed test_tcl for Tcl 8.5. https://hg.python.org/cpython/rev/9905fb0b5885 New changeset 1d2444273b3d by Serhiy Storchaka in branch '3.4': Issue #16840: Fixed test_tcl for Tcl 8.5.

  1   2   >