New submission from Senthil <orsent...@gmail.com>: In 2.7 code have: import Cookie c = Cookie.Cookie('abc')
2to3 would do: c = http.cookies.Cookie('abc') This is wrong as there is no class as Cookie in http.cookies. It should translated to be http.cookies.SimpleCookie. ---------- assignee: benjamin.peterson components: 2to3 (2.x to 3.0 conversion tool) messages: 85151 nosy: benjamin.peterson, orsenthil severity: normal status: open title: 2to3 wont convert Cookie.Cookie properly type: behavior versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5664> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com