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.

classification
Title: Remove unncessary casts for PyEval_GetFrame()
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: benl, gvanrossum, nnorwitz
Priority: normal Keywords: patch

Created on 2003-02-14 15:42 by benl, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-cast.patch benl, 2003-02-14 17:34 patch
Messages (5)
msg42855 - (view) Author: Ben Laurie (benl) Date: 2003-02-14 15:42
PyEval_GetFrame()'s type is known, there's no need to
cast it.
msg42856 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-02-14 15:54
Logged In: YES 
user_id=33168

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )
msg42857 - (view) Author: Ben Laurie (benl) Date: 2003-02-14 17:37
Logged In: YES 
user_id=14333

Patch attached (and I swear I ticked the damn box the first
time)
msg42858 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-02-14 17:48
Logged In: YES 
user_id=6380

I'm fine with this, even though it changes a public API (and
hence might break 3rd party extensions). Neil, since you
showed some interest, feel free to check it in (assuming it
passes the test suit :-).
msg42859 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-02-19 16:17
Logged In: YES 
user_id=6380

All checked in. I used struct _frame intead of adding
#includes to Python.h.
History
Date User Action Args
2022-04-10 16:06:49adminsetgithub: 37986
2003-02-14 15:42:38benlcreate