Closed jaysonsantos closed 7 years ago
It won't break on cPython 3.5.3, it may be related to pypy. I will try to run more tests and check what is happening.
I've reported it here https://bitbucket.org/pypy/pypy/issues/2489/typeerror-object-takes-no-parameters-when
This was fixed in pypy https://bitbucket.org/pypy/pypy/issues/2489/typeerror-object-takes-no-parameters-when Thanks!
Thanks a lot @jaysonsantos !
How to reproduce: Using pypy3 nightly version with python3.5 compatibility http://buildbot.pypy.org/nightly/py3.5/pypy-c-jit-90503-6c8f0848fcf2-linux64.tar.bz2
this will be thrown
looks like it will break on
tz = super(FixedOffsetTimezone, cls).__new__(cls, offset, name)
here https://github.com/chtd/psycopg2cffi/blob/master/psycopg2cffi/tz.py#L68 withTypeError: object() takes no parameters