Re: [sympy] Preferred way to include printing functionalities

2023-04-13 Thread Aaron Meurer
I was actually thinking about the printing methods that are on the classes themselves https://github.com/sympy/sympy/blob/master/sympy/physics/vector/vector.py#L222. For the custom printers themselves, I can see more of a rationale for keeping them in the physics module. Aaron Meurer On Thu, Apr

Re: [sympy] Preferred way to include printing functionalities

2023-04-13 Thread Jason Moore
This is the file: https://github.com/sympy/sympy/blob/master/sympy/physics/vector/printing.py I believe you are correct in that it could be located with the printing package. Jason moorepants.info +01 530-601-9791 On Fri, Apr 14, 2023 at 3:18 AM Aaron Meurer wrote: > I wonder if this is

Re: [sympy] Preferred way to include printing functionalities

2023-04-13 Thread Aaron Meurer
I wonder if this is really necessary. I'd say as a general rule that printing logic for things that are part of SymPy should go in the printers themselves. The printers should already support dispatching to non-Basic classes. Is there some other reason this is needed? An advantage of keeping the