Message 85264 - Python tracker
Message85264
| Author | benjamin.peterson |
|---|---|
| Recipients | benjamin.peterson, orsenthil |
| Date | 2009-04-02.20:31:30 |
| SpamBayes Score | 0.0013907471 |
| Marked as misclassified | No |
| Message-id | <1afaf6160904021331o46eb640es298ae87fc53510a5@mail.gmail.com> |
| In-reply-to | <1238642568.2.0.229238012255.issue5664@psf.upfronthosting.co.za> |
| Content | |
|---|---|
2009/4/1 Senthil <report@bugs.python.org>: > > New submission from Senthil <orsenthil@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. That's unfortunate. I suppose a new custom fixer will have to be written for Cookie now. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-04-02 20:31:31 | benjamin.peterson | set | recipients: + benjamin.peterson, orsenthil |
| 2009-04-02 20:31:30 | benjamin.peterson | link | issue5664 messages |
| 2009-04-02 20:31:30 | benjamin.peterson | create | |