{"action":"created","issue":{"url":"https://api.github.com/repos/python/typeshed/issues/2448","repository_url":"https://api.github.com/repos/python/typeshed","labels_url":"https://api.github.com/repos/python/typeshed/issues/2448/labels{/name}","comments_url":"https://api.github.com/repos/python/typeshed/issues/2448/comments","events_url":"https://api.github.com/repos/python/typeshed/issues/2448/events","html_url":"https://github.com/python/typeshed/issues/2448","id":359267924,"node_id":"MDU6SXNzdWUzNTkyNjc5MjQ=","number":2448,"title":"`fold` arguments for datetime/time added in Python 3.6 is not supported","user":{"login":"kitsuyui","id":2596972,"node_id":"MDQ6VXNlcjI1OTY5NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/2596972?v=4","gravatar_id":"","url":"https://api.github.com/users/kitsuyui","html_url":"https://github.com/kitsuyui","followers_url":"https://api.github.com/users/kitsuyui/followers","following_url":"https://api.github.com/users/kitsuyui/following{/other_user}","gists_url":"https://api.github.com/users/kitsuyui/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsuyui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsuyui/subscriptions","organizations_url":"https://api.github.com/users/kitsuyui/orgs","repos_url":"https://api.github.com/users/kitsuyui/repos","events_url":"https://api.github.com/users/kitsuyui/events{/privacy}","received_events_url":"https://api.github.com/users/kitsuyui/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T00:06:55Z","updated_at":"2018-09-12T02:27:51Z","closed_at":"2018-09-12T02:27:51Z","author_association":"CONTRIBUTOR","body":"[PEP 495](https://www.python.org/dev/peps/pep-0495/) had added the new fold attribute.\r\n\r\nAccordingly also `datetime.datetime()` and `datetime.time()` had started to support fold arguments from 3.6.\r\nBut its type hint is not updated except `replace()`.\r\n\r\n## Reproducible\r\n\r\n```python3\r\nfrom datetime import time\r\ntime(hour=0, minute=0, second=0, fold=0)  # error: Unexpected keyword argument \"fold\" for \"time\"\r\n```\r\n\r\n## Reference\r\n\r\n- https://www.python.org/dev/peps/pep-0495/\r\n\r\n- https://docs.python.org/3/whatsnew/3.6.html#pep-495-local-time-disambiguation\r\n\r\n- https://docs.python.org/3.5/library/datetime.html#datetime.datetime\r\n- https://docs.python.org/3.6/library/datetime.html#datetime.datetime\r\n\r\n- https://docs.python.org/3.5/library/datetime.html#datetime.time\r\n- https://docs.python.org/3.6/library/datetime.html#datetime.time\r\n"},"comment":{"url":"https://api.github.com/repos/python/typeshed/issues/comments/420490759","html_url":"https://github.com/python/typeshed/issues/2448#issuecomment-420490759","issue_url":"https://api.github.com/repos/python/typeshed/issues/2448","id":420490759,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDQ5MDc1OQ==","user":{"login":"srittau","id":52799,"node_id":"MDQ6VXNlcjUyNzk5","avatar_url":"https://avatars3.githubusercontent.com/u/52799?v=4","gravatar_id":"","url":"https://api.github.com/users/srittau","html_url":"https://github.com/srittau","followers_url":"https://api.github.com/users/srittau/followers","following_url":"https://api.github.com/users/srittau/following{/other_user}","gists_url":"https://api.github.com/users/srittau/gists{/gist_id}","starred_url":"https://api.github.com/users/srittau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srittau/subscriptions","organizations_url":"https://api.github.com/users/srittau/orgs","repos_url":"https://api.github.com/users/srittau/repos","events_url":"https://api.github.com/users/srittau/events{/privacy}","received_events_url":"https://api.github.com/users/srittau/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T02:27:51Z","updated_at":"2018-09-12T02:27:51Z","author_association":"COLLABORATOR","body":"Fixed in #2449"}}
{"actor":{"display_login":"srittau"}}