1 Raise a ``TypeError`` instead of crashing if a ``collections.deque`` subclass 2 returns a non-deque from ``__new__``. Patch by Oren Milman. 3