{"issue":{"created_at":"2011-11-18T00:04:34Z","state":"open","updated_at":"2011-11-20T04:24:38Z","user":{"gravatar_id":"d11461d49182bb39f0c1229b7f2b6519","id":278873,"url":"https://api.github.com/users/jdmarch","login":"jdmarch","avatar_url":"https://secure.gravatar.com/avatar/d11461d49182bb39f0c1229b7f2b6519?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":17,"body":"A. In 0.10.2, the user could copy a path from elsewhere, and paste it after cd magic, backslashes and all:\r\n\r\n    cd c:\\Users\\myname\r\n\r\nIn 0.11, this fails:\r\nSyntaxError: (unicode error) 'rawunicodeescape' codec can't decode bytes in position 5-6: truncated \\uXXXX...\r\n\r\nNo form of quoting (including raw) seems to help.\r\n\r\nFor manual path entry, forward slashes or double backslashes work, but for copy/paste this is a regression.\r\n\r\n\r\nB. In 0.10, tab completion of quoted paths with spaces worked a bit (Tabbing immediately after a space, it failed, but then tabbing after a subsequent nonspace it worked again.) AFAICT in 0.12 there is no way to get tab completion of paths with spaces (quoted or not) working following a space character.\r\n\r\n\r\nC. In 0.10, %cd could recognize paths which included spaces, quoted or unquoted. Not so in 0.12, which requires quotes. Arguable whether this is a troublesome regression or a logical improvement.\r\n\r\n\r\n\r\n","assignee":null,"id":2275438,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1009,"labels":[{"name":"prio-high","color":"e35610","url":"https://api.github.com/repos/ipython/ipython/labels/prio-high"},{"name":"regression","color":"e102d8","url":"https://api.github.com/repos/ipython/ipython/labels/regression"},{"name":"type-bug","color":"d9596c","url":"https://api.github.com/repos/ipython/ipython/labels/type-bug"},{"name":"windows","color":"ededed","url":"https://api.github.com/repos/ipython/ipython/labels/windows"}],"title":"Windows: regression in cd magic handling of paths","closed_at":null,"html_url":"https://github.com/ipython/ipython/issues/1009","milestone":null,"url":"https://api.github.com/repos/ipython/ipython/issues/1009"},"action":"created","comment":{"created_at":"2011-11-20T04:24:38Z","updated_at":"2011-11-20T04:24:38Z","user":{"gravatar_id":"95198572b00e5fbcd97fb5315215bf7a","id":57394,"url":"https://api.github.com/users/fperez","login":"fperez","avatar_url":"https://secure.gravatar.com/avatar/95198572b00e5fbcd97fb5315215bf7a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"@takluyver, that's a very good point!  Looking at that code, which is very old and ugly, I'm not sure we actually need it.  If you want to take a stab at just replacing that function for now with a bare `return repr(s)` and seeing how things go, it would be great.  The more of those home-brewed weird/hackish little utilities we get rid of, the better off we'll be.","id":2802477,"url":"https://api.github.com/repos/ipython/ipython/issues/comments/2802477"}}