[issue8280] urllib2 passes fragment identifier to server

2010-04-05 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: But changing the HTMLParser.goahead's way to treating tags from if i < j: self.handle_data(rawdata[i:j]) TO if i <= j: self.handle_data(rawdata[i:j] is not the correct way to deal with this problem. Theoretically, whatever it is doing seems correct. As there

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: After grabbing a clean checkout, I'm unable to reproduce this problem where I was seeing it earlier, so I suspect the problem is in fact related to one or more lingering patches that were applied to the source. Please close this ticket as invalid. -

[issue8262] bad wording in error message attempting to start a Thread twice

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r79817, r79819 and r79821. Thanks for the report and the patch, Gabriel. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker __

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Winfried Plappert added the comment: in short the correct output should be 2/4/2010;6.3;11.1;0.8;6.5;;7.8;-5 versus 2/4/2010;6.3;11.1;0.8;6.5;7.8;-5 which implies that one element is missing in the output stream :) -- ___ Python tracker

[issue8262] bad wording in error message attempting to start a Thread twice

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, the proposed wording is more suitable in the scenarios when the error is encountered. Also saw there is already a test (test_start_thread_again), which covers this. There is no harm in changing the wording. -- assignee: -> orsenthil nosy: +orse

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've tried reproducing this on a clean system and have thusfar been unable to. I'll try to eliminate variables on the failing system and perhaps this will elicit some information about what's causing the intermittent failures with the symlink patch. ---

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Changes by Winfried Plappert : Added file: http://bugs.python.org/file16774/wrong.out ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Changes by Winfried Plappert : Added file: http://bugs.python.org/file16773/correct.out ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Changes by Winfried Plappert : Added file: http://bugs.python.org/file16772/Shannon-2010.0.02-extract.html ___ Python tracker ___ ___ Python-bu

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Winfried Plappert added the comment: Here is a test program (shannon_data.py), some sample data (Shannon-2010.0.02-extract.html) and two output files (correct.out and wrong.out). -- Added file: http://bugs.python.org/file16771/shannon_data.py ___ P

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread Tres Seaver
Tres Seaver added the comment: > Could you do me a favor and add that use case the set of use cases in > the email wiki? Done. The code in Zope which still uses 'multifile' is in the tests for HTTP 'Range' support: http://svn.zope.org/*checkout*/Zope/trunk/src/OFS/tests/testRanges.py?conte

[issue7026] test_urllib: unsetting missing 'env' variable

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sridhar, I am unable to reproduce this bug in the 3.x (py3k and release31-maint) on 64 bit linux. I glance at the code to see any underpinnings for this RuntimeError and could not find any at the place the exception occurred. Is it anyway related to other b

[issue8324] add a distutils test command

2010-04-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8324] add a distutils test command

2010-04-05 Thread Michael Foord
Michael Foord added the comment: Should default to test discovery if no arguments are supplied. Valid arguments: "testrunner", "tests" or "testsuite". Default testrunner is unittest of course. "tests" / "testsuite" to be of the form: "package.module.suitename" (or just "package.module").

[issue8324] add a test command

2010-04-05 Thread Tarek Ziadé
New submission from Tarek Ziadé : Add a test command in distutils, ala setuptools -- assignee: tarek components: Distutils2 keywords: gsoc messages: 102426 nosy: tarek priority: normal severity: normal status: open title: add a test command type: feature request

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: You were right: make output had an error involving ssl I didn't notice. My bad. -- ___ Python tracker ___ ___

[issue8323] multiprocessing.Queue ignores pickle restrictions in .put()

2010-04-05 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> jnoller nosy: +jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue8323] multiprocessing.Queue ignores pickle restrictions in .put()

2010-04-05 Thread Robin Schoonover
Robin Schoonover added the comment: Since these sort of buffer objects don't exist in 3.x (so far as I know), I came up with a different way to test in 3.x (basically, trying to pickle bound or unbound methods). It turns out that using this method to test it in 2.6 seems to fail where it sho

[issue8323] multiprocessing.Queue ignores pickle restrictions in .put()

2010-04-05 Thread Robin Schoonover
New submission from Robin Schoonover : The multiprocessing module's version of the Queue class, which causes objects to be pickled for process to process transfer, ignores pickle restrictions when objects are added to the queue. Example code (buffer isn't pickleable): from multiprocessing

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > So I'm gonna ask: when I modify *.c files, do I have to do something > else other than "./configure; make; make install" in order to see the > changes applied? Oh, sorry, I had overlooked the "make install" bit. Well then I don't know. But you can run the int

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > So I'm gonna ask: when I modify *.c files, do I have to do something > else other than "./configure; make; make install" in order to see the > changes applied? No. If you run the Python binary from the SVN checkout directory (rather than from an installation

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The ./configure -> make -> make install process went fine, or at least, I think so, as it completed without reporting errors or exiting. ...But maybe I'm doing something wrong as just a little while ago I was modifying _ssl.c but wasn't able to see those ch

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > >>> import ssl > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.7/ssl.py", line 62, in > from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, > OPENSSL_VERSION > ImportError: cannot import name OPEN

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: >>> import ssl Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/ssl.py", line 62, in from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION ImportError: cannot import name OPENSSL_VERSION

[issue8299] Improve GIL in 2.7

2010-04-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed, with Benjamin's permission, in r79812 (trunk) and r79813 (py3k). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue8299] Improve GIL in 2.7

2010-04-05 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Sorry, what I meant with the "original problem" was the phenomenon observed by Antoine (IIRC) that the same CPU thread tends to hog the gil, even when releaseing it in ceval.c. What I have been looking at up to now is chiefly IO performance using David

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I was about to open a request for this. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Winfried Plappert added the comment: The same code can be found in the 3.1 distribution. -- versions: +Python 3.1 ___ Python tracker ___ _

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file16769/sslversion.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file16768/sslversion.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch with doc. -- Added file: http://bugs.python.org/file16768/sslversion.patch ___ Python tracker ___

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file16767/sslversion.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2010-04-05 Thread David W. Lambert
David W. Lambert added the comment: http://en.wikipedia.org/wiki/Total_order For pair of items from a set, (that's the total) if a <= b and b <= c then a <= c (part of the order) if a <= b and b <= a then a compares the same as b, a == b, (the other part of the order) On Mon, 2010-

[issue8321] Give access to openssl version number

2010-04-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can you please add documentation as well? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-l

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've tried to build against OpenSSL 1.0.0, and I get further failures in test_ssl. Since I don't know whether they are related, I've created a separate issue for them: issue8322 -- ___ Python tracker

[issue8322] test_ssl failures with OpenSSL 1.0.0

2010-04-05 Thread Antoine Pitrou
New submission from Antoine Pitrou : When I compile and link against a local build of OpenSSL 1.0.0 (vanilla), I get the following errors in test_ssl: == ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests) ---

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: (note: tested with OpenSSL 0.9.8k and 1.0.0) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: As suggested in this thread: http://mirt.net/pipermail/stunnel-users/2005-July/000661.html ...I made the following change to the Makefile: - LIBS= -lpthread -ldl -lutil + LIBS= -lpthread -ldl -lutil -lz That made the error change as follows:

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
New submission from Antoine Pitrou : This patch gives access to the OpenSSL version the _ssl module is linked against, through three attributes: one gives the raw integer, another the decoded 5-tuple of ints, the last one the version string as returned by OpenSSL. -- components: Librar

[issue8287] python-gdb.py triggers compile errors on FreeBSD and Solaris

2010-04-05 Thread R. David Murray
R. David Murray added the comment: The buildbots seem happy. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread R. David Murray
R. David Murray added the comment: Depending on the feature, I might agree with that, but I wasn't involved in that decision. If email only supports something structured with proper MIME headers and multifile is more general (which I *think* is the case, but I haven't actually tried to run a

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2010-04-05 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the link. Please include it in the future doc if you judge it useful for a large number of users. I’m still wondering if “total_ordering” is the best name for a decorator that fills the blanks to provide total ordering. Regards -- _

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2010-04-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: http://en.wikipedia.org/wiki/Total_order -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2010-04-05 Thread Mark Dickinson
Mark Dickinson added the comment: Yes, it's a standard mathematics term. http://en.wikipedia.org/wiki/Total_order -- nosy: +mark.dickinson ___ Python tracker ___ ___

[issue5479] Add an easy way to provide total ordering now that __cmp__ is deprecated/gone

2010-04-05 Thread Éric Araujo
Éric Araujo added the comment: Hello Small documentation question: Does the expression “total ordering” have established usage in maths or computer science? Its meaning is not obvious to the non-maths person that I am. Regards -- ___ Python track

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread Tres Seaver
Tres Seaver added the comment: > [T]here [may be] things you can do with multifile that you can't (yet) > do with the facilities from the email package. If so, these will most > > likely be considered bugs in the email package. Surely the presence of such a feature would make the deprecation

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > No I haven't, but I tried just now and I get the same error. I think "inflate" is a function exported by the zlib. Perhaps you can add "-lz" to the linking flags. (Googling hints that OpenSSL can depend on the zlib if compression is enabled) --

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread R. David Murray
Changes by R. David Murray : -- keywords: +easy nosy: +orsenthil priority: -> normal stage: -> test needed ___ Python tracker ___ ___

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread R. David Murray
R. David Murray added the comment: It's not inappropriate, since the facilities *in* the email package are supposed to support other MIME use cases (such as HTML). That it isn't clear how to convert is certainly a doc bug at the very least. However, I wouldn't be entirely surprised to find

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: No I haven't, but I tried just now and I get the same error. -- ___ Python tracker ___ ___ Python

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Since it's not clear to me where exactly this comes from, whether it's > from the Python C binding or OpenSSL itself, I tried to put some > debugging printf() calls in Modules/_ssl.c, but it seems that after > installing OpenSSL 0.9.8m I'm no longer able to c

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-05 Thread Winfried Plappert
Changes by Winfried Plappert : -- title: HTMLparser does not handle call to handle_data when a tag contains nor data. -> HTMLparser does not handle call to handle_data when a tag contains no data. ___ Python tracker

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Yes, it's the _sslobj.shutdow() call: File "test_ftplib.py", line 332, in handle_close self.socket = self.socket.unwrap() File "/usr/local/lib/python2.7/ssl.py", line 258, in unwrap s = self._sslobj.shutdown() error: [Errno 0] Error Since it's n

[issue8320] docs on socket.recv_into doesn't mention the return value

2010-04-05 Thread Irmen de Jong
New submission from Irmen de Jong : Doc/library/socket.rst doesn't mention the return value for recv_into. Adding a simple "Returns the number of bytes received." should fix this. (note that recvfrom_into does mention its return value) -- assignee: georg.brandl components: Documentatio

[issue8319] HTMLparser does not handle call to handle_data when a tag contains nor data.

2010-04-05 Thread Winfried Plappert
New submission from Winfried Plappert : When parsing HTML and having a string along the lines of , a call to handle_data is not issued between handle_starttag and handle_endtag, but afterwards. The problem is in HTMLparser.goahead, where the position i and j are calculated. The code reads if i

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Irmen de Jong
Irmen de Jong added the comment: Currently if MSG_WAITALL is defined, recvall() just calls recv() internally with the extra flag. Maybe that isn't the smartest thing to do because it duplicates recv's behavior on errors. Which is: release the data and raise an error. Would it be nicer to have

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread Tres Seaver
New submission from Tres Seaver : Import of the multifile module emits a DeprecationWarning, but the warning is either incomplete: - The documentation[1] states that the 'email' module is to be preferred, but doesn't describe what APIs should be used from that module. - In fact, the 'email'

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: > To be clear, all of my tests were without any patches applied. -- ___ Python tracker ___ ___ Pyth

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Brian Curtin
Brian Curtin added the comment: So far I've only seen this with os.symlink from #1578269 applied, but I will try more runs on a vanilla py3k to see if I can catch it. -- components: +Windows nosy: +brian.curtin stage: -> needs patch type: -> behavior

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: My initial troubleshooting indicated to me that the intermittent test_tarfile problem exists independent of the symlink patch, so it was not relevant to this issue. I've tried to do some more thorough troubleshooting, and this continues to be my finding, an

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
New submission from Jason R. Coombs : Using Windows 7 32-bit, and /branches/p...@79802. When I run the test_tarfile from the regrtest script, often the first run will succeed and subsequent runs will fail (though sometimes a first run will fail and rarely a subsequent run will succeed). It app

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: Seems good to me, even though I'd rewrite some parts like this: - Prior to Python 2.7 and 3.2, to terminate a process, you can use ctypes:: + Prior to Python 2.7 and 3.2, you can use linksomehow:`ctypes` to terminate a process:: ... In newer Python version

[issue8316] test_gdb is susceptible to tty width settings

2010-04-05 Thread R. David Murray
R. David Murray added the comment: Committed in r79803. I changed the assert_ to an if not m/fail, since assert_ is deprecated and I think the if makes it clearer than the assert_ what it is that is being checked. -- components: +Tests priority: -> normal resolution: -> fixed stage

[issue8316] test_gdb is susceptible to tty width settings

2010-04-05 Thread Dave Malcolm
New submission from Dave Malcolm : test_gdb's get_gdb_repr carves up a gdb backtrace to try to extract how gdb representated the data. When connected to a tty, gdb will insert additional newlines and spaces based on the width of the tty (internally it has a wrap_here() function to do this), s

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Just a couple comments: * If MSG_WAITALL is defined and a signal interrupts recv, will a string shorter than requested will be returned by sock_recvall? * Since MSG_WAITALL is already exposed to Python (when the underlying platform provides it), I wo

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-05 Thread David Andrzejewski
David Andrzejewski added the comment: I believe this issue may be responsible for causing a very long hang in my application. Here's an example of it hanging for 30 minutes. Yes - minutes. [UI] 2010-04-03 11:33:34,209 DEBUG: Communicating with GUI on 127.0.0.1:9095 - timeout 10 seconds [UI

[issue4256] optparse: provide a simple way to get a programmatically useful list of options

2010-04-05 Thread Andy Buckley
Andy Buckley added the comment: Thanks for the pointers to both of these... I wasn't aware of either. I see argparse has been recently approved for Python stdlib inclusion, too: http://www.python.org/dev/peps/pep-0389/ Congratulations! As far as I can tell, genzshcomp is parsing the output of

[issue1220212] os.kill on windows

2010-04-05 Thread Brian Curtin
Brian Curtin added the comment: How about something like this patch? -- Added file: http://bugs.python.org/file16765/faq_update.diff ___ Python tracker ___ ___

[issue7583] doctest should normalize tabs when comparing output

2010-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: Could you be more specific about why users should not be allowed to use tabs in docstrings. An example use case/user story would help me a lot. I've made a precondition to check tab existence before expanding tabs for performance reasons. The indentation

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-05 Thread David Andrzejewski
Changes by David Andrzejewski : -- nosy: +dandrzejewski ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8315] ./python -m unittest test.test_importlib doesn't work

2010-04-05 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : Actually, ./python -m unittest test.test_email doesn't work either and those are two cases where the Lib/test module just forwards to the package's own test suite, so maybe that's the problem. -- assignee: michael.foord components: Library (Lib) me

[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: Is there a reason this didn't get reviewed for the 3.1.2 release? What steps need to be taken to see that it makes it into a 3.1.3 release? -- ___ Python tracker

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong : Added file: http://bugs.python.org/file16764/docpatch.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong : Added file: http://bugs.python.org/file16763/libpatch.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong : Added file: http://bugs.python.org/file16762/socketmodulepatch.txt ___ Python tracker ___ ___ Python-bugs-list ma

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: FAQ should be updated http://www.python.org/doc/faq/windows/#how-do-i-emulate-os-kill-in-windows -- nosy: +techtonik ___ Python tracker _

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong : Removed file: http://bugs.python.org/file6439/patch.txt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1103213] Adding the missing socket.recvall() method

2010-04-05 Thread Irmen de Jong
Irmen de Jong added the comment: Ok I think I've got the code and doc changes ready. I added a recvall and a recvall_into method to the socket module. Any partially received data in case of errors is returned to the application as part of the args for a new exception, socket.partialdataerror.

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-05 Thread Thouis (Ray) Jones
Changes by Thouis (Ray) Jones : -- nosy: +thouis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-05 Thread Florent Xicluna
Florent Xicluna added the comment: This bug is already reported here: http://bugs.python.org/issue8142#msg101134 -- nosy: +flox ___ Python tracker ___ ___

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-05 Thread R. David Murray
R. David Murray added the comment: The ubuntu and debian sparc buildbots show the same failure, none of the other buildbots do. -- ___ Python tracker ___ ___

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-05 Thread R. David Murray
New submission from R. David Murray : == FAIL: test_ulonglong (ctypes.test.test_callbacks.Callbacks) -- Traceback (most recent call last): File "/home2/buildb

[issue7490] IGNORE_EXCEPTION_DETAIL should ignore the module name

2010-04-05 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7721] Code in xrange documentation does not work

2010-04-05 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in release26-maint r79796. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6869] Embedded python crashed on 4th run, if "ctypes" is used

2010-04-05 Thread nik
nik added the comment: I can confirm that the patch fix this issue. I adapted the patch (variable names changed): 5523a5524 > Py_INCREF(&Struct_Type); 5529a5531 > Py_INCREF(&Union_Type); 5535a5538 > Py_INCREF(&Pointer_Type); 5541a5545 > Py_INCREF(&Array_Type); 5

[issue8313] message in unittest tracebacks

2010-04-05 Thread Michael Foord
New submission from Michael Foord : >>> import unittest >>> class Foo(unittest.TestCase): ... def test_fffd(self): self.assertEqual(u'\ufffd', u'\ufffd\ufffd') ... >>> unittest.main(exit=False) F == FAIL: test_fffd (__main__.Fo

[issue5198] Strange DeprecationWarning behaviour in module struct

2010-04-05 Thread Georg Brandl
Georg Brandl added the comment: Both examples now give consistent behavior independent of byteorder in trunk: packing floats with "H" works, packing bytes out of range with "B" raises. Closing as "out of date". -- nosy: +georg.brandl resolution: -> out of date status: open -> closed

[issue4683] urllib2.HTTPDigestAuthHandler fails on third hostname?

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Okay, This vaguely got out of my mind. Shall come with the tests for HTTPAuthDigest. -- ___ Python tracker ___ ___

[issue4683] urllib2.HTTPDigestAuthHandler fails on third hostname?

2010-04-05 Thread Georg Brandl
Georg Brandl added the comment: Ping? -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue8300] Allow struct.pack to handle objects with an __index__ method.

2010-04-05 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri