Message177181
| Author |
pitrou |
| Recipients |
asvetlov, christian.heimes, daniel.urban, eltoder, jcea, pitrou, python-dev |
| Date |
2012年12月08日.20:46:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1354999569.54.0.936869538068.issue16602@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I don't think there's a way to write PyWeakref_GET_OBJECT() in standard
> C90 without double evaluation.
Agreed. We generally don't document whether our macros are compatible with side effects in parameters, and I think we'd like to keep it that way. People should simply avoid doing this kind of thing, as it's knowingly fragile, and trivial to avoid anyway. |
|