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: ifdeffery patch
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: loewis Nosy List: isandler, loewis
Priority: normal Keywords: patch

Created on 2004-08-28 20:05 by isandler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ceval.ifdef_patch isandler, 2004-08-28 20:05
Messages (2)
msg46799 - (view) Author: Ilya Sandler (isandler) Date: 2004-08-28 20:05
when WITH_TSC is not defined, the patch defines
rdtscll() macro as no-op

#ifndef WITH_TSC 
#define rdtscll(var)
...

this allows to remove  
#ifdef WITH_TSC brackes from many places of the code

and
#ifdef WITH_TSC
    rdtscll(x);                         
#endif 

becomes simply : rdtscll(x)

(see also "#ifdeffery" thread on python-dev)



msg46800 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-08-29 15:52
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as ceval.c 2.416.
History
Date User Action Args
2022-04-11 14:56:06adminsetgithub: 40838
2004-08-28 20:05:57isandlercreate