Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73345 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2014-06-18 02:08 +0100 |
| Last post | 2014-06-18 02:08 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Backport fix on #16611 to Python 2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-18 02:08 +0100
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2014-06-18 02:08 +0100 |
| Subject | Re: Backport fix on #16611 to Python 2.7 |
| Message-ID | <mailman.11110.1403053729.18130.python-list@python.org> |
On 18/06/2014 01:56, Makoto Kuwata wrote:
> 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
>
The simple answer is no. The longer answer is, if you want to propose a
patch to backport the fix, it's more likely that somebody will do the
work to commit it as support for 2.7 has been extended until 2020.
Please note that I said "more likely", there's no guarantee given that
Python relies so much on volunteers.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Back to top | Article view | comp.lang.python
csiph-web