{"shas":[["0586b1120b807242fe38fa5125a3a6ce8b3cb8be","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","Implement callable in a forward-compatible way\n\nPythons 3.0 and 3.1 removed the builtin function callable() (it has\nsince been returned in Python 3.2). Use some boilerplate code in\nsympy/core/compatibility to have callable behave the same in all\nsupported Python versions (2.4+) and import it where required.","Vladimir Perić"],["40cceb116dcff6581e54b2fc7a99f92275028f47","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","Implement reduce in a forward-compatible way\n\nIn Python 3, reduce() has been moved to functools.reduce(). This change\nis available since 2.6, so write some boilerplate code to allow us to\nuse reduce in all supported Python versions (2.4+) and add the required\nimports.","Vladimir Perić"],["41c5e9afa0f975e4a3b33f5fda29d3896c6bb1cc","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","Remove \"classic\" int division\n\nThe division operator has been split since Python 2.2 into floor\ndivision (//) and true division (/). By default, Python 2.x uses the\nold division operator, which has an ambiguous meaning (see PEP 238 for\nmore details and reasoning behind the change). Import division from\n__future__ where we need true division and use floor division where\nappropriate. This change is compatible with all Python versions we\nsupport.","Vladimir Perić"],["299a39b38f879228da40c37a08d66226591a4ec6","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","Use != instead of <>\n\nUsing <> is no longer supported in Python 3. Use != instead.","Vladimir Perić"],["481373eaf3b031791b107e3edf9c1455ad26b184","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","Remove use of apply()\n\nThe apply() function has been deprecated since 2.3 and is not supported\nin Python 3. Use the extended syntax instead.","Vladimir Perić"],["653823b4b557d9f56a0854a988a0c54f5f865569","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","Replace NoneType with type(None)\n\nIn Python 3, the types module doesn't provide NoneType. Remove the\nimport and instead directly call type(None) the one time it's needed.","Vladimir Perić"],["f17335dfc165375401848fec12e79418ab11b92a","d399dc26d470d14134f6e1c9d95dfd4ee7e0798f@gmail.com","core/logic: Sort by hash\n\nThere is a call to sorted() which compares unequal types, which is no\nlonger supported in Python 3. As the sort is there just to provide a\ncanonical ordering, use hash as a key function instead. It is possible\nto use str instead, but hash is faster.","Vladimir Perić"]],"ref":"refs/heads/porting","size":7,"head":"f17335dfc165375401848fec12e79418ab11b92a","push_id":33642806}