Stefan Krah added the comment: Even though it's documented, the function is probably a new feature and should go into 3.4.
Meanwhile, you can call struct.calcsize(format). Any non-trivial implementation of PyBuffer_SizeFromFormat() would likely do the same. ---------- components: +Interpreter Core -None nosy: +skrah type: -> enhancement versions: +Python 3.4 -Python 2.7, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15913> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com