What is PartReplace supposed to do? For me it just returns the replacement.

Aaron Meurer

On Fri, Sep 25, 2015 at 12:12 PM, Francesco Bonazzi
<[email protected]> wrote:
> A possible way is this:
> https://gist.github.com/Upabjojr/3718fd700f123fa899ee
>
> Could this be useful if inserted to the API of Basic?
>
> On Thursday, 10 September 2015 22:35:04 UTC+2, Aaron Meurer wrote:
>>
>> On Thu, Sep 10, 2015 at 6:47 AM, Francesco Bonazzi
>> <[email protected]> wrote:
>> >
>> >
>> >> What about if I add such options on this line:
>> >>
>> >>
>> >>
>> >> https://github.com/sympy/sympy/blob/d29f329b38cf3722518b14c0e131b0b1f36b9e37/sympy/core/basic.py#L653
>> >>
>> >>
>> >> Is it reasonable?
>> >
>> >
>> > I mean, making expr.args return a proxy of expr._args with such indexing
>> > options. Or better add a new method?
>>
>> I would definitely be careful about the performance and memory usage
>> implications of making args not a tuple.
>>
>> What you want to do should definitely be possible without modifying the
>> core.
>>
>> Aaron Meurer
>>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "sympy" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at http://groups.google.com/group/sympy.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/sympy/e5936124-ad08-46e4-ae20-e6cac9fda563%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/21e5ff28-42f6-4e28-b568-fce93be51c02%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LE8Q9kEDYJE6th5ZxKR8cBtge-yTh5jRR9vSL_HSzCRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to