Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Conversation

@joeshaw
Copy link
Contributor

@joeshaw joeshaw commented Jun 1, 2012

We can't keep state for things like access_tokens because the service is designed to be a singleton used potentially by many different users with different access_tokens and in different steps of the OAuth process.

joeshaw added 2 commits June 1, 2012 12:09
Python 2.6 doesn't have unittest.TestCase.assertIsNotNone, among
others.  If we don't have it, try to import unittest2 as unittest.
We can't keep state, because this service object is likely shared
across many different uses (and people) -- if an access token is cached,
it might be reused by another user who is trying to get a request
token.
@maxcountryman
Copy link
Contributor

Can you break up these commits? Session problems don't depend on unittest2. :)

@joeshaw
Copy link
Contributor Author

joeshaw commented Jun 1, 2012

You want them in separate pull requests?

@maxcountryman
Copy link
Contributor

Actually I'm just going to rollback that module. It's easier.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants