twoolie/NBT — Issue #15: py3k
Author: nicoxxl
Created: 2012-02-19 08:48:22+00:00
State: open

Hi,

I'm a noob with github, so I don't know where post it.
I'm using py3k, and I made something like a patch below. It's look like to work (the path is for nbt.py)
```
4c4,5
< from UserDict import DictMixin
---
> # Replace UserDict by dict:
> # from UserDict import DictMixin
125c126
<	self.value = unicode(read, "utf-8")
---
>	self.value = str(read, "utf-8")
181c182
< class TAG_Compound(TAG, DictMixin):
---
> class TAG_Compound(TAG, dict):
```

(sorry for my bad english)