Message101165
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?. |
|
Date |
User |
Action |
Args |
2010-03-16 12:55:38 | jcea | set | recipients:
+ jcea, pitrou, ezio.melotti, flox |
2010-03-16 12:55:37 | jcea | set | messageid: <1268744137.8.0.110841576882.issue7808@psf.upfronthosting.co.za> |
2010-03-16 12:55:36 | jcea | link | issue7808 messages |
2010-03-16 12:55:36 | jcea | create | |
|