This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author levkivskyi
Recipients gvanrossum, larry, levkivskyi, ned.deily, python-dev, serhiy.storchaka, yselivanov
Date 2016-11-10.00:10:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478736629.72.0.976040634061.issue28653@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to be unrelated to typing.py
With your test from test_functools:

    def test_lru_type_error(self):
        @functools.lru_cache(maxsize=None)
        def infinite_cache(o):
            pass
        with self.assertRaises(TypeError):
            infinite_cache([])

I get [2, 2, 2, 2] for unpatched C version (this is now fixed)
and [24764, 24764, 24764, 24764] for Python version.

Should I maybe open a separate issue for this?
History
Date User Action Args
2016-11-10 00:10:29levkivskyisetrecipients: + levkivskyi, gvanrossum, larry, ned.deily, python-dev, serhiy.storchaka, yselivanov
2016-11-10 00:10:29levkivskyisetmessageid: <1478736629.72.0.976040634061.issue28653@psf.upfronthosting.co.za>
2016-11-10 00:10:29levkivskyilinkissue28653 messages
2016-11-10 00:10:29levkivskyicreate