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

[9539] Tidy up Deferred.fromFuture() intersphinx references #1070

Merged
merged 4 commits into from Sep 24, 2018

Conversation

twm
Copy link
Contributor

@twm twm commented Sep 23, 2018

  • Change asyncio.AbstractEventLoop.create_task()asyncio.loop.create_task(), as it has moved upstream. Resolves this warning:

    twisted.internet.defer.Deferred.fromFuture: invalid ref to 'asyncio.AbstractEventLoop.create_task' resolved as 'asyncio.AbstractEventLoop.create_task'
    
  • Remove reference to asyncio.async as it was deprecated in Python 3.4.4 and produced this warning:

    twisted.internet.defer.Deferred.fromFuture: invalid ref to 'asyncio.async' resolved as 'asyncio.async'
    

In combination with #1069 this should get us a clean documentation build.

Contributor Checklist:

The asyncio docs have been reorganized, invalidating this reference.
This is an alias for asyncio.ensure_future which has been deprecated
since 3.4.4. It isn't even syntactically usable as of Python 3.6. It
seems best to remove this reference to it.

https://docs.python.org/3.4/library/asyncio-task.html#asyncio.async
@codecov
Copy link

codecov bot commented Sep 24, 2018

Codecov Report

Merging #1070 into trunk will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            trunk    #1070      +/-   ##
==========================================
+ Coverage   91.76%   91.92%   +0.15%     
==========================================
  Files         844      844              
  Lines      150865   150865              
  Branches    13157    13157              
==========================================
+ Hits       138442   138680     +238     
+ Misses      10284    10099     -185     
+ Partials     2139     2086      -53

Copy link
Member

@altendky altendky left a comment

Choose a reason for hiding this comment

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

Intermittent build failure noted: https://twistedmatrix.com/trac/ticket/8879#comment:15

Gets my approval.

@twm
Copy link
Contributor Author

twm commented Sep 24, 2018

Thank you for the review, @altendky! I will go ahead and merge.

@twm twm merged commit 992a841 into trunk Sep 24, 2018
@twm twm deleted the 9539-abstracteventloop-docs branch September 24, 2018 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants