[issue23847] Add xml pretty print option to ElementTree

2015-04-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +eli.bendersky, scoder -rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[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: http

[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') >>> bool(tcl.call('expr', 'false')) True -- ___

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[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 ___ ___ Python-bugs-list mailing lis

[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 "C:\buildbot.python.org\3.x.kloth-wi

[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 ___

[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 document

[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 becau

[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. @Ste

[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

[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,

[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 last):

[issue23847] Add xml pretty print option to ElementTree

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> xml.etree.ElementTree: add feature to prettify XML output ___ 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 ___ _

[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

[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 -- compo

[issue23849] Leaks in test_deque

2015-04-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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 th

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2015-04-02 Thread Giacomo Alzetta
Changes by Giacomo Alzetta : -- assignee: -> docs@python components: +Documentation nosy: +docs@python type: -> enhancement versions: +Python 2.7 ___ Python tracker ___ ___

[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 remove

[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 beaker-pro

[issue23756] Tighten definition of bytes-like objects

2015-04-02 Thread Stefan Krah
Changes by Stefan Krah : -- assignee: docs@python -> skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[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 : -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file38804/regrtest_clear_caches.patch ___ Python tracker ___

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

2015-04-02 Thread Stefan Krah
Changes by Stefan Krah : -- assignee: -> skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[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 #23618

[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 Date:2015/04/02 06:35 (GMT-05:00) To: Neale Ferguson Subject:

[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, li

[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: 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

[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. []_[]_[]_[]

[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. __[][]_[

[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

[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 - http://alo

[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 ___

[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

[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

[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 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

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

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

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

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[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

[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 com

[issue16991] Add OrderedDict written in C

2015-04-02 Thread shiyao.ma
Changes by shiyao.ma : -- nosy: +introom ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[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 : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[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 inv

[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 pa

[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 : -- resolution: -> fixed status: open -> closed versions: -Python 2.7 ___ Python tracker ___ ___ Python-b

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

2015-04-02 Thread Demian Brecht
Changes by Demian Brecht : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[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 flattend

[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 fi

[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

[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 track

[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:

[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

[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 ___ _

[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: http://bugs.python.org/file38809/test_ssl_bug.patch

[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

[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: Tk

[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 bu

[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 : -- nosy: +ced ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[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 : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 _

[issue23852] Wrong FD_DIR file name on OpenBSD

2015-04-02 Thread Davin Potts
Changes by Davin Potts : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 77e5623e22dd by Serhiy Storchaka in branch '2.7': Issue #21526: Skip test_booleans on Tcl < 8.5. https://hg.python.org/cpython/rev/77e5623e22dd New changeset 3b8039c37b37 by Serhiy Storchaka in branch '3.4': Issue #21526: Skip test_booleans on Tcl <

[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.

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

2015-04-02 Thread Ethan Furman
Ethan Furman added the comment: b'%c' is still raising a TypeError. The error message is fine ("%c requires an integer in range(256) or a single byte") but it should be an OverflowError for backwards compatibility. -- resolution: fixed -> stage: resolved -> needs patch status: closed

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-04-02 Thread Joshua J Cogliati
Joshua J Cogliati added the comment: Let me try and explain what is trying to be done in the original code, what the fix was, and then discuss some possible better solutions. Original code: if target_lang == "c++" and self.compiler_cxx: linker[0] = self.compiler_cxx[0] Current code: if tar

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

2015-04-02 Thread Ali Arar
New submission from Ali Arar: All of the sudden, all windows based python stopped working. qtconsole and spyder. Also, conda, pip, and easy_setup are issuing error messages. Below is the feedback I am getting. I uninstalled and reinstalled the package that was working perfectly fine. Also

[issue2175] Expat sax parser silently ignores the InputSource protocol

2015-04-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 84d49ad9109b by Serhiy Storchaka in branch '2.7': Issue #2175: Added tests for xml.sax.saxutils.prepare_input_source(). https://hg.python.org/cpython/rev/84d49ad9109b New changeset fa47897e7889 by Serhiy Storchaka in branch '3.4': Issue #2175: Added

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

2015-04-02 Thread ddve...@ucar.edu
ddve...@ucar.edu added the comment: You are right, this problem is not coming from python itself, but more from setuptools and its use by scoop. See https://github.com/soravux/scoop/issues/16 and http://stackoverflow.com/questions/29374044/ for details Regards, Davide Del Vento, NCAR Computation

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue2175. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue2174] xml.sax.xmlreader does not support the InputSource protocol

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue2175 (in 3.5 only). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue21319] WindowsRegistryFinder never added to sys.meta_path

2015-04-02 Thread Tim Golden
Tim Golden added the comment: Turns out to be non-issue after all! I was working through the import code for other reasons and noticed that the WindowsRegistryFinder was there. I'll spare you the complications of debugging the _bootstrap part of import, but basically the code in _bootstrap.py:

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

2015-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: OverflowError is for platform limitations (such as the size of machine word or addressed space). When limits are well defined and platform-independent, ValueError or may be TypeError are considered as better types. It would be better to change OverflowError

[issue22516] Windows Installer won't - even when using "just for me"option

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 s

[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: o

[issue22516] Windows Installer won't - even when using "just for me"option

2015-04-02 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22516] Windows Installer won't - even when using "just for me"option

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 c

[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: A

[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 ->

[issue2175] Expat sax parser silently ignores the InputSource protocol

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

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

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file38810/sax_parse_3.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue21319] WindowsRegistryFinder never added to sys.meta_path

2015-04-02 Thread Eric Snow
Eric Snow added the comment: Awesome. Thanks Tim. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[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 af

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

2015-04-02 Thread Cédric Krier
Changes by Cédric Krier : -- nosy: +ced ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue16840] Tkinter doesn't support large integers

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue21526] Support new booleans in Tkinter

2015-04-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 ___ ___

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

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue6377] distutils compiler switch ignored

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18629] future division breaks timedelta division by integer

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 : -- nosy: -exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 ___ _

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

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 de

  1   2   >