{"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/1862","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/1862/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1862/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/1862/events","html_url":"https://github.com/xonsh/xonsh/pull/1862","id":183505549,"number":1862,"title":"First class path objects","user":{"login":"chronitis","id":6874993,"avatar_url":"https://avatars.githubusercontent.com/u/6874993?v=3","gravatar_id":"","url":"https://api.github.com/users/chronitis","html_url":"https://github.com/chronitis","followers_url":"https://api.github.com/users/chronitis/followers","following_url":"https://api.github.com/users/chronitis/following{/other_user}","gists_url":"https://api.github.com/users/chronitis/gists{/gist_id}","starred_url":"https://api.github.com/users/chronitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronitis/subscriptions","organizations_url":"https://api.github.com/users/chronitis/orgs","repos_url":"https://api.github.com/users/chronitis/repos","events_url":"https://api.github.com/users/chronitis/events{/privacy}","received_events_url":"https://api.github.com/users/chronitis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-10-17T19:30:24Z","updated_at":"2016-12-06T19:37:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xonsh/xonsh/pulls/1862","html_url":"https://github.com/xonsh/xonsh/pull/1862","diff_url":"https://github.com/xonsh/xonsh/pull/1862.diff","patch_url":"https://github.com/xonsh/xonsh/pull/1862.patch"},"body":"This changeset provides syntactic sugar for using `pathlib.Path` objects in xonsh directly, enabling them to be written as literals and generated by backtick searches.\n\n```\n>>> p\"foo/bar\"\nPosixPath(\"foo/bar\")\n>>> p`foo/.*`\n[PosixPath(\"foo/bar\")]\n```\n\nThe rationale being that a great deal of shell scripting involves performing some sort of manipulation on paths, and being able to get path objects directly means you can benefit from manipulation methods directly rather than needing to deal with parsing and reforming the string representation manually.\n"},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/265250262","html_url":"https://github.com/xonsh/xonsh/pull/1862#issuecomment-265250262","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/1862","id":265250262,"user":{"login":"astronouth7303","id":401438,"avatar_url":"https://avatars.githubusercontent.com/u/401438?v=3","gravatar_id":"","url":"https://api.github.com/users/astronouth7303","html_url":"https://github.com/astronouth7303","followers_url":"https://api.github.com/users/astronouth7303/followers","following_url":"https://api.github.com/users/astronouth7303/following{/other_user}","gists_url":"https://api.github.com/users/astronouth7303/gists{/gist_id}","starred_url":"https://api.github.com/users/astronouth7303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronouth7303/subscriptions","organizations_url":"https://api.github.com/users/astronouth7303/orgs","repos_url":"https://api.github.com/users/astronouth7303/repos","events_url":"https://api.github.com/users/astronouth7303/events{/privacy}","received_events_url":"https://api.github.com/users/astronouth7303/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T19:37:39Z","updated_at":"2016-12-06T19:37:39Z","body":"Any progress on this?"}}
{"actor":{"display_login":"astronouth7303"}}