Author eric.smith
Recipients Mark.Shannon, brett.cannon, eric.smith, larry, serhiy.storchaka
Date 2015-10-28.18:46:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446057969.5.0.528138195062.issue25483@psf.upfronthosting.co.za>
In-reply-to
Content
Brett: I'll take a look.

Serhiy: I'm looking for a place to put some #defines related to the bit masks and bit values that my FORMAT_VALUE opcode is using for opargs. One option is to just put them in Tools/scripts/generate_opcode_h.py, so that they end up in the generated opcode.h, but that seems a little sleazy. I can't find a better place they'd belong, though.

Specifically, I want to put these lines into a .h file to use by ceval.c and compile.c:

/* Masks and values for FORMAT_VALUE opcode. */
#define FVC_MASK      0x3
#define FVS_MASK      0x4
#define FVC_NONE      0x0
#define FVC_STR       0x1
#define FVC_REPR      0x2
#define FVC_ASCII     0x3
#define FVS_HAVE_SPEC 0x4
History
Date User Action Args
2015-10-28 18:46:09eric.smithsetrecipients: + eric.smith, brett.cannon, larry, Mark.Shannon, serhiy.storchaka
2015-10-28 18:46:09eric.smithsetmessageid: <1446057969.5.0.528138195062.issue25483@psf.upfronthosting.co.za>
2015-10-28 18:46:09eric.smithlinkissue25483 messages
2015-10-28 18:46:09eric.smithcreate