➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 tarek
收信人 christian.heimes, hynek, jcea, neologix, pitrou, tarek, vstinner
日期 2013-08-16.17:08:58
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1376672938.21.0.0587923814096.issue18756@psf.upfronthosting.co.za>
In-reply-to
内容
> So please explain me :-).

it sounded like you did not really want any explanation 

>  os.urandom() can only be called by one thread/greenlet at a time.

do you mean that we cannot have two parallel calls of that function ?
e.g. two opened FD at the same time ?

> So I would assume that you have asymptotically at least as many open sockets than FDs open to os.urandom.

a web socket application that spawns one socket per connection, then uses a lib that calls many times os.urandom(), will generate most of its FDs on os urandom

but since you said that os.urandom() should not be used in the first place - that's what I will keep in mind
历史
日期 用户 动作 参数
2013-08-16 17:08:58tarek修改recipients: + tarek, jcea, pitrou, vstinner, christian.heimes, neologix, hynek
2013-08-16 17:08:58tarek修改messageid: <1376672938.21.0.0587923814096.issue18756@psf.upfronthosting.co.za>
2013-08-16 17:08:58tarek链接issue18756 messages
2013-08-16 17:08:58tarek创建