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 2013年07月15日 02:11 by ncoghlan, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| PyDict_Update.patch | priyapappachan, 2014年03月25日 08:16 | Updated PyDict_Update doc | review | |
| Messages (4) | |||
|---|---|---|---|
| msg193070 - (view) | Author: Alyssa Coghlan (ncoghlan) * (Python committer) | Date: 2013年07月15日 02:11 | |
The docs from PyDict_Update (http://docs.python.org/3/c-api/dict.html#PyDict_Update) claim it is equivalent to the Python level dict.update (http://docs.python.org/3/library/stdtypes#dict.update) This isn't accurate - unlike dict.update, PyDict_Update doesn't fall back to the iterating over a sequence of key value pairs if the second argument has no "keys" attribute. |
|||
| msg213116 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2014年03月11日 05:04 | |
Nice catch. |
|||
| msg214788 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年03月25日 08:35 | |
New changeset 8e1637e3a099 by Georg Brandl in branch '3.4': Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan. http://hg.python.org/cpython/rev/8e1637e3a099 |
|||
| msg214789 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年03月25日 08:35 | |
New changeset 2e51845a99e2 by Georg Brandl in branch '2.7': Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan. http://hg.python.org/cpython/rev/2e51845a99e2 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:48 | admin | set | github: 62656 |
| 2014年03月25日 08:35:35 | python-dev | set | messages: + msg214789 |
| 2014年03月25日 08:35:13 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg214788 resolution: fixed stage: needs patch -> resolved |
| 2014年03月25日 08:16:52 | priyapappachan | set | files:
+ PyDict_Update.patch keywords: + patch |
| 2014年03月11日 05:04:03 | rhettinger | set | nosy:
+ rhettinger messages: + msg213116 |
| 2014年03月09日 21:15:06 | Jill.M | set | nosy:
+ Jill.M |
| 2013年08月08日 17:49:02 | ezio.melotti | set | nosy:
+ ezio.melotti |
| 2013年07月15日 02:11:12 | ncoghlan | create | |