-
Notifications
You must be signed in to change notification settings - Fork 679
Add _encode_url to improve readability of url construction #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Small remark: the |
So you think we should also have to maintain Python 2 and 3 compatibility here ? |
Yes. |
That's done. I wonder why not using six (in Pandas also) |
https://github.com/pydata/pandas/blob/master/pandas/compat/__init__.py incorporates six here |
Return encoded url with parameters | ||
""" | ||
s_params = urlencode(params) | ||
if len(s_params)!=0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if s_params:
A previous idea was to rip out part of pandas.compat into another lib, as some older pandas have in compat is slightly different. That said, we're not using many compat features at all so could just add the few we are to util/_util. :/ |
…andas-datareader into url_encode_cleanup
…andas-datareader into url_encode_cleanup
I think I will need some help about this PR. |
to squash
|
Some commit shouldn't be here
|
I did
but it raises
|
That's as you have merge commits, tip: don't use Maybe |
Closed via #83 |
Thanks David for your help. You are my Git Guru ;-) |
A partial fix of #78