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 pitrou
Recipients christian.heimes, loewis, pitrou, tim.peters, vstinner
Date 2013-11-22.15:45:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385135102.2432.8.camel@fsol>
In-reply-to <1385134916.47.0.204047349306.issue19692@psf.upfronthosting.co.za>
Content
> -1. The macro name doesn't claim the cast to be safe, i.e. it's not
> "Py_SAFELY_DOWNCAST", but "safe downcast", i.e. it's an assertion that
> the cast actually has been verified as being safe.

It's not an assertion, it's a cast.
Otherwise it should be named Py_ASSERT_SAFE_DOWNCAST (and it should only
do the assertion, not the cast).
History
Date User Action Args
2013-11-22 15:45:04pitrousetrecipients: + pitrou, tim.peters, loewis, vstinner, christian.heimes
2013-11-22 15:45:04pitroulinkissue19692 messages
2013-11-22 15:45:04pitroucreate