This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Carl.Friedrich.Bolz, Trundle, alex, benjamin.peterson, daniel.urban, eric.araujo, eric.snow, gregory.p.smith, meador.inge, ncoghlan, rhettinger, terry.reedy
Date 2015-05-16.09:04:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431767055.03.0.739353633886.issue11477@psf.upfronthosting.co.za>
In-reply-to
Content
Nathaniel Smith pointed out on python-dev (https://mail.python.org/pipermail/python-dev/2015-May/140006.html) that NumPy is relying on this bug to implement elementwise multiplication of a list by a scalar array:

    In [9]: [1, 2] * np.array(2)
    Out[9]: array([2, 4])

He also pointed out that PyPy implemented bug-for-bug compatibility with this some time back: https://bitbucket.org/pypy/pypy/src/a1a494787f4112e42f50c6583e0fea18db3fb4fa/pypy/objspace/descroperation.py?at=default#cl-692
History
Date User Action Args
2015-05-16 09:04:15ncoghlansetrecipients: + ncoghlan, rhettinger, terry.reedy, gregory.p.smith, Carl.Friedrich.Bolz, benjamin.peterson, eric.araujo, alex, Trundle, meador.inge, daniel.urban, eric.snow
2015-05-16 09:04:15ncoghlansetmessageid: <1431767055.03.0.739353633886.issue11477@psf.upfronthosting.co.za>
2015-05-16 09:04:15ncoghlanlinkissue11477 messages
2015-05-16 09:04:14ncoghlancreate