Message85264
2009/4/1 Senthil <[email protected]>:
>
> New submission from Senthil <[email protected]>:
>
> 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. |
|
| 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 | |
|