This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcea
Recipients ezio.melotti, flox, jcea, pitrou
Date 2010-03-16.12:55:36
SpamBayes Score 0.00653205
Marked as misclassified No
Message-id <1268744137.8.0.110841576882.issue7808@psf.upfronthosting.co.za>
In-reply-to
Content
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?.
History
Date User Action Args
2010-03-16 12:55:38jceasetrecipients: + jcea, pitrou, ezio.melotti, flox
2010-03-16 12:55:37jceasetmessageid: <1268744137.8.0.110841576882.issue7808@psf.upfronthosting.co.za>
2010-03-16 12:55:36jcealinkissue7808 messages
2010-03-16 12:55:36jceacreate