Message142281
| 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:48 | VPeric | set | recipients:
+ VPeric, Aaron.Meurer |
| 2011年08月17日 14:59:47 | VPeric | set | messageid: <1313593187.97.0.649094225681.issue12771@psf.upfronthosting.co.za> |
| 2011年08月17日 14:59:47 | VPeric | link | issue12771 messages |
| 2011年08月17日 14:59:47 | VPeric | create |
|