Don't do costly expand() on top of Order.__new__() method (issue 3654)
Don't do costly expand() on top of Order.__new__() method (issue 3654)

    Also, change compute_leading_term -> as_leading_term, as
    compute_leading_term(x) for x*(1 + x**2)**10000 calls expand() too.
    This seems to be related to Add._eval_nseries method.  Sometimes,
    it doesn't return order term (e.g. (1 + x**2).nseries(x)) - that's
    why Pow._eval_nseries() does actually expand_multinomial() for
    (1 + x**2)**1000.

postvakje/sympy,Designist/sympy,farhaanbukhsh/sympy,lidavidm/sympy,jbbskinny/sympy,kmacinnis/sympy,dqnykamp/sympy,Arafatk/sympy,diofant/diofant,atsao72/sympy,kaichogami/sympy,debugger22/sympy,kumarkrishna/sympy,farhaanbukhsh/sympy,wyom/sympy,kaushik94/sympy,rahuldan/sympy,ahhda/sympy,Vishluck/sympy,Sumith1896/sympy,VaibhavAgarwalVA/sympy,kaichogami/sympy,beni55/sympy,hargup/sympy,kumarkrishna/sympy,hrashk/sympy,sunny94/temp,Designist/sympy,jbbskinny/sympy,maniteja123/sympy,Vishluck/sympy,pandeyadarsh/sympy,hrashk/sympy,aktech/sympy,sampadsaha5/sympy,saurabhjn76/sympy,cswiercz/sympy,VaibhavAgarwalVA/sympy,mafiya69/sympy,Davidjohnwilson/sympy,moble/sympy,chaffra/sympy,Mitchkoens/sympy,Mitchkoens/sympy,souravsingh/sympy,souravsingh/sympy,Arafatk/sympy,Arafatk/sympy,Mitchkoens/sympy,postvakje/sympy,Curious72/sympy,drufat/sympy,ahhda/sympy,Titan-C/sympy,Designist/sympy,sahmed95/sympy,wanglongqi/sympy,ChristinaZografou/sympy,cswiercz/sympy,skidzo/sympy,ahhda/sympy,AkademieOlympia/sympy,aktech/sympy,maniteja123/sympy,vipulroxx/sympy,postvakje/sympy,meghana1995/sympy,Vishluck/sympy,maniteja123/sympy,aktech/sympy,wyom/sympy,grevutiu-gabriel/sympy,mafiya69/sympy,Gadal/sympy,Titan-C/sympy,Gadal/sympy,bukzor/sympy,Curious72/sympy,sampadsaha5/sympy,atsao72/sympy,bukzor/sympy,ChristinaZografou/sympy,farhaanbukhsh/sympy,oliverlee/sympy,cswiercz/sympy,iamutkarshtiwari/sympy,jerli/sympy,iamutkarshtiwari/sympy,shikil/sympy,ga7g08/sympy,hrashk/sympy,toolforger/sympy,wyom/sympy,kmacinnis/sympy,abhiii5459/sympy,shipci/sympy,garvitr/sympy,meghana1995/sympy,hargup/sympy,MridulS/sympy,souravsingh/sympy,iamutkarshtiwari/sympy,chaffra/sympy,abhiii5459/sympy,vipulroxx/sympy,debugger22/sympy,pbrady/sympy,jamesblunt/sympy,ga7g08/sympy,moble/sympy,sahilshekhawat/sympy,liangjiaxing/sympy,oliverlee/sympy,sahilshekhawat/sympy,skidzo/sympy,ChristinaZografou/sympy,beni55/sympy,saurabhjn76/sympy,lindsayad/sympy,dqnykamp/sympy,jaimahajan1997/sympy,grevutiu-gabriel/sympy,liangjiaxing/sympy,oliverlee/sympy,kaushik94/sympy,emon10005/sympy,jerli/sympy,Gadal/sympy,atreyv/sympy,skirpichev/omg,madan96/sympy,asm666/sympy,shikil/sympy,cccfran/sympy,jaimahajan1997/sympy,yashsharan/sympy,kevalds51/sympy,pandeyadarsh/sympy,kaichogami/sympy,jbbskinny/sympy,shipci/sympy,kmacinnis/sympy,sampadsaha5/sympy,AunShiLord/sympy,mcdaniel67/sympy,lindsayad/sympy,garvitr/sympy,Shaswat27/sympy,AkademieOlympia/sympy,drufat/sympy,rahuldan/sympy,cccfran/sympy,lidavidm/sympy,MechCoder/sympy,chaffra/sympy,lidavidm/sympy,Shaswat27/sympy,sahilshekhawat/sympy,pandeyadarsh/sympy,Shaswat27/sympy,wanglongqi/sympy,Sumith1896/sympy,yukoba/sympy,dqnykamp/sympy,skidzo/sympy,pbrady/sympy,mcdaniel67/sympy,AunShiLord/sympy,kaushik94/sympy,Davidjohnwilson/sympy,Titan-C/sympy,abloomston/sympy,yashsharan/sympy,lindsayad/sympy,saurabhjn76/sympy,VaibhavAgarwalVA/sympy,mafiya69/sympy,atsao72/sympy,jaimahajan1997/sympy,beni55/sympy,sahmed95/sympy,jerli/sympy,moble/sympy,grevutiu-gabriel/sympy,cccfran/sympy,MechCoder/sympy,toolforger/sympy,drufat/sympy,MridulS/sympy,emon10005/sympy,ga7g08/sympy,rahuldan/sympy,AkademieOlympia/sympy,jamesblunt/sympy,bukzor/sympy,debugger22/sympy,meghana1995/sympy,MechCoder/sympy,shipci/sympy,Curious72/sympy,yukoba/sympy,MridulS/sympy,yashsharan/sympy,shikil/sympy,kevalds51/sympy,kevalds51/sympy,abloomston/sympy,jamesblunt/sympy,atreyv/sympy,Davidjohnwilson/sympy,atreyv/sympy,AunShiLord/sympy,garvitr/sympy,abhiii5459/sympy,toolforger/sympy,hargup/sympy,pbrady/sympy,sunny94/temp,sunny94/temp,asm666/sympy,liangjiaxing/sympy,Sumith1896/sympy,vipulroxx/sympy,sahmed95/sympy,emon10005/sympy,yukoba/sympy,asm666/sympy,mcdaniel67/sympy,wanglongqi/sympy,madan96/sympy,madan96/sympy,kumarkrishna/sympy,abloomston/sympy