A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032234.html below:

[Python-Dev] very slow compare of recursive objects

[Python-Dev] very slow compare of recursive objects [Python-Dev] very slow compare of recursive objectsNeal Norwitz neal@metaslash.com
Sun, 19 Jan 2003 11:14:16 -0500
Could someone take a look at the patch attached to this bug report?

        http://python.org/sf/625698

It fixes a problem comparing recursive objects by adding a check in
PyObject_RichCompare.  Seems to work fine for the specific problem,
however, it still doesn't help this case:

        a = []
        b = []
        for i in range(2): a.append(a)
        for i in range(2): b.append(b)
        print a == b

Thanks,
Neal



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4