Neal Norwitz
dac090d3e6
Bug #1520864 (again): unpacking singleton tuples in list comprehensions and
...
generator expressions (x for x, in ... ) works again.
Sigh, I only fixed for loops the first time, not list comps and genexprs too.
I couldn't find any more unpacking cases where there is a similar bug lurking.
This code should be refactored to eliminate the duplication. I'm sure
the listcomp/genexpr code can be refactored. I'm not sure if the for loop
can re-use any of the same code though.
Will backport to 2.5 (the only place it matters).
2006-09-05 03:53:08 +00:00
..
2006-04-13 13:08:58 +00:00
2006-09-05 03:53:08 +00:00
2001-07-26 13:41:06 +00:00
2006-09-05 02:25:41 +00:00
2006-08-13 18:10:10 +00:00
2006-06-23 21:16:18 +00:00
2006-08-21 19:47:08 +00:00
2005-12-19 06:05:18 +00:00
2002-06-11 06:22:31 +00:00
2002-01-23 15:51:12 +00:00
2001-11-28 20:42:20 +00:00
2006-05-19 07:05:01 +00:00
2004-07-15 22:28:48 +00:00
2001-11-28 20:42:20 +00:00
2006-01-04 01:30:17 +00:00
2006-06-10 12:23:46 +00:00
2006-08-04 18:17:40 +00:00
2001-07-26 13:41:06 +00:00
2002-08-15 14:59:02 +00:00
2002-06-30 15:26:10 +00:00
2006-07-23 07:50:36 +00:00
2006-08-09 07:03:22 +00:00
2006-02-11 15:30:36 +00:00
2006-04-25 15:29:46 +00:00
2006-04-13 02:06:09 +00:00
2006-07-12 15:31:17 +00:00
2001-11-28 20:42:20 +00:00
2006-05-25 11:26:25 +00:00
2001-07-26 13:41:06 +00:00
2006-09-05 03:53:08 +00:00
2003-09-04 18:45:59 +00:00
2002-12-30 22:08:05 +00:00
2006-07-11 16:44:25 +00:00
2006-08-12 01:47:59 +00:00
2006-04-18 00:53:48 +00:00
2001-12-21 16:32:15 +00:00
2006-07-27 01:14:53 +00:00
2006-08-21 16:19:37 +00:00
2006-07-22 16:20:49 +00:00
2001-07-26 13:41:06 +00:00
2006-08-10 22:45:34 +00:00
2006-07-03 12:19:50 +00:00
2006-04-13 12:29:43 +00:00
2006-08-21 20:16:24 +00:00
2003-11-20 01:44:59 +00:00
2006-06-10 12:23:46 +00:00
2006-04-28 05:28:54 +00:00
2006-08-19 04:52:03 +00:00
2006-07-21 05:32:28 +00:00
2002-06-11 06:22:31 +00:00
2002-01-19 22:02:55 +00:00
2002-01-19 22:02:55 +00:00
2002-01-19 22:02:55 +00:00
2002-01-19 22:02:55 +00:00
2006-06-13 15:04:24 +00:00
2006-07-23 13:00:04 +00:00
2003-09-20 11:13:36 +00:00
2006-06-13 15:04:24 +00:00
2004-01-17 04:04:13 +00:00
2003-04-19 07:44:52 +00:00
2005-07-09 15:26:33 +00:00
2006-07-21 07:59:47 +00:00
2006-04-15 21:47:09 +00:00