{"action":"created","issue":{"url":"https://api.github.com/repos/python/typeshed/issues/706","repository_url":"https://api.github.com/repos/python/typeshed","labels_url":"https://api.github.com/repos/python/typeshed/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/python/typeshed/issues/706/comments","events_url":"https://api.github.com/repos/python/typeshed/issues/706/events","html_url":"https://github.com/python/typeshed/pull/706","id":191393582,"number":706,"title":"PurePath.parent[s] should be properties","user":{"login":"gvanrossum","id":2894642,"avatar_url":"https://avatars.githubusercontent.com/u/2894642?v=3","gravatar_id":"","url":"https://api.github.com/users/gvanrossum","html_url":"https://github.com/gvanrossum","followers_url":"https://api.github.com/users/gvanrossum/followers","following_url":"https://api.github.com/users/gvanrossum/following{/other_user}","gists_url":"https://api.github.com/users/gvanrossum/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanrossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanrossum/subscriptions","organizations_url":"https://api.github.com/users/gvanrossum/orgs","repos_url":"https://api.github.com/users/gvanrossum/repos","events_url":"https://api.github.com/users/gvanrossum/events{/privacy}","received_events_url":"https://api.github.com/users/gvanrossum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-23T22:29:38Z","updated_at":"2016-11-25T04:46:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/python/typeshed/pulls/706","html_url":"https://github.com/python/typeshed/pull/706","diff_url":"https://github.com/python/typeshed/pull/706.diff","patch_url":"https://github.com/python/typeshed/pull/706.patch"},"body":"Fixes #701."},"comment":{"url":"https://api.github.com/repos/python/typeshed/issues/comments/262880145","html_url":"https://github.com/python/typeshed/pull/706#issuecomment-262880145","issue_url":"https://api.github.com/repos/python/typeshed/issues/706","id":262880145,"user":{"login":"gvanrossum","id":2894642,"avatar_url":"https://avatars.githubusercontent.com/u/2894642?v=3","gravatar_id":"","url":"https://api.github.com/users/gvanrossum","html_url":"https://github.com/gvanrossum","followers_url":"https://api.github.com/users/gvanrossum/followers","following_url":"https://api.github.com/users/gvanrossum/following{/other_user}","gists_url":"https://api.github.com/users/gvanrossum/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanrossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanrossum/subscriptions","organizations_url":"https://api.github.com/users/gvanrossum/orgs","repos_url":"https://api.github.com/users/gvanrossum/repos","events_url":"https://api.github.com/users/gvanrossum/events{/privacy}","received_events_url":"https://api.github.com/users/gvanrossum/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T04:46:46Z","updated_at":"2016-11-25T04:46:46Z","body":"Hm, that message is definitely too short... :-) The error if the type variable's bound is not a superclass is much clearer. I presume the short error is somewhat coincidental?\r\n\r\nAlso, it seems using self-type with an unbounded type variable gives the same error. Why is this? Why can't I say this (at least in a stub)?\r\n```python\r\nT = TypeVar('T')\r\nclass C:\r\n    def meth(self: T) -> T: ...\r\n```\r\nAnyway, if the current version of `pathlib.pyi` seems okay please say so."}}
{"actor":{"display_login":"gvanrossum"}}