Re: [Numpy-discussion] Object array from list in 1.6.0 (vs. 1.5.1)

2011-06-20 Thread Mark Wiebe
This pull request which needs some testing should fix the issue: https://github.com/numpy/numpy/pull/92 -Mark On Fri, Jun 10, 2011 at 11:40 AM, Ken Basye kbas...@jhu.edu wrote: Dear folks, I have some code that stopped working with 1.6.0 and I'm wondering if there's a better way to

[Numpy-discussion] Object array from list in 1.6.0 (vs. 1.5.1)

2011-06-10 Thread Ken Basye
Dear folks, I have some code that stopped working with 1.6.0 and I'm wondering if there's a better way to replace it than what I came up with. Here's a condensed version: x = [()] # list containing an empty tuple; this isn't the only case, but it's one that must be handled correctly y =