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. |
|