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: Alternative to rev 45325
Type: Stage:
Components: Build Versions: Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: skip.montanaro Nosy List: anthonybaxter, loewis, skip.montanaro
Priority: normal Keywords: patch

Created on 2006-04-13 02:11 by skip.montanaro, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
compile.patch skip.montanaro, 2006-04-13 02:11
Messages (5)
msg49987 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2006-04-13 02:11
Here's an alternative to Anthony's cast in rev 45325.  Is this any
better than a simple cast?  I think it should probably have a 
_SET_ENUM macro as well to set enum values through the union as well.

Skip
msg49988 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2006-04-13 03:49
Logged In: YES 
user_id=29957

looks ok to me. feel free to check in.

msg49989 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2006-04-13 09:37
Logged In: YES 
user_id=44345

Checked in as revision 45354
msg49990 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2006-04-13 11:50
Logged In: YES 
user_id=44345

I'm reopening this.  My patch broke the C build.  I reverted
the change in SVN and will investigate further.
msg49991 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-04-13 17:44
Logged In: YES 
user_id=21627

A yet different alternative was committed as r45360
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43197
2006-04-13 02:11:51skip.montanarocreate