Vyacheslav Tverskoy

Results 10 issues of Vyacheslav Tverskoy

`with pytest.raises(Exception):` is very similar to `assertRaises`, and all the justification of B017 applies to that too.

enhancement
help wanted

Drop the `io` from pypi package name, python module and user-agent (#104)

According to the [CSS spec](https://drafts.csswg.org/mediaqueries-5/#typedef-media-query-list), media type (`screen`, `print` etc) must be first on the list and all the other conditions (for example `(max-width: 800px)`) must follow after the media...

feature request
has workaround

5xx and 429 response codes should be retried (with some backoff) again in `local_request` so that API users don't have to do it over and over again.

enhancement

This switches phone tz detection from indirect (phone -> address -> tz) to direct phonenumbers call. It is now simpler, faster, _significantly more precise_ outside of US, and saves a...

``` >>> print tztrout.tz_ids_for_phone('+888569') None >>> print tztrout.tz_ids_for_phone('+889989') [] # Also >>> print tztrout.tz_ids_for_address(country='XX') None ```

Alternatively to https://github.com/dateutil/dateutil/pull/1376, this PR just pins the setuptools version to keep things working the way they did before.