[Checkins] [zopefoundation/transaction] 05c5da: Don't crash when printing tracebacks under IPython...
GitHub
noreply at github.com
Sun Mar 25 20:22:42 CEST 2018
Branch: refs/heads/master
Home: https://github.com/zopefoundation/transaction
Commit: 05c5dac33a8825d3c9d23521b2c5735f8bc220c2
https://github.com/zopefoundation/transaction/commit/05c5dac33a8825d3c9d23521b2c5735f8bc220c2
Author: Andy Freeland <andy at andyfreeland.net>
Date: 2018-03-24 (Sat, 24 Mar 2018)
Changed paths:
M transaction/_compat.py
M transaction/tests/test__transaction.py
Log Message:
-----------
Don't crash when printing tracebacks under IPython on Python 2
IPython puts unicode into linecache, which crashes traceback printing
while committing with:
`TypeError: 'unicode' does not have the buffer interface`.
IPython no longer supports Python 2 for new releases so this won't be
fixed there, but it's nice to be able to use IPython with `transaction`.
ref: https://github.com/ipython/ipython/issues/9126#issuecomment-174966638
Fixes #5.
Commit: 5f0029e834bb0ad93782ee41673d61c4664cbf3c
https://github.com/zopefoundation/transaction/commit/5f0029e834bb0ad93782ee41673d61c4664cbf3c
Author: Andy Freeland <andy at andyfreeland.net>
Date: 2018-03-25 (Sun, 25 Mar 2018)
Changed paths:
M transaction/_compat.py
M transaction/tests/test__transaction.py
Log Message:
-----------
Merge pull request #59 from rouge8/gh-5
Don't crash when printing tracebacks under IPython on Python 2
Compare: https://github.com/zopefoundation/transaction/compare/f1a88757e2dc...5f0029e834bb
More information about the checkins
mailing list