Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(api)#502

Open
ThugPigeon653 wants to merge 3 commits intogooglemaps:mastergooglemaps/google-maps-services-python:masterfrom
ThugPigeon653:encoding-fixThugPigeon653/google-maps-services-python:encoding-fixCopy head branch name to clipboard
Open

fix(api)#502
ThugPigeon653 wants to merge 3 commits intogooglemaps:mastergooglemaps/google-maps-services-python:masterfrom
ThugPigeon653:encoding-fixThugPigeon653/google-maps-services-python:encoding-fixCopy head branch name to clipboard

Conversation

@ThugPigeon653
Copy link

I have made encoding (in client) compatible with both Python 2 and Python 3. The existing encoding was the correct approach for Py2, but was not appropriate for python3, because it had removed the data type. So as to not cause any issues with the python3 interpreter, urlencode_params() checks for a str type instead of unicode.
Python3 shouldn't really need encoding here, but unlike 2, it will handle unnecessary encoding fine - so I have enforced it to always encode for python3


Fixes #<issue_number_goes_here> 🦕

@ThugPigeon653 ThugPigeon653 changed the title Encoding fix fix(api) Sep 19, 2023
@ThugPigeon653 ThugPigeon653 reopened this Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.