Jesús Cea Avión <j...@jcea.es> added the comment:

I have problem getting your changes working in python 3.x. Yes, pybsddb 
supports py3k.

The problem is line "sys.exc_traceback = sys.last_traceback = None", that 
throws the following error under python 3.x:

"""
File 
"/home/pybsddb/build/lib.solaris-2.10-i86pc-3.1/bsddb3/tests/test_compare.py", 
line 215, in verifyStderr
    sys.exc_info()[2] = sys.last_traceback = None
TypeError: 'tuple' object does not support item assignment
"""

The line is automatically translated by "2to3".

Any suggestion?.

I guess in 3.x we can change the line to "sys.exc_clear()", and forget about 
the "None" asignment. What do you think?.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7808>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to