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

Sign up
Appearance settings

Makes the the trading.py example compatible with Python 3.7#264

Open
NoahCardoza wants to merge 28 commits into
timotheus:master from
NoahCardoza-forks:master
Open

Makes the the trading.py example compatible with Python 3.7 #264
NoahCardoza wants to merge 28 commits into
timotheus:master from
NoahCardoza-forks:master

Conversation

@NoahCardoza

@NoahCardoza NoahCardoza commented Feb 10, 2019

Copy link
Copy Markdown

No description provided.

timotheus and others added 28 commits April 5, 2017 17:11
encode utf-8 on string object only
replace 'basestring' with 'str'
Add an option for domain to sample/findings.py so it can work with sandbox keys
Comment thread ebaysdk/utils.py
Comment thread ebaysdk/connection.py
True: 'https',
}

# Added compatibility for Python 3

@timotheus timotheus Feb 11, 2019

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we had python 3 support covered already. Can you supply breaking test case that your commit is fixing?

@NoahCardoza NoahCardoza Feb 15, 2019

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was getting errors regarding basestring, and it appeared to be trying to .encode("utf-8") a dict. The test case was trying to run the example itself, uploading an image from the filesystem. At least on Mac OS High Sierra. I can reclone and run a few tests to double check that though. I'll get back to you ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@timotheus timotheus timotheus left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /