homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:31benjamin.petersonsetrecipients: + benjamin.peterson, orsenthil
2009年04月02日 20:31:30benjamin.petersonlinkissue5664 messages
2009年04月02日 20:31:30benjamin.petersoncreate

AltStyle によって変換されたページ (->オリジナル) /