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 eli.bendersky
Recipients alex, barry, docs@python, eli.bendersky, ethan.furman, ezio.melotti, gvanrossum, ncoghlan, zach.ware
Date 2013-05-11.19:11:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Also, your test must run within the regrtest framework. Currently I get:

./python -mtest.regrtest test_enum
[1/1] test_enum
test test_enum failed -- Traceback (most recent call last):
  File "/home/eliben/python-src/default/Lib/test/", line 245, in test_pickle_enum_function_with_module
    self.assertIs(Question.who, loads(dumps(Question.who)))
_pickle.PicklingError: Can't pickle <enum 'Question'>: attribute lookup __main__.Question failed

1 test failed:
Date User Action Args
2013-05-11 19:11:30eli.benderskysetrecipients: + eli.bendersky, gvanrossum, barry, ncoghlan, ezio.melotti, alex, docs@python, ethan.furman, zach.ware
2013-05-11 19:11:30eli.benderskysetmessageid: <>
2013-05-11 19:11:30eli.benderskylinkissue17947 messages
2013-05-11 19:11:29eli.benderskycreate