[issue18978] Allow urllib.request.Request subclasses to override method

2014-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1afbd851d1c1 by R David Murray in branch 'default': whatsnew: Request.method can be overridden in subclasses (#18978). http://hg.python.org/cpython/rev/1afbd851d1c1 -- ___ Python tracker

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the this change, Jason. Docs could be updated to reflect this change (using ..versionchanged: directive). Thank you! -- ___ Python tracker

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f13d5ecf71f by Jason R. Coombs in branch 'default': Issue #18978: Update docs to reflect explicitly the ability to set the attribute at the class level. http://hg.python.org/cpython/rev/7f13d5ecf71f --

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d6d68c068ad by Jason R. Coombs in branch 'default': Issue #18978: Allow Request.method to be defined at the class level. http://hg.python.org/cpython/rev/6d6d68c068ad New changeset 2b2744cfb08f by Jason R. Coombs in branch 'default': Issue #18978:

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've added tests to capture the new behavior. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Jason R. Coombs
Changes by Jason R. Coombs : Added file: http://bugs.python.org/file31678/061eb75339e2.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Jason R. Coombs
Changes by Jason R. Coombs : Added file: http://bugs.python.org/file31677/2b2744cfb08f.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- keywords: +patch Added file: http://bugs.python.org/file31676/6d6d68c068ad.diff ___ Python tracker ___ ___

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've created a clone in which to draft this work. -- hgrepos: +208 ___ Python tracker ___ ___ Pytho

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Jason, Agree with you. This design change could be valuable in extending urllib.request.Request Thanks! -- nosy: +orsenthil ___ Python tracker _

[issue18978] Allow urllib.request.Request subclasses to override method

2013-09-08 Thread Jason R. Coombs
New submission from Jason R. Coombs: In Python 2.x and 3.2, I used to use a Request subclass I created for overriding the method used: class MethodRequest(request.Request): def __init__(self, *args, **kwargs): """ Construct a MethodRequest. Usage is the s