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.

作者 skrah
收信人 ncoghlan, pitrou, skrah
日期 2011-08-22.14:27:25
SpamBayes Score 0.00010915361
Marked as misclassified
Message-id <1314023245.72.0.107480757983.issue12817@psf.upfronthosting.co.za>
In-reply-to
内容
Of course, there is another interpretation:

[PyBUF_FORMAT]

"The returned buffer must have true format information if this flag is provided. This would be used when the consumer is going to be checking for what 'kind' of data is actually stored. An exporter should always be able to provide this information if requested. If format is not explicitly requested then the format must be returned as NULL (which means "B", or unsigned bytes)"


So, the returned buffer may have false format information ('B' vs. 'i'
in this case) if this flag is not provided.


Do you agree with this? I'll then make it explicit in the documentation.
历史
日期 用户 动作 参数
2011-08-22 14:27:25skrah修改recipients: + skrah, ncoghlan, pitrou
2011-08-22 14:27:25skrah修改messageid: <1314023245.72.0.107480757983.issue12817@psf.upfronthosting.co.za>
2011-08-22 14:27:25skrah链接issue12817 messages
2011-08-22 14:27:25skrah创建