Skip to content
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

URL_REGEXP in calc_expected_status_length looks not OK #429

Closed
belonesox opened this issue Jan 17, 2017 · 4 comments
Closed

URL_REGEXP in calc_expected_status_length looks not OK #429

belonesox opened this issue Jan 17, 2017 · 4 comments

Comments

@belonesox
Copy link

When I use "verify_status_length=True" and calc_expected_status_length
I see fails on
replaced_chars = len(''.join(match))
because "match" is tuple.

See and run this sample https://gist.github.com/belonesox/aefe723ca5db36e5d819a53997041ba3

Probably URL_REGEXP is not OK

@jeremylow
Copy link
Collaborator

Sounds like you may be using an old version. That got cleaned up in #416

If that's not the case, let me know.

@ghost
Copy link

ghost commented Jan 20, 2017

When I pip install python-twitter the version installed from pypi has the bad code @belonesox mentioned. Is there going to be a newer version with the fix available on pypi?

@jeremylow
Copy link
Collaborator

@bear Can you upload the 3.2.1 to pypi?

@bear
Copy link
Owner

bear commented Jan 22, 2017

@iainjames88 @jeremylow v3.2.1 has been uploaded to pypi

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

No branches or pull requests

3 participants