Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
/asyncioPublic archive

Python#500

Open
itsmekarthikreddy wants to merge1,537 commits intopython:redirect
base:redirect
Choose a base branch
Loading
fromjamadden:trollius
Open

Python#500

itsmekarthikreddy wants to merge1,537 commits intopython:redirectfromjamadden:trollius

Conversation

itsmekarthikreddy
Copy link

No description provided.

Set the _returncode attribute, so close() doesn't try to terminate the process.
Create the protocol on a separated line for readability and ease debugging.
Ignore pipes for which the protocol is not set yet (still equal to None).
Close the transport if the creation of the transport (if the waiter) gets anexception.
Skip SSL tests on the ProactorEventLoop if ssl.MemoryIO is missing
StreamWriter now raises an exception if it is closed: write(), writelines(),write_eof(), can_write_eof(), get_extra_info(), drain().
Don't call immediatly self._process_write_backlog() but schedule the call usingcall_soon(). _on_handshake_complete() can be called indirectly from_process_write_backlog(), and _process_write_backlog() is not reentrant.
transport at subprocess exit.Clear also its reference to the transport.
Do nothing if the transport is already closed. Before it was not possible toclose the transport twice.
Check if the _sock attribute is None to check if the transport is closed.
Set the _read_fut attribute to None after cancelling it.This change should fix a race condition with_ProactorWritePipeTransport._pipe_closed().
* Use test_utils.run_briefly() to execute pending calls to really close  transports* sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport* pipe test: the test doesn't close explicitly the PipeHandle, so ignore  the warning instead* test_popen: use the context manager ("with p:") to explicitly close pipes
StreamWriter: close() now clears the reference to the transportStreamWriter now raises an exception if it is closed: write(), writelines(),write_eof(), can_write_eof(), get_extra_info(), drain().
Override the connect_read_pipe() method of the loop to mock immediatlypause_reading() and resume_reading() methods.The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius.
Remove the exc variable, it's not used.
* Handle correctly CancelledError: just exit* On error, log the exception and exitDon't try to close the event loop, it is probably running and so it cannot beclosed.
pavan123kand others added30 commitsFebruary 23, 2016 17:05
…rojectsAs per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.Test Plan: Manually visited all the links I’ve modified.
From(proc.wait()) instead of form proc.wait()
Convert readthedocs link for their .org -> .io migration for hosted projects
Be explicit about supporting only Python 2.7Drop testing on appveyor because the needed dependencies no longer exist.Incorporate#15
Make socket.error with errno EBADF get raised as OSError.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

11 participants
@itsmekarthikreddy@sbourdeauducq@vstinner@ajdavis@ludovic-gasc@asvetlov@gvanrossum@1st1@mindw@pavan123k@jamadden

[8]ページ先頭

©2009-2025 Movatter.jp