[issue2211] Cookie.Morsel interface needs update

2015-04-01 Thread R. David Murray

R. David Murray added the comment:

Heh, I thought it was closed.  I guess my eyes were distracted by the 'fixed' 
resolution.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you David, all LGTM.

I noted that the :func: role sometimes is used for methods in the whatsnew file 
(and perhaps in other rst files). Perhaps it should be changed to :meth:. But 
this is other issue.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-31 Thread Demian Brecht

Demian Brecht added the comment:

Set as closed, assuming there's no reason to keep this issue open.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-30 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Did you noticed my comments on Rietveld about setdefault() and the :meth: role?

--
assignee: serhiy.storchaka - r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-30 Thread R. David Murray

R. David Murray added the comment:

No, sorry, I currently don't always notice reviews unless they are mentioned on 
the tracker.  I will take a look.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-30 Thread Demian Brecht

Demian Brecht added the comment:

Thanks for following up on this David. The changes you've made all look good to 
me.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-30 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a70ca6f35327 by R David Murray in branch 'default':
#2211: Fix typo, address missed review comment.
https://hg.python.org/cpython/rev/a70ca6f35327

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-30 Thread R. David Murray

R. David Murray added the comment:

Serhiy: I had already dealt with all the comments in my revisions in one way or 
another, except for the one about setdefault.  I've added documentation for 
that now, too.  Sorry for not posting everything for review first...if you see 
anything you object to in the commits. please let me know.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 09f22b5d6cea by R David Murray in branch 'default':
#2211: properly document the Morsel behavior changes.
https://hg.python.org/cpython/rev/09f22b5d6cea

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-29 Thread R. David Murray

R. David Murray added the comment:

I made several changes to the patch.

The whatsnew docs didn't format correctly: there's an extra space on all the 
lines after the first (a three space indent is apparently required there which 
I don't understand, but it is also our standard for docs).  Also none of the 
links work, because in the whatsnew document (unlike in the doc page itself) 
you have to fully qualify the names (eg: ~http.cookies.Morsel to display 
'Morsel' and link to the right place).  The line about LegalChars was in the 
wrong section.  I rewrote both as a single bullet item with working links.

The 'update' and 'copy' methods were not documented.  I added them and moved 
the relevant 'versionchanged' phrases under the newly documented methods.

In addition, I decided that the deprecation for key, value, and coded_value 
would be clearer if phrased as : assignment to XXX; use set instead.

A couple of other notes: while functionally it doesn't (currently) make any 
difference to Sphinx if you use :func: vs :meth:, :meth: is the correct one for 
all these cases.  And you had an extra blank line after the versionchanged 
directive.

I've uploaded the changeset I applied as a diff so that you can more easily see 
what I changed if you wish.

--
Added file: 
http://bugs.python.org/file38729/http_cookies_morsel_deprecated_set_4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-29 Thread R. David Murray

R. David Murray added the comment:

Now, anyone want to place bets on someone getting bitten by the new errors that 
update will raise? :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-25 Thread Demian Brecht

Demian Brecht added the comment:

 it would be better to consolidate the three adjacent versionchanged entries 
 into one

I created the three versionchanged items because there's no visual distinction 
between the second and third lines and the rest of the doc tests in the 
rendered output. I've changed it as suggested as you're obviously more familiar 
with other instances of this, but I would still suggest reverting it to the 
three individual points if this isn't a docs best practice (or updating the 
versionchanged CSS class to have some visual distinction between it and the 
rest of the docs).

--
Added file: 
http://bugs.python.org/file38688/http_cookies_morsel_deprecated_set_1.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-25 Thread Demian Brecht

Demian Brecht added the comment:

FWIW, I created #23778 to address the indentation issue.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-25 Thread R. David Murray

R. David Murray added the comment:

The body of the versionchanged has to be a single paragraph (no blank lines).  
Usually we start each sentence on a newline in the source, but it comes out 
rendered as a single flowed paragraph.  Perhaps eventually someone will add 
support to Sphinx for unordered lists in a directive, but a single paragraph is 
good enough.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-25 Thread Berker Peksag

Berker Peksag added the comment:

I think David's suggestion in msg239260 was good enough for now :) You'll need 
to create a custom versionchanged directive to generate a valid and semantic 
markup for the usage in http_cookies_morsel_deprecated_set_2.patch. I also left 
a couple comments on Rietveld.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-25 Thread Demian Brecht

Demian Brecht added the comment:

Problem (pretty much) solved. Nested unordered lists are supported. I've 
updated the versionchanged information to use the list.

--
Added file: 
http://bugs.python.org/file38690/http_cookies_morsel_deprecated_set_2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-25 Thread Demian Brecht

Demian Brecht added the comment:

Updated patch should address review comments. I did run with David's suggestion 
as I also noticed that my initial assessment was wrong (thanks for the 
note/review Berker).

--
Added file: 
http://bugs.python.org/file38695/http_cookies_morsel_deprecated_set_3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-22 Thread R. David Murray

R. David Murray added the comment:

It looks like both of those changes were part of the python3 transition, and 
thus not subject to our backward compatibility rules.  (Which, it should be 
noted, we applied rather more loosely in python 3.1, 3.2, and even to a smaller 
extent in 3.3).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-22 Thread R. David Murray

R. David Murray added the comment:

Demien, your patch looks good to me except that it would be better to 
consolidate the three adjacent versionchanged entries into one.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-22 Thread R. David Murray

R. David Murray added the comment:

Oh, and the additional what's new text would in this case be pretty much the 
contents of that multi-line versionchanged entry, as a bullet item in the 
'porting' section.  That is, they are behavior changes that are closer to API 
fixes than new features, and so don't need to be entered into the 'module 
improvements' section, but should be mentioned as possible porting issues (all 
this is IMO, of course).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

In 2.7 Morsel.set is declared as:

def set(self, key, val, coded_val,
LegalChars=_LegalChars,
idmap=_idmap, translate=string.translate):

Undocumented parameters idmap and translate were removed without deprecation. 
idmap was removed in 14b65de9b798, translate was removed in 99027c2b3fd2 when 
their became unnecessary. Now LegalChars is unnecessary.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-20 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy:  -haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-20 Thread Demian Brecht

Demian Brecht added the comment:

 idmap was removed in 14b65de9b798, translate was removed in 99027c2b3fd2 when 
 their became unnecessary.

I'd venture to say they slipped through the cracks. Following the deprecation 
procedure here would be favourable IMHO as to give users a sufficient heads up 
that their will be a breakage upcoming, however unlikely that the parameter is 
actually in use in practice. There's nothing lost by marking it deprecated and 
removing it for 3.6(+).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-19 Thread Demian Brecht

Demian Brecht added the comment:

The attached patch reverts back to the old set() API, ignoring the parameter 
and adding a deprecation warning. I've also added a few versionchanged and 
deprecated tags in the Morsel docs. Other than the deprecation note in 
whatsnew/3.5.rst that was added, I'm not entirely sure what you're suggesting 
should be added (I'm also not overly familiar with what qualifies for what's 
new additions in the various categories without causing unnecessary noise).

--
Added file: 
http://bugs.python.org/file38584/http_cookies_morsel_deprecate_set.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-19 Thread R. David Murray

R. David Murray added the comment:

The change to the signature of set is backward incompatible and should have a 
deprecation warning instead (yes, I know it isn't documented).  I'd even be OK 
with the value being ignored, but the signature shouldn't change.

There are a number of API/behavior changes noted in the NEWS which IMO need a 
versionchanged in the docs and an entry in whatsnew.

--
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread STINNER Victor

STINNER Victor added the comment:

 New changeset 88e1151e8e02 by Serhiy Storchaka in branch 'default':
 Issue #2211: Updated the implementation of the http.cookies.Morsel class.
 https://hg.python.org/cpython/rev/88e1151e8e02

I don't understand why, but test_pickle started to fail with this change.

See 3.x buildbots for errors. Example:
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5858/steps/test/logs/stdio

--
nosy: +haypo
resolution: fixed - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 88e1151e8e02 by Serhiy Storchaka in branch 'default':
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
https://hg.python.org/cpython/rev/88e1151e8e02

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Renamed __copy__ to copy, because copy.copy() doesn't need these changes and 
original report was about the copy() method.

Thank you for your contribution and for your responsiveness Demian.

--
resolution:  - fixed
stage: commit review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks Victor.

This patch should fix pickling/unpickling.

Interesting, we should check all other cases when instance attribute was 
converted to a property. They are potentially break pickle compatibility.

--
Added file: http://bugs.python.org/file38540/http_cookies_morsel_pickle.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Demian Brecht

Demian Brecht added the comment:

Thanks for the follow up Serhiy, LGTM.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d68cc584bc7d by Serhiy Storchaka in branch 'default':
Restored backward compatibility of pickling http.cookies.Morsel.  It was
https://hg.python.org/cpython/rev/d68cc584bc7d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-17 Thread Demian Brecht

Demian Brecht added the comment:

Thanks for the updates Serhiy. All look good to me.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-17 Thread Demian Brecht

Changes by Demian Brecht demianbre...@gmail.com:


--
stage: patch review - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is a patch with extended and unified tests. Also fixed one bug. I have 
left comments about some changes on Rietveld.

--
Added file: http://bugs.python.org/file38524/issue2211_6.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-16 Thread Demian Brecht

Changes by Demian Brecht demianbre...@gmail.com:


Added file: http://bugs.python.org/file38509/issue2211_5.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-13 Thread Demian Brecht

Changes by Demian Brecht demianbre...@gmail.com:


Added file: http://bugs.python.org/file38476/issue2211_4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-13 Thread Demian Brecht

Changes by Demian Brecht demianbre...@gmail.com:


Added file: http://bugs.python.org/file38466/issue2211_3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-11 Thread Berker Peksag

Berker Peksag added the comment:

Serhiy already reviewed the latest patch. Just one more comment: The deprecated 
API should be documented in Doc/whatsnew/3.5.rst and 
Doc/library/http.cookies.rst.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-10 Thread Demian Brecht

Demian Brecht added the comment:

Latest patch should address all comments.

--
Added file: http://bugs.python.org/file38432/issue2211_2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-09 Thread Demian Brecht

Demian Brecht added the comment:

New patch addresses most review comments. Thanks for the review Serhiy.

--
Added file: http://bugs.python.org/file38410/issue2211_1.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-07 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka
nosy: +serhiy.storchaka
status: languishing - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-03-07 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Added comments on Rietveld.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-02-18 Thread Demian Brecht

Demian Brecht added the comment:

The attached patch should cover the implementation/test aspects of this issue. 
I'll work on the documentation next.

--
keywords: +patch
versions: +Python 3.5 -Python 3.2
Added file: http://bugs.python.org/file38170/issue2211.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-02-18 Thread Demian Brecht

Demian Brecht added the comment:

Never mind, Morsel /is/ documented (at least in Docs). I imagine that the OP 
was after more detailed docstrings, but I don't believe they'd add much value.

The patch should be good to go as-is.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-02-18 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag
stage: test needed - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-02-10 Thread Demian Brecht

Demian Brecht added the comment:

@Mark: Sure, but not super high priority. Thanks for pointing it out.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2015-02-10 Thread Mark Lawrence

Mark Lawrence added the comment:

@Demian is this of any interest to you?

--
nosy: +BreamoreBoy, demian.brecht

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2010-05-16 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +merwok

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2010-04-29 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

This looks like it would be a worthwhile cleanup, and the issue contains useful 
info to that end, so I'm marking it languishing rather than closing it, in the 
hopes that someone will pick it up some day.  I also think this could be a nice 
bug day task for someone, (though it might take all day :), so I'm adding the 
easy keyword.

(From the sounds of Jamie's second post, he may have thought he uploaded a 
patch, but didn't...)

Note: I suspect the logic of having 'unset' keys return an empty string is that 
a Morsel is supposed to have a fixed set of keys (and thus those keys should 
always be there).  I'm not sure that should be changed.

--
keywords: +easy
nosy: +r.david.murray
stage:  - unit test needed
status: pending - languishing
versions: +Python 3.2 -Python 2.5, Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2008-08-04 Thread Toshio Kuratomi

Changes by Toshio Kuratomi [EMAIL PROTECTED]:


--
nosy: +a.badger

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2008-03-20 Thread Sean Reifschneider

Sean Reifschneider [EMAIL PROTECTED] added the comment:

I'm going to push this to pending until you can get a patch.  Thanks, Jamie.

--
nosy: +jafo
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2008-03-20 Thread Sean Reifschneider

Changes by Sean Reifschneider [EMAIL PROTECTED]:


--
status: open - pending

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2008-03-06 Thread Jamie Bliss

Jamie Bliss added the comment:

Sure, I'll do that.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2008-03-06 Thread Jamie Bliss

Jamie Bliss added the comment:

* Should be backwards compatible with people who actually use Morsel
* Didn't even attempt to document it
* Instead of having the Morsel dict being filled initially, unset
attributes are, well, unset
* .key, .value, and .coded_value are now property()s
* .value is considered the actual value (eg, .coded_value is ignore for
__eq__())

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2211] Cookie.Morsel interface needs update

2008-02-29 Thread Martin v. Löwis

Martin v. Löwis added the comment:

Would you be interested to work on a patch?

--
nosy: +loewis

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com