[issue3069] Let set.union and set.intersection accept multiple arguments

2008-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue3069] Let set.union and set.intersection accept multiple arguments

2008-06-09 Thread Arnaud Delobelle
Arnaud Delobelle <[EMAIL PROTECTED]> added the comment: I must have diffed my patch against the wrong revision then, because I haven't seen it. I had finished it last thursday, but have had a very hectic few days and only found a few minutes to send it this evening. Something must have gone

[issue3069] Let set.union and set.intersection accept multiple arguments

2008-06-09 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Time machine -- I already put in a version of this last night. See r64051 and r64055. Will take a look at your code to see if I can incorporate the sorting for insection() and harvest it for more tests. -- assignee: -> rhettin

[issue3069] Let set.union and set.intersection accept multiple arguments

2008-06-09 Thread Arnaud Delobelle
New submission from Arnaud Delobelle <[EMAIL PROTECTED]>: The patch allows the following syntax for s set/frozenset: * s.union(a, b, c,...) * s.update(a, b, c,...) * s.intersection(a, b, c,...) * s.intersection_update(a, b, c,...) By extension: * set.union(a, b, c,...) # provided a is a set/froz