[issue9051] Cannot pickle timezone instances

Alexander Belopolsky report at bugs.python.org
Mon Jun 21 22:15:09 CEST 2010


New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:

>>> s = pickle.dumps(timezone.utc)
>>> pickle.loads(s)
Traceback (most recent call last):
 ..
TypeError: ("Required argument 'offset' (pos 1) not found", <class 'datetime.timezone'>, ())

----------
assignee: belopolsky
messages: 108313
nosy: belopolsky
priority: normal
severity: normal
stage: unit test needed
status: open
title: Cannot pickle timezone instances
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9051>
_______________________________________


More information about the Python-bugs-list mailing list