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