Daniel Diniz <aja...@gmail.com> added the comment:

Almost fooled me, still as described on trunk:

>>>help(cPickle.UnpickleableError)
Help on class UnpickleableError in module cPickle:
class UnpickleableError(PicklingError)
[...]
>>> help(pickle.PicklingError)
Help on class PicklingError in module pickle:
class PicklingError(PickleError)

>>> try: cPickle.dumps(tb)
... except pickle.PicklingError: print 1
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
cPickle.UnpickleableError: Cannot pickle <type 'traceback'> objects

----------
components: +Library (Lib)
nosy: +ajaksu2
stage:  -> test needed
type:  -> feature request
versions: +Python 2.7

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

Reply via email to