This was an intentional change. The previous way made it impossible to create things like FiniteSet(FiniteSet(1, 2, 3)) (a set containing a single set).
Aaron Meurer On Sat, Nov 22, 2014 at 8:43 PM, Sergey Kirpichev <[email protected]> wrote: > On Sunday, November 23, 2014 5:21:42 AM UTC+3, Amit Saha wrote: >> >> Hi, >> >> I only am realizing that I cannot do FiniteSet[1, 2, 3, 4]) any more. >> I did find it very useful to create a set from the elements of a set. >> Anyway, it's probably way late for that. >> >> So, what is the recommended way now to create a FiniteSet from an >> existing list or any other iterable? > > > FiniteSet(*[1,2,3,4]) or FiniteSet(*set([1,2,3])) >> >> >> PS: The release note for 0.7.6 does not contain an entry for this change. > > > Indeed. Fixed. > > -- > 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/5b20cfb2-eeec-4a02-960b-6e68bac6953d%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%3D6KOovSZM4%3Dy25txF6cFVTWtANa%2BXV-4PGoMECpKp3byQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
