- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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.
| Author | serhiy.storchaka |
|---|---|
| Recipients | larry, serhiy.storchaka |
| Date | 2014-01-08.21:17:00 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1389215820.54.0.23969623905.issue20196@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Argument Clinic generates invalid code for optional parameter if there are no mandatory parameters except self. Example:
/*[clinic input]
zlib.Decompress.flush
self: self(type="compobject *")
[
length: uint
the initial size of the output buffer.
]
/
Return a bytes object containing any remaining decompressed data.
[clinic start generated code]*/
Generates:
...
switch (PyTuple_Size(args)) {
case 0:
if (!PyArg_ParseTuple(args, ":flush", ))
return NULL;
break;
...
Note a comma in PyArg_ParseTuple. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-01-08 21:17:00 | serhiy.storchaka | set | recipients: + serhiy.storchaka, larry |
| 2014-01-08 21:17:00 | serhiy.storchaka | set | messageid: <1389215820.54.0.23969623905.issue20196@psf.upfronthosting.co.za> |
| 2014-01-08 21:17:00 | serhiy.storchaka | link | issue20196 messages |
| 2014-01-08 21:17:00 | serhiy.storchaka | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
