homepage

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.

Author paulhankin
Recipients
Date 2007年03月11日.20:16:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hi Larry,
It doesn't sound too promising - I'm new and have no powers of resurrection :(
By strict aliasing, I just meant it's illegal to access members of one type if the object is of a different (incompatible) type (actually I was wrong, this isn't the strict aliasing rule - it's a more fundamental one). In your case, it means it's illegal to pass a concat object where a string object is expected, even if the function accesses members that are common to them both. If this is happening, the answer is to make a union with the string object and cat object as members, and to use this union type instead but it's not pretty.
I suggest this patch is closed anyway. If you still believe in your code and think that lazy string cats have support, I suggest making a new patch with just those in (fixed up to be correct C, and PEP 7 compliant).
History
Date User Action Args
2007年08月23日 15:55:15adminlinkissue1590352 messages
2007年08月23日 15:55:15admincreate

AltStyle によって変換されたページ (->オリジナル) /