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 skrah
Recipients ncoghlan, pitrou, skrah
Date 2011-08-22.14:27:25
SpamBayes Score 0.00010915361
Marked as misclassified No
Message-id <1314023245.72.0.107480757983.issue12817@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-08-22 14:27:25skrahsetrecipients: + skrah, ncoghlan, pitrou
2011-08-22 14:27:25skrahsetmessageid: <1314023245.72.0.107480757983.issue12817@psf.upfronthosting.co.za>
2011-08-22 14:27:25skrahlinkissue12817 messages
2011-08-22 14:27:25skrahcreate