[issue11963] Remove human verification from test suite (test_parser and test_subprocess)

2011-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: My title suggestion was meant to say "Yes, if you are willing to expand the scope of this issue and do more work, go ahead' ;-). I have not looked at help(test), but it should be complete if it is not. I was referring to the test module doc 25.5. Someone decid

[issue11968] wsgiref's wsgi application sample code does not work

2011-05-07 Thread Phillip J. Eby
Phillip J. Eby added the comment: Yes, the 'b' is a docs error. I previously removed this in: http://hg.python.org/cpython-fullhistory/rev/2697326d4a77 It appears to have been reverted during a merge, here: http://hg.python.org/cpython-fullhistory/rev/88d04f0143c7 My browser crashed

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-05-07 Thread Kasun Herath
Kasun Herath added the comment: I'm submitting another patch which includes a test in test_smtpnet. Would appreciate further feedback. -- Added file: http://bugs.python.org/file21927/smtp_default_port_with_smtpnet_test.patch ___ Python tracker

[issue11910] test_heapq C tests are not skipped when _heapq is missing

2011-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Are you sure those tests are C specific? Please be careful about doing unnecessary complexification of this module's tests. -- assignee: ezio.melotti -> rhettinger nosy: +rhettinger ___ Python tracker

[issue12002] ftplib.FTP.abort fails with TypeError on Python 3.x

2011-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 31220cd936d2 by Giampaolo Rodola' in branch '3.1': #12002 - ftplib's abort() method raises TypeError http://hg.python.org/cpython/rev/31220cd936d2 -- nosy: +python-dev ___ Python tracker

[issue12026] Support more of MSI api by exposing handles

2011-05-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: What's the purpose of the patch? I.e. what can you do when you have the handle exposed? -- ___ Python tracker ___ ___

[issue12022] AttributeError should report the same details when raised by lookup_special() as when raised in the REPL

2011-05-07 Thread Daniel Holth
Daniel Holth added the comment: Thank you Benjamin for following up on this issue -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 20e9d3e49689 by Antoine Pitrou in branch '3.1': Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath. http://hg.python.org/cpython/rev/20e9d3e49689 New changeset 209744660b92 by Antoine Pitrou in branch '3.2':

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, this patch seems fully debugged (under Windows and Linux). A couple of things come in addition, such as removing repeated polling in PipeConnection.poll() and _Popen.wait(). -- Added file: http://bugs.python.org/file21928/sentinels3.patch ___

[issue11668] _multiprocessing.Connection.poll with timeout uses polling under Windows

2011-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have a full patch using overlapped I/O in issue9205 (sentinels3.patch). -- ___ Python tracker ___ ___

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset bcf04ced5ef1 by Antoine Pitrou in branch '2.7': Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath. http://hg.python.org/cpython/rev/bcf04ced5ef1 -- ___ Python tra

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch was committed in dev and maintenance branches. Thank you! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11910] test_heapq C tests are not skipped when _heapq is missing

2011-05-07 Thread Ezio Melotti
Ezio Melotti added the comment: If they are not C specific they should be moved to the base class (TestHeap). TestHeapC and TestHeapPython should contain only tests specific to the C and Python versions respectively. The goal here is to make sure that they are run once with the Python versio

[issue12027] Optimize import this (patch to make it 10x faster)

2011-05-07 Thread STINNER Victor
STINNER Victor added the comment: @Raymond: What do you think? Do you prefer simple or faster code? I think that the speed of "import this" do matter! -- ___ Python tracker ___

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > pending_signals-3.patch: > - don't check for pending signals in sigwait() > - pthread_kill() doc: it is not a good idea to say that pthread_kill() with > signum=0 can be used to check if a thread identifier is valid => such test > does crash (SIGSEGV) on m

[issue10666] OS X installer variants have confusing readline differences

2011-05-07 Thread Ned Deily
Ned Deily added the comment: ́Éric, was your comment in msg135467 intended for another issue? -- ___ Python tracker ___ ___ Python-bu

[issue12027] Optimize import this (patch to make it 10x faster)

2011-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Move on, nothing to see here ;-) -- resolution: -> rejected status: open -> closed ___ Python tracker ___ _

[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

2011-05-07 Thread Peter Eisentraut
Changes by Peter Eisentraut : -- nosy: +petere ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hum, I get a strange skip on a XP buildbot: [224/354] test_multiprocessing test_multiprocessing skipped -- DLL load failed: The specified procedure could not be found. Yet _multiprocessing was compiled fine... Does anyone know what it means? http://www.pytho

[issue11347] libpython3.so: Broken soname and linking

2011-05-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file20939/libpython3.so.patch ___ Python tracker ___ ___

[issue11910] test_heapq C tests are not skipped when _heapq is missing

2011-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm imagining a cleaner testing style, like this: class TestHeap(unittest.TestCase): def test_nsmallest(self): self.assertEqual(heapq.nsmallest(3, range(10)), [0,1,2]) ... @test_support.requires('_heapq') def test_comparison_ope

[issue9971] Optimize BufferedReader.readinto

2011-05-07 Thread John O'Connor
John O'Connor added the comment: It seems to me that the point of using readinto() is to avoid double-buffering (and the extra alloc/free that comes with read()). The slowness of using a small buffer size seems like only a natural and expected consequence. The trade-off of accommodating a sm

[issue11910] test_heapq C tests are not skipped when _heapq is missing

2011-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Some of the tests were incorrectly marked as being C specific. I've fixed that on the 2.7 branch. Re-assigning back to Ezio. Overall, I don't think the current approach to testing both paths is elegant. Is there some alternative approach to running suit

[issue11347] libpython3.so: Broken soname and linking

2011-05-07 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I'm attaching improved patch, which adds detection of -Wl,--no-as-needed flag. This issue should be release blocker for Python 3.2.1. -- Added file: http://bugs.python.org/file21929/libpython3.so.patch

[issue11910] test_heapq C tests are not skipped when _heapq is missing

2011-05-07 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks (for the record the changeset is a8b82c283524). > Overall, I don't think the current approach to testing both paths > is elegant. That's the most elegant way we have now. If all the Python tests pass for the C version too, a base class could be avoided a

[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-05-07 Thread Alex Lai
Alex Lai added the comment: The test fialed on my workstation while successul on another server. Both server has the same Pyton installation but different libc and libm version. I plan to reinstall the OS(solaris 10 pre-release) on my workstation next week and see how it goes. Regards, Alex

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d8a57deddc4 by Victor Stinner in branch 'default': Issue #8407: Add pthread_kill(), sigpending() and sigwait() functions to the http://hg.python.org/cpython/rev/1d8a57deddc4 -- ___ Python tracker

[issue9971] Optimize BufferedReader.readinto

2011-05-07 Thread John O'Connor
John O'Connor added the comment: FWIW, It seems Java does something similar. They write directly into caller's buffer if outstanding bytes needed (after emptying internal buffer) is greater than internal buffer len. -- ___ Python tracker

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8c49a930015 by Victor Stinner in branch 'default': Issue #8407: The signal handler writes the signal number as a single byte http://hg.python.org/cpython/rev/f8c49a930015 -- ___ Python tracker

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset e3cb2c99a5a9 by Victor Stinner in branch 'default': Issue #8407: Remove debug code from test_signal http://hg.python.org/cpython/rev/e3cb2c99a5a9 -- ___ Python tracker

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Hum, I get a strange skip on a XP buildbot: > > [224/354] test_multiprocessing > test_multiprocessing skipped -- DLL load failed: The specified > procedure could not be found. > > Yet _multiprocessing was compiled fine... Does anyone know what it > means? O

[issue9971] Optimize BufferedReader.readinto

2011-05-07 Thread John O'Connor
Changes by John O'Connor : Removed file: http://bugs.python.org/file21899/buffered_readinto.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue9971] Optimize BufferedReader.readinto

2011-05-07 Thread John O'Connor
Changes by John O'Connor : Removed file: http://bugs.python.org/file21900/buffered_readinto2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-07 Thread STINNER Victor
STINNER Victor added the comment: Update the signalfd patch (version 4) against the default branch. Specify the minimum Linux version in signalfd() doc. The patch still lacks a structure to parse the bytes written into the file (see msg135438 for a ctypes example): a struct sequence should be

[issue11164] xml shouldn't use _xmlplus

2011-05-07 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I'm attaching the patch, which fixes this issue. It would be nice if the patch was applied before releases of Python 3.1.4 and 3.2.1. -- keywords: +patch Added file: http://bugs.python.org/file21931/python-3-remove_pyxml_support.pa

[issue11164] xml shouldn't use _xmlplus

2011-05-07 Thread Ned Deily
Changes by Ned Deily : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11910] test_heapq C tests are not skipped when _heapq is missing

2011-05-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Attaching a rough draft of a way to simplify dual path testing. The idea is that the suite shouldn't have to be rewritten with self.module.heapify(...) references throughout. Instead, tests are written normally and the only thing that changes in the cont

[issue11347] libpython3.so: Broken soname and linking

2011-05-07 Thread Georg Brandl
Georg Brandl added the comment: Martin? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11347] libpython3.so: Broken soname and linking

2011-05-07 Thread Georg Brandl
Changes by Georg Brandl : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11164] xml shouldn't use _xmlplus

2011-05-07 Thread Georg Brandl
Georg Brandl added the comment: In MinidomTest.tearDown, the majority of the code seems to be for the stdlib version, yet you remove the whole method. Can you elaborate? -- ___ Python tracker

[issue11375] urllib2 over SOCKS doesn't use proxy for DNS

2011-05-07 Thread torstenb
Changes by torstenb : -- nosy: +torstenb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue12022] AttributeError should report the same details when raised by lookup_special() as when raised in the REPL

2011-05-07 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

<    1   2