[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

To be honest, I was not sure that replace() exists in 3.8 and I was too lazy to 
write different code for different versions. Next time when bogus_code_obj.py 
become outdated again we will use replace().

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Dennis Sweeney


Dennis Sweeney  added the comment:

To make it slightly more readable and future-proof so such things don't become 
outdated again in the future, you could use the CodeType.replace() method.

See also https://bugs.python.org/issue42422

--
nosy: +Dennis Sweeney

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread miss-islington


miss-islington  added the comment:


New changeset 51f502914656a1f8e8ffdf6e1b06f670d8fea8ed by Miss Islington (bot) 
in branch '3.9':
bpo-42734: Fix crasher bogus_code_obj.py (GH-23939)
https://github.com/python/cpython/commit/51f502914656a1f8e8ffdf6e1b06f670d8fea8ed


--

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread miss-islington


miss-islington  added the comment:


New changeset 0178a6b67ca3e782443f311e953509ca3eb4aacf by Miss Islington (bot) 
in branch '3.8':
bpo-42734: Fix crasher bogus_code_obj.py (GH-23939)
https://github.com/python/cpython/commit/0178a6b67ca3e782443f311e953509ca3eb4aacf


--

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread miss-islington


Change by miss-islington :


--
pull_requests: +22791
pull_request: https://github.com/python/cpython/pull/23941

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 2.0 -> 3.0
pull_requests: +22790
pull_request: https://github.com/python/cpython/pull/23940

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 954a7427ba9c2d02faed32c02090caeca873aeca by Serhiy Storchaka in 
branch 'master':
bpo-42734: Fix crasher bogus_code_obj.py (GH-23939)
https://github.com/python/cpython/commit/954a7427ba9c2d02faed32c02090caeca873aeca


--

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Xinmeng Xia

Xinmeng Xia  added the comment:

Yes,you are right. I thought it was fixed,but it wasn't. Thanks.

--
type: enhancement -> behavior

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


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

___
Python tracker 

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



[issue42734] Outdated CodeType call in "bogus_code_obj.py"

2020-12-25 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
title: "bogus_code_obj.py" should be removed from "cPython/Lib/test/crashers" 
-> Outdated CodeType call in "bogus_code_obj.py"

___
Python tracker 

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