Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-01-19 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium EasyToFix New issue 3599 by asmeu...@gmail.com: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 See http://docs.python.org/2/library/2to3.html#2to3fixer-idioms. If you run "2to3 -f idioms

Re: Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-01-19 Thread sympy
Comment #1 on issue 3599 by asmeu...@gmail.com: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 And a note on "type(x) is A" vs. "isinstance(x, A)". In the library code, isinstance is almost always better, because this works with subclasses, me

Re: Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-02-01 Thread sympy
Comment #2 on issue 3599 by amar47s...@gmail.com: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 Hi! Sympy (and open-source) newbie here. I'm going through the list of changes and checking them. (There are quite a few.) The "type(x) is A" / "t

Re: Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-02-02 Thread sympy
Comment #3 on issue 3599 by asmeu...@gmail.com: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 I don't know if anyone's made one, but I think there are tools that can generate them automatically. -- You received this message because you are sub

Re: Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-02-08 Thread sympy
Updates: Blockedon: sympy:3622 Comment #4 on issue 3599 by asmeu...@gmail.com: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 A few of these are fixed by the patch from issue 3622. -- You received this message because you are subscribed to

Re: Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-04-04 Thread sympy
Comment #5 on issue 3599 by asmeu...@gmail.com: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 type(x) is (almost) synonymous with x.func in SymPy, so we should also go through check for "A.func is ..." or "A.func in ..." too. This is related t

Re: Issue 3599 in sympy: Apply 2to3 "idioms" fixer to code base

2013-04-04 Thread sympy
Issue 3599: Apply 2to3 "idioms" fixer to code base http://code.google.com/p/sympy/issues/detail?id=3599 This issue is now blocking issue sympy:3652. See http://code.google.com/p/sympy/issues/detail?id=3652 -- You received this message because you are listed in the owner or CC fields of this issu