Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
nosy: +eli.bendersky, scoder -rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23847
___
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:
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
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
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
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
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
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.
Serhiy Storchaka added the comment:
Yes, you are right.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22977
___
___
Python-bugs-list mailing
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
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23841
___
___
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.
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
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
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23849
___
___
Python-bugs-list
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23841
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21526
___
___
Stefan Behnel added the comment:
duplicate of issue 14465
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23847
___
___
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
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
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
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,
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
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
--
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
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
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21526
___
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
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
___
Eric Snow added the comment:
Awesome. Thanks Tim.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21319
___
___
Python-bugs-list mailing list
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 -
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:
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
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
___
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
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
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: +Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22516
___
___
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:
Changes by Jean-Paul Calderone jean-p...@clusterhq.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18629
___
___
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
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
___
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
Changes by Jean-Paul Calderone jean-p...@clusterhq.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20718
___
___
Changes by Jean-Paul Calderone jean-p...@clusterhq.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6555
___
___
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
___
Changes by Jean-Paul Calderone jean-p...@clusterhq.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6377
___
___
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
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
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:
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.
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
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
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
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
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)
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
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
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
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
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
___
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
___
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
Changes by Stefan Krah ste...@bytereef.org:
--
assignee: docs@python - skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23756
___
___
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:
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.
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
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
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
-
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
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
Changes by Stefan Krah ste...@bytereef.org:
--
assignee: - skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23376
___
___
Python-bugs-list
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
___
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
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
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:
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
Changes by Davin Potts pyt...@discontinuity.net:
--
nosy: +davin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
___
Python-bugs-list
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)
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23618
___
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
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
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
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
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
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
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
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:
Changes by Jean-Paul Calderone jean-p...@clusterhq.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20669
___
___
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
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
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:
Changes by Demian Brecht demianbre...@gmail.com:
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
___
___
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
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
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
___
É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
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
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
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
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 - 100 of 110 matches
Mail list logo