{"action":"closed","issue":{"url":"https://api.github.com/repos/eevee/camel/issues/3","labels_url":"https://api.github.com/repos/eevee/camel/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/eevee/camel/issues/3/comments","events_url":"https://api.github.com/repos/eevee/camel/issues/3/events","html_url":"https://github.com/eevee/camel/issues/3","id":112496267,"number":3,"title":"TypeError on the README example","user":{"login":"edcrypt","id":41887,"avatar_url":"https://avatars.githubusercontent.com/u/41887?v=3","gravatar_id":"","url":"https://api.github.com/users/edcrypt","html_url":"https://github.com/edcrypt","followers_url":"https://api.github.com/users/edcrypt/followers","following_url":"https://api.github.com/users/edcrypt/following{/other_user}","gists_url":"https://api.github.com/users/edcrypt/gists{/gist_id}","starred_url":"https://api.github.com/users/edcrypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edcrypt/subscriptions","organizations_url":"https://api.github.com/users/edcrypt/orgs","repos_url":"https://api.github.com/users/edcrypt/repos","events_url":"https://api.github.com/users/edcrypt/events{/privacy}","received_events_url":"https://api.github.com/users/edcrypt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-21T02:03:38Z","updated_at":"2015-10-26T00:00:05Z","closed_at":"2015-10-26T00:00:05Z","body":"Trying out by %cpaste-ing the code into ptipython, rev 9e2720b\r\n```\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-2-57b1790be047> in <module>()\r\n     21 value = DieRoll(3, 6)\r\n     22 camel = Camel([reg])\r\n---> 23 print(camel.dump(value))\r\n     24 \r\n     25 # !roll 3d6\r\n\r\n/home/edcrypt/dev/camel/camel/__init__.py in dump(self, data)\r\n    113         dumper = self.make_dumper(stream)\r\n    114         dumper.open()\r\n--> 115         dumper.represent(data)\r\n    116         dumper.close()\r\n    117         return stream.getvalue()\r\n\r\n/usr/lib/python2.7/dist-packages/yaml/representer.pyc in represent(self, data)\r\n     26 \r\n     27     def represent(self, data):\r\n---> 28         node = self.represent_data(data)\r\n     29         self.serialize(node)\r\n     30         self.represented_objects = {}\r\n\r\n/usr/lib/python2.7/dist-packages/yaml/representer.pyc in represent_data(self, data)\r\n     55             data_types = self.get_classobj_bases(data.__class__)+list(data_types)\r\n     56         if data_types[0] in self.yaml_representers:\r\n---> 57             node = self.yaml_representers[data_types[0]](self, data)\r\n     58         else:\r\n     59             for data_type in data_types:\r\n\r\n/home/edcrypt/dev/camel/camel/__init__.py in run_representer(self, representer, tag, dumper, data)\r\n    214                 \"Representers must return native YAML types, but the representer \"\r\n    215                 \"for {!r} returned {!r}, which is of type {!r}\"\r\n--> 216                 .format(data, canon_value, canon_type))\r\n    217 \r\n    218     def inject_dumpers(self, dumper, version_locks=None):\r\n\r\nTypeError: Representers must return native YAML types, but the representer for DieRoll(3,6) returned '3d6', which is of type <type 'str'>\r\n```\r\nPython 2.7.10 on Ubuntu 15.10."}}