Correct way to implement standard __new__ in Python
<p>What is the correct way to implement the standard behaviour of <code>__new__</code> in Python so that no functionality is broken?</p>

<p>I used</p>

<pre><code>class Test:
    def __new__(cls, *args, **kwargs):
        return object.__new__(cls, *args, **kwargs)

t=Test()
</code></pre>

<p>which on some Python versions throws DepreciationWarnings. On the internet I had seen something with <code>super()</code> or with <code>type()</code>. What are the differences and which is prefered?</p>
