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 VPeric
Recipients Aaron.Meurer, VPeric
Date 2011-08-17.14:59:46
SpamBayes Score 6.5227287e-06
Marked as misclassified No
Message-id <1313593187.97.0.649094225681.issue12771@psf.upfronthosting.co.za>
In-reply-to
Content
When running 2to3 -d on this doctest (from this file[0] in SymPy):

        >>> class SzUpKet(Ket):
        ...     def _represent_SzOp(self, basis, **options):
        ...         return Matrix([1,0])
        ...

2to3 adds an extra space in the last line. This then raises an error for our automated whitespace tests (and is generally annoying). I haven't seen this happen anywhere else (and SymPy is a big codebase). 

It's really a minor issue, though (I can't set the priority myself, though).

[0] https://github.com/sympy/sympy/blob/master/sympy/physics/quantum/represent.py
History
Date User Action Args
2011-08-17 14:59:48VPericsetrecipients: + VPeric, Aaron.Meurer
2011-08-17 14:59:47VPericsetmessageid: <1313593187.97.0.649094225681.issue12771@psf.upfronthosting.co.za>
2011-08-17 14:59:47VPericlinkissue12771 messages
2011-08-17 14:59:47VPericcreate