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.
Created on 2012年09月10日 21:27 by ellery.newcomer, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 13873 | merged | nanjekyejoannah, 2019年06月06日 20:50 | |
| Messages (4) | |||
|---|---|---|---|
| msg170239 - (view) | Author: Ellery Newcomer (ellery.newcomer) | Date: 2012年09月10日 21:27 | |
this function is listed in the buffer docs and in abstract.h, but there is no implementation anywhere. |
|||
| msg170269 - (view) | Author: Stefan Krah (skrah) * (Python committer) | Date: 2012年09月11日 07:22 | |
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. |
|||
| msg350007 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2019年08月20日 14:46 | |
New changeset 9e66aba99925eebacfe137d9deb0ef1fdbc2d5db by Victor Stinner (Joannah Nanjekye) in branch 'master': bpo-15913: Implement PyBuffer_SizeFromFormat() (GH-13873) https://github.com/python/cpython/commit/9e66aba99925eebacfe137d9deb0ef1fdbc2d5db |
|||
| msg350008 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2019年08月20日 14:47 | |
Joannah Nanjekye implemented the function, thanks. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:35 | admin | set | github: 60117 |
| 2019年08月20日 14:47:47 | vstinner | set | status: open -> closed resolution: fixed messages: + msg350008 stage: patch review -> resolved |
| 2019年08月20日 14:46:49 | vstinner | set | nosy:
+ vstinner messages: + msg350007 |
| 2019年06月07日 16:50:36 | vstinner | set | title: PyBuffer_SizeFromFormat is missing -> Add PyBuffer_SizeFromFormat() C helper for struct.calcsize() versions: + Python 3.9, - Python 3.6 |
| 2019年06月06日 20:50:32 | nanjekyejoannah | set | keywords:
+ patch stage: needs patch -> patch review pull_requests: + pull_request13751 |
| 2016年05月19日 15:52:53 | berker.peksag | set | stage: needs patch versions: + Python 3.6, - Python 3.4 |
| 2014年10月14日 18:05:09 | skrah | set | nosy:
- skrah |
| 2012年09月11日 07:22:48 | skrah | set | versions:
+ Python 3.4, - Python 3.1, Python 2.7 nosy: + skrah messages: + msg170269 components: + Interpreter Core, - None type: enhancement |
| 2012年09月10日 21:27:23 | ellery.newcomer | create | |