Message177181
> 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. |
|
Date |
User |
Action |
Args |
2012-12-08 20:46:09 | pitrou | set | recipients:
+ pitrou, jcea, christian.heimes, asvetlov, daniel.urban, python-dev, eltoder |
2012-12-08 20:46:09 | pitrou | set | messageid: <1354999569.54.0.936869538068.issue16602@psf.upfronthosting.co.za> |
2012-12-08 20:46:09 | pitrou | link | issue16602 messages |
2012-12-08 20:46:09 | pitrou | create | |
|