Message305608
| Author | serhiy.storchaka |
|---|---|
| Recipients | brett.cannon, larry, ncoghlan, r.david.murray, serhiy.storchaka, taleinat, vstinner, yselivanov |
| Date | 2017-11-05.18:45:36 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1509907536.54.0.213398074469.issue31939@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Victor is talking about inspect.signature(). In Python 3.5+ the result is "(fd, /)". In older versions it raises a ValueError. The docstring in 3.4 is 'dup(fd) -> fd2\n\nReturn a duplicate of a file descriptor.' It doesn't contain information that dup() returns int. It contains implicit information that dup() perhaps returns other file descriptor, but this is already explicitly documented by words. I don't see a loss of information here. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-11-05 18:45:36 | serhiy.storchaka | set | recipients: + serhiy.storchaka, brett.cannon, ncoghlan, vstinner, taleinat, larry, r.david.murray, yselivanov |
| 2017-11-05 18:45:36 | serhiy.storchaka | set | messageid: <1509907536.54.0.213398074469.issue31939@psf.upfronthosting.co.za> |
| 2017-11-05 18:45:36 | serhiy.storchaka | link | issue31939 messages |
| 2017-11-05 18:45:36 | serhiy.storchaka | create | |