Evan added the comment: I've attached a more complete patch. This takes the conservative approach of retaining all functionality of 3.6 and treating this as a new feature for 3.7. I don't think this is suitable for 3.6.1 given this new behavior contradicts what is currently written in the documentation (though this can be discussed further).
I've also run into a couple of other bugs that I've made separate issues for: * The example in the documentation mixes up 'Old' and 'New' (issue29133) * The updated example contains a bug (the '>abc' token should actually be two tokens) (issue29132) These should both be fixed in 3.6.1 regardless of where this goes. ---------- versions: +Python 3.7 Added file: http://bugs.python.org/file46111/shlex.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28595> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com