Skip to content

Conversation

@jnwatson
Copy link
Contributor

Sorry, I had to de-genericize AIter due to having to defer actually getting the results until the first async context, namely __anext__.

Copy link
Contributor

@timothycrosley timothycrosley left a comment

Choose a reason for hiding this comment

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

Overall this looks great! Thanks for the work on this, there is a couple of minor things, that once resolved I'll merge this in to the main code base and do a release.

~Timothy


return self

async def __aiter__(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like this change was made alluded to in 3.6 and made permanent in 3.7: https://bugs.python.org/issue27243, as annoying as it is we'll need to maintain backward compatibility for the time being.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, this is the backwards compatible approach, since this will work on 3.5.3, 3.6 and 3.7 (I just verified). Whereas, the current master is not compatible with 3.7.

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like I was wrong and they actually made the change in 3.5.2, that does mean that backward compatibility would be lost for the 3.5.0 and 3.5.1, however as 3.5.6 is now out I think it's safe to simply update the minimal version to 3.5.2. Thanks for verifying!

@coveralls
Copy link

coveralls commented Oct 16, 2018

Coverage Status

Coverage remained the same at 97.067% when pulling 084e9fd on vertexproject:aiohttp-version into 89ce2f8 on DomainTools:master.


from domaintools.base_results import Results

from domaintools.exceptions import ServiceUnavailableException
Copy link
Contributor

Choose a reason for hiding this comment

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

I apologize, I lost this comment from my initial review: I may be missing something, but I don't currently see this import used. I just want to ensure this doesn't allude to any additional work you would like to include in this pull request

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Line 52.

@timothycrosley
Copy link
Contributor

Thank you for your patience in this review. I've had time to give it a second read over, and everything looks great! I'll be doing a release to include this work sometime this week.

Thanks!

~Timothy

@timothycrosley
Copy link
Contributor

Thank you for your patience in this review. I've had time to give it a second read over, and everything looks great! I'll be doing a release to include this work sometime this week.

Thanks!

~Timothy

3 similar comments
@timothycrosley
Copy link
Contributor

Thank you for your patience in this review. I've had time to give it a second read over, and everything looks great! I'll be doing a release to include this work sometime this week.

Thanks!

~Timothy

@timothycrosley
Copy link
Contributor

Thank you for your patience in this review. I've had time to give it a second read over, and everything looks great! I'll be doing a release to include this work sometime this week.

Thanks!

~Timothy

@timothycrosley
Copy link
Contributor

Thank you for your patience in this review. I've had time to give it a second read over, and everything looks great! I'll be doing a release to include this work sometime this week.

Thanks!

~Timothy

@timothycrosley timothycrosley merged commit e390ae2 into DomainTools:master Oct 22, 2018
@timothycrosley
Copy link
Contributor

Sorry for the repeat comments on this pull request. I tried making them, unwittingly, during GitHub's outage yesterday, and while it said it had failed, it apparently queued them up to all send at once!

ChuckWoodraska pushed a commit that referenced this pull request Feb 16, 2022
…ility (#26)

* Make 3.7 compatible, fix missing import, update to aiohttp 3 compat

* Fix setup.py aiohttp version
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

Successfully merging this pull request may close these issues.

3 participants