[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread miss-islington


miss-islington  added the comment:


New changeset ebbd0ac5d8850a1630090c210b2454b4b26c7daa by Miss Islington (bot) 
in branch '3.10':
bpo-45039: Consistently use ADDOP_LOAD_CONST in compiler rather than ADDOP_O(c, 
LOAD_CONST,...) (GH-28015)
https://github.com/python/cpython/commit/ebbd0ac5d8850a1630090c210b2454b4b26c7daa


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +26543
pull_request: https://github.com/python/cpython/pull/28100

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 70ccee418d1f9d34ed15cfe7104221f9cfd27d03 by Irit Katriel in 
branch 'main':
bpo-45039: Consistently use ADDOP_LOAD_CONST in compiler rather than ADDOP_O(c, 
LOAD_CONST,...) (GH-28015)
https://github.com/python/cpython/commit/70ccee418d1f9d34ed15cfe7104221f9cfd27d03


--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-28 Thread Irit Katriel


Change by Irit Katriel :


--
nosy: +Mark.Shannon, gvanrossum

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-28 Thread Irit Katriel


Change by Irit Katriel :


--
keywords: +patch
pull_requests: +26459
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/28015

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-28 Thread Irit Katriel


New submission from Irit Katriel :

The compiler generally uses ADDOP_LOAD_CONST to emit a LOAD_CONST, but there 
are two places that use ADDOP_O(c, LOAD_CONST, Py_None, consts);

This is currently equivalent to ADDOP_LOAD_CONST(c, Py_None);

It should be replaced because we may soon change ADDOP_LOAD_CONST.

--
components: Interpreter Core
messages: 400485
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: use ADDOP_LOAD_CONST consistently
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com