[issue13302] Clarification needed in C API arg parsing

2012-01-01 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Antoine for the pointer. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.2, Python 3.3 ___ Python tracker ___

[issue13302] Clarification needed in C API arg parsing

2012-01-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2b7104691c9 by Sandro Tosi in branch '2.7': Issue #13302: backport part of 3ed28f28466f http://hg.python.org/cpython/rev/b2b7104691c9 -- nosy: +python-dev ___ Python tracker

[issue13302] Clarification needed in C API arg parsing

2011-11-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's already in the 3.x docs (but not 2.x): “Strings and buffers These formats allow to access an object as a contiguous chunk of memory. You don’t have to provide raw storage for the returned unicode or bytes area. Also, you won’t have to release any memory

[issue13302] Clarification needed in C API arg parsing

2011-10-31 Thread Sandro Tosi
New submission from Sandro Tosi : Hello, given I can't fully comprehend the user request (sent on docs@ as of http://mail.python.org/pipermail/docs/2011-September/005791.html), I'm just echoing it : >>> recently I embedded Python into one of my applications, which included some string parsing.