Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(350)

Issue 6295108: Parameter values of None should be treated as missing. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by jcgregorio_google
Modified:
12 years, 2 months ago
Reviewers:
rmistry
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -9 lines) Patch
M apiclient/discovery.py View 2 chunks +7 lines, -2 lines 2 comments Download
M tests/test_discovery.py View 2 chunks +13 lines, -7 lines 0 comments Download

Messages

Total messages: 4
jcgregorio_google
12 years, 2 months ago (2012-06-20 15:59:19 UTC) #1
rmistry
http://codereview.appspot.com/6295108/diff/1/apiclient/discovery.py File apiclient/discovery.py (right): http://codereview.appspot.com/6295108/diff/1/apiclient/discovery.py#newcode453 apiclient/discovery.py:453: del kwargs[name] Should we log a warning as well?
12 years, 2 months ago (2012-06-20 16:11:42 UTC) #2
rmistry
LGTM
12 years, 2 months ago (2012-06-20 16:11:49 UTC) #3
jcgregorio_google
12 years, 2 months ago (2012-06-20 16:22:25 UTC) #4
Committed as
http://code.google.com/p/google-api-python-client/source/detail?r=97e37f2a20c...

http://codereview.appspot.com/6295108/diff/1/apiclient/discovery.py
File apiclient/discovery.py (right):

http://codereview.appspot.com/6295108/diff/1/apiclient/discovery.py#newcode453
apiclient/discovery.py:453: del kwargs[name]
On 2012/06/20 16:11:42, rmistry wrote:
> Should we log a warning as well?

I don't think so, the reason I had to change this was because there were
non-zero number of people that expected None to mean "don't use this parameter".
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b