Doubly linked list implementation in Python
OK, a few things:


I would make head and size private, you don't want them changed from outside the class.
You should use __len__ instead of __sizeof__ - they have different meanings.
Implement __iter__
After doing #3, format the repr using:

"[{}]". format(", ". join(map(str, self)))