Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73346 > unrolled thread

Backport fix on #16611 to Python 2.7

Started byMakoto Kuwata <kwa@kuwata-lab.com>
First post2014-06-18 09:56 +0900
Last post2014-06-18 09:56 +0900
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Backport fix on #16611 to Python 2.7 Makoto Kuwata <kwa@kuwata-lab.com> - 2014-06-18 09:56 +0900

#73346 — Backport fix on #16611 to Python 2.7

FromMakoto Kuwata <kwa@kuwata-lab.com>
Date2014-06-18 09:56 +0900
SubjectBackport fix on #16611 to Python 2.7
Message-ID<mailman.11109.1403052963.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

Hi,

I found a bug on SimpleCookie#load() which doesn't parse
'secure' and 'httponly' attributes correctly.

    try:
        from Cookie import SimpleCookie
    except:
        from http.cookies import SimpleCookie
    ck = SimpleCookie()
    ck.load('name1=value1; Path=/xxx; httponly; secure')
    print(ck.output())  #=> Set-Cookie: name1=value1; Path=/xxx
            # (Missing 'httponly' and 'secure' attributes on Python <
3.3.2!)


This bug has been registered as #16611, and fixed on 3.3.3.
But it is not backported into Python 2.7.
http://bugs.python.org/issue16611

My question: Is there any plan to backport the fix to Python 2.7?

--
regards,
makoto kuwata

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web