-
Notifications
You must be signed in to change notification settings - Fork 327
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
Makes the the trading.py example compatible with Python 3.7 #264
Open
NoahCardoza
wants to merge
28
commits into
timotheus:master
Choose a base branch
from
NoahCardoza-forks:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
c71ba56
add tests
timotheus 059cdd8
remove debugging
timotheus 047223d
Revert "remove debugging"
timotheus bf47d4c
Create ebay.yaml
timotheus d91e374
pep8 fixes and added tests
timotheus 123d012
Added str conversion of siteid
MoorsTech 9d27b8e
Merge pull request #198 from MoorsTech/master
timotheus 86985e3
Fix on issue #189
codeastar 8060a75
Python 3.x compatibility update
codeastar 1bab59b
updated trading sample
acjohnson 6bacf63
fix setup.py ascii issue
timotheus 9d28f5e
Add an option for domain to sample/findings.py so it can work with sa…
mthaddon b357af5
add storeMeta code to sample code
timotheus 3cfc2eb
Merge pull request #245 from mthaddon/master
timotheus ff19b45
Make compatible with python 3
w- 7f97b94
don't pass dict to smart_encode_request_data
w- 26a101a
Logic Errors on previous commit
w- eaf7911
Merge pull request #248 from w-/patch-1
timotheus b53ddd3
update tox to use pycodestyle instead of pep8
timotheus 5c1db7a
Merge branch 'master' of https://github.com/timotheus/ebaysdk-python
timotheus 011c96a
Merge pull request #217 from acjohnson/samplefix
timotheus c977cd8
Revert "Make compatible with python 3"
timotheus 0f9016b
Merge pull request #255 from timotheus/revert-248-patch-1
timotheus 7198ac7
fix socket warning
timotheus 7dda80c
add test that includes more unicode
timotheus 2646013
Merge pull request #205 from codeastar/python3_compatibility
timotheus c00d225
update finding test and clean up lint errors
timotheus 6c1f701
Makes the the trading.py example compatible with Python 3.7
NoahCardoza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
ebay.yaml | ||
timebay.yaml | ||
build/ | ||
dist/ | ||
|
@@ -12,3 +13,4 @@ ebaysdk.egg-info/ | |
\.tox | ||
venv/ | ||
venv* | ||
\.virtualenvs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: ebay_api_config | ||
|
||
# Trading API Sandbox - https://www.x.com/developers/ebay/products/trading-api | ||
api.sandbox.ebay.com: | ||
compatability: 719 | ||
appid: ENTER_YOUR_APPID_HERE | ||
certid: ENTER_YOUR_CERTID_HERE | ||
devid: ENTER_YOUR_DEVID_HERE | ||
token: ENTER_YOUR_TOKEN_HERE | ||
|
||
# Trading API - https://www.x.com/developers/ebay/products/trading-api | ||
api.ebay.com: | ||
compatability: 719 | ||
appid: ENTER_YOUR_APPID_HERE | ||
certid: ENTER_YOUR_CERTID_HERE | ||
devid: ENTER_YOUR_DEVID_HERE | ||
token: ENTER_YOUR_TOKEN_HERE | ||
|
||
# Finding API - https://www.x.com/developers/ebay/products/finding-api | ||
svcs.ebay.com: | ||
appid: ENTER_YOUR_APPID_HERE | ||
version: 1.0.0 | ||
|
||
# Shopping API - https://www.x.com/developers/ebay/products/shopping-api | ||
open.api.ebay.com: | ||
appid: ENTER_YOUR_APPID_HERE | ||
version: 671 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I thought we had python 3 support covered already. Can you supply breaking test case that your commit is fixing?
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.
I was getting errors regarding
basestring
, and it appeared to be trying to.encode("utf-8")
adict
. 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.