[issue11477] Incorrect operand precedence when implementing sequences in C

2021-10-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: Given that a lot of code is presumably relying on this (see the notes from 2015)... I wouldn't be surprised if this turns into a wart we document but not actually fix. :/ Or a conditional behavior we control via a `from __future__ import

[issue11477] Incorrect operand precedence when implementing sequences in C

2021-10-25 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.6 ___ Python tracker ___

[issue11477] Incorrect operand precedence when implementing sequences in C

2016-03-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue11477] Incorrect operand precedence when implementing sequences in C

2016-03-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue11477] Incorrect operand precedence when implementing sequences in C

2015-07-21 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: -ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue11477] Incorrect operand precedence when implementing sequences in C

2015-05-16 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue11477] Incorrect operand precedence when implementing sequences in C

2015-05-16 Thread Nick Coghlan
Nick Coghlan added the comment: 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]:

[issue11477] Incorrect operand precedence when implementing sequences in C

2015-04-25 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___

[issue11477] Incorrect operand precedence when implementing sequences in C

2013-01-04 Thread Nick Coghlan
Nick Coghlan added the comment: Updated issue title to better describe the symptoms of the issue (and hopefully make it so I don't spend 5 minutes remembering the issue title every time I want to look at it...) -- title: Bug in code dispatching based on internal slots - Incorrect