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

2010-04-05 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8300 ___ ___

[issue4683] urllib2.HTTPDigestAuthHandler fails on third hostname?

2010-04-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Ping? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4683 ___ ___

[issue4683] urllib2.HTTPDigestAuthHandler fails on third hostname?

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Okay, This vaguely got out of my mind. Shall come with the tests for HTTPAuthDigest. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4683

[issue5198] Strange DeprecationWarning behaviour in module struct

2010-04-05 Thread Georg Brandl
Georg Brandl ge...@python.org 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

[issue8313] unprintable AssertionError object message in unittest tracebacks

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

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

2010-04-05 Thread nik
nik nik.l...@gmail.com 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

[issue7721] Code in xrange documentation does not work

2010-04-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in release26-maint r79796. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7721 ___

[issue7490] IGNORE_EXCEPTION_DETAIL should ignore the module name

2010-04-05 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7490 ___ ___ Python-bugs-list

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-05 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: == FAIL: test_ulonglong (ctypes.test.test_callbacks.Callbacks) -- Traceback (most recent call last):

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The ubuntu and debian sparc buildbots show the same failure, none of the other buildbots do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8314

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

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

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8108 ___ ___ Python-bugs-list mailing list

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

2010-04-05 Thread Thouis (Ray) Jones
Changes by Thouis (Ray) Jones tho...@gmail.com: -- nosy: +thouis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___ ___ Python-bugs-list

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

2010-04-05 Thread Irmen de Jong
Irmen de Jong ir...@razorvine.net 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,

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

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong ir...@razorvine.net: Removed file: http://bugs.python.org/file6439/patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1103213 ___

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org

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

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong ir...@razorvine.net: Added file: http://bugs.python.org/file16762/socketmodulepatch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1103213 ___

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

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong ir...@razorvine.net: Added file: http://bugs.python.org/file16763/libpatch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1103213 ___

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

2010-04-05 Thread Irmen de Jong
Changes by Irmen de Jong ir...@razorvine.net: Added file: http://bugs.python.org/file16764/docpatch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1103213 ___

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

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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 rep...@bugs.python.org

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

2010-04-05 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: 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:

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

2010-04-05 Thread David Andrzejewski
Changes by David Andrzejewski site+python@davidandrzejewski.com: -- nosy: +dandrzejewski ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5103 ___

[issue7583] doctest should normalize tabs when comparing output

2010-04-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue1220212] os.kill on windows

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

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

2010-04-05 Thread Andy Buckley
Andy Buckley a...@insectnation.org 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

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

2010-04-05 Thread David Andrzejewski
David Andrzejewski site+python@davidandrzejewski.com 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

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

2010-04-05 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com 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

[issue8316] test_gdb is susceptible to tty width settings

2010-04-05 Thread Dave Malcolm
New submission from Dave Malcolm dmalc...@redhat.com: 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()

[issue8316] test_gdb is susceptible to tty width settings

2010-04-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: 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

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

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Brian Curtin
Brian Curtin cur...@acm.org 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

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: To be clear, all of my tests were without any patches applied. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8317 ___

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread Tres Seaver
New submission from Tres Seaver tsea...@agendaless.com: 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.

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

2010-04-05 Thread Irmen de Jong
Irmen de Jong ir...@razorvine.net 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

[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 winfried.plapp...@gmail.com: When parsing HTML and having a string along the lines of td/td, 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

[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 ir...@razorvine.net: 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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net 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:

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8108 ___ ___ Python-bugs-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 winfried.plapp...@gmail.com: -- 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 Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: No I haven't, but I tried just now and I get the same error. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8108 ___

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com: -- keywords: +easy nosy: +orsenthil priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8319 ___

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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)

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread Tres Seaver
Tres Seaver tsea...@agendaless.com 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

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

2010-04-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 --

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

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

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

2010-04-05 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: http://en.wikipedia.org/wiki/Total_order -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5479 ___

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

2010-04-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-04-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The buildbots seem happy. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8287

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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. --

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net 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

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: (note: tested with OpenSSL 0.9.8k and 1.0.0) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321 ___

[issue8322] test_ssl failures with OpenSSL 1.0.0

2010-04-05 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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)

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue8321] Give access to openssl version number

2010-04-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Can you please add documentation as well? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321 ___

[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 b49p23t...@stny.rr.com 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

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file16767/sslversion.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321 ___

[issue8321] Give access to openssl version number

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

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file16768/sslversion.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321 ___

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Added file: http://bugs.python.org/file16769/sslversion.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321 ___

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

2010-04-05 Thread Winfried Plappert
Winfried Plappert winfried.plapp...@gmail.com added the comment: The same code can be found in the 3.1 distribution. -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8319

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: I was about to open a request for this. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321 ___

[issue8299] Improve GIL in 2.7

2010-04-05 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com 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

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8299 ___ ___ Python-bugs-list

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: import ssl Traceback (most recent call last): File stdin, line 1, in module File /usr/local/lib/python2.7/ssl.py, line 62, in module from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION

[issue8321] Give access to openssl version number

2010-04-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: import ssl Traceback (most recent call last): File stdin, line 1, in module File /usr/local/lib/python2.7/ssl.py, line 62, in module from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION ImportError:

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net 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

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

2010-04-05 Thread Robin Schoonover
New submission from Robin Schoonover e...@cornhooves.org: 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):

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

2010-04-05 Thread Robin Schoonover
Robin Schoonover e...@cornhooves.org 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

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

2010-04-05 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - jnoller nosy: +jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8323 ___

[issue8321] Give access to openssl version number

2010-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: You were right: make output had an error involving ssl I didn't notice. My bad. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8321

[issue8324] add a test command

2010-04-05 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: 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

[issue8324] add a distutils test command

2010-04-05 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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

[issue8324] add a distutils test command

2010-04-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8324 ___

[issue7026] test_urllib: unsetting missing 'env' variable

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue8318] Deprecation of multifile inappropriate or incomplete

2010-04-05 Thread Tres Seaver
Tres Seaver tsea...@agendaless.com 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:

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

2010-04-05 Thread Winfried Plappert
Winfried Plappert winfried.plapp...@gmail.com 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

[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 winfried.plapp...@gmail.com: Added file: http://bugs.python.org/file16772/Shannon-2010.0.02-extract.html ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8319 ___

[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 winfried.plapp...@gmail.com: Added file: http://bugs.python.org/file16773/correct.out ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8319 ___

[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 winfried.plapp...@gmail.com: Added file: http://bugs.python.org/file16774/wrong.out ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8319 ___

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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

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

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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: -

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

2010-04-05 Thread Winfried Plappert
Winfried Plappert winfried.plapp...@gmail.com 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 :) -- ___

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

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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 rep...@bugs.python.org

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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

[issue8317] test_tarfile fails intermittently on Windows

2010-04-05 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8317 ___ ___ Python-bugs-list

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

2010-04-05 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue8280] urllib2 passes fragment identifier to server

2010-04-05 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8280 ___