[issue7696] Improve Memoryview/Buffer documentation

2010-10-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Let's close then. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7696] Improve Memoryview/Buffer documentation

2010-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, is there more that remains to be done on this, or can it be closed? I don't know really. I have done what I thought necessary on memoryview/buffer maintenance, and I don't really want to go any further. -- __

[issue7696] Improve Memoryview/Buffer documentation

2010-10-23 Thread R. David Murray
R. David Murray added the comment: Antoine, is there more that remains to be done on this, or can it be closed? -- nosy: +r.david.murray ___ Python tracker ___ __

[issue7696] Improve Memoryview/Buffer documentation

2010-07-19 Thread Craig McQueen
Craig McQueen added the comment: I've seen the changes Mr Pitrou made, both for the 2.x and 3.x docs. That's a good improvement--thanks very much. -- ___ Python tracker ___

[issue7696] Improve Memoryview/Buffer documentation

2010-07-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Craig, thanks for pointing it out. I've committed a patch to fix the doc. It should probably appear online soon. -- ___ Python tracker ___

[issue7696] Improve Memoryview/Buffer documentation

2010-07-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: teoliphant -> pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue7696] Improve Memoryview/Buffer documentation

2010-07-11 Thread Craig McQueen
Craig McQueen added the comment: My previous comment was referring to Python 3.x, by the way. Python 2.7 has not implemented the buffer protocol for `array`. -- ___ Python tracker _

[issue7696] Improve Memoryview/Buffer documentation

2010-07-11 Thread Craig McQueen
Craig McQueen added the comment: The documentation implies that memoryview always accesses bytes: * "len(view) returns the total number of bytes in the memoryview, view." * "Taking a single index will return a single byte." But, the following example shows this is misleading: >>> from arra

[issue7696] Improve Memoryview/Buffer documentation

2010-04-04 Thread Georg Brandl
Georg Brandl added the comment: > (I don't know why it doesn't have its own anchor, though) Because that is only a link to the real description: http://docs.python.org/dev/library/stdtypes.html#memoryview And I think even you, Mr Potrou, could infer how to add glossary entries from one look

[issue7696] Improve Memoryview/Buffer documentation

2010-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > memoryview() function is not documented in library/functions.rst You should look more carefully... See http://docs.python.org/dev/library/functions.html#max (I don't know why it doesn't have its own anchor, though) -- ___

[issue7696] Improve Memoryview/Buffer documentation

2010-04-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This is quite obscure because there's no definition of the "buffer > protocol". You can find it at http://www.python.org/dev/peps/pep-3118/#id5 (assuming it is not outdated) > the memoryview.suboffsets attribute is not documented on the "6.10 > memoryview

[issue7696] Improve Memoryview/Buffer documentation

2010-04-03 Thread STINNER Victor
STINNER Victor added the comment: memoryview() function is not documented in library/functions.rst, whereas it's a builtin function. -- ___ Python tracker ___ __

[issue7696] Improve Memoryview/Buffer documentation

2010-04-02 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> pitrou nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue7696] Improve Memoryview/Buffer documentation

2010-03-24 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +haypo priority: -> normal stage: -> needs patch type: -> behavior ___ Python tracker ___ ___

[issue7696] Improve Memoryview/Buffer documentation

2010-01-13 Thread Florent Xicluna
New submission from Florent Xicluna : Various notes while reading the Memoryview documentation: - “memoryviews allow Python code to access the internal data of an object that supports the buffer protocol without copying. Memory can be interpreted as simple bytes or complex data structures.” T