Hi Surya
Here one of the best introduction to Twisted I know :)
http://krondo.com/?page_id=1327
2014-02-08 Laurens Van Houtven <_...@lvh.io>:
> Hi Surya!
>
>
> First of all, thank you for offering up your free time to help Twisted.
>
> Specific advice:
>
> 1. Join #twisted
> 2. Join #twisted
Hi,
How do I fix this and actually send out new perspectives to users?
>
pb.Avatar is not a Referenceable object, the object which is sent when a
client login is a wrapper againt the pb.Avatar object built like this:
// pb.py L1327
if not IJellyable.providedBy(avatar):
avatar = AsR
Hi Daniel.
To get the perspective you have to implements the IPerspective interface
(generally throw subclassing pb.Avatar class), and attach a login portal to
your server.
Client then have to authenticate to the server, only then you will receive
the perspective object representing the "logged" u
Hi,
>> Is simultaneously sub-classing Viewable and Cacheable a good idea?
I am not sure it would work, at least not as you expect.
Viewable and Cacheable both implement a different version of jellyFor
(which will decides how object is seen on the other side of the connection).
If you sub-class bot
Hi
I have not used it myself but this seems what you're looking for:
http://twistedmatrix.com/documents/13.0.0/api/twisted.conch.ssh.transport.SSHTransportBase.html#supportedCiphers
I guess you need to subclass SSHTransport and give it the list of ciphers
you want.
--
Nacim.
2013/10/29 Ra
>
> To expand on that just a bit, the form of sharing that you get when you
> fork() but you don't exec() is very difficult to use correctly (I think
> it's an open question whether it's *possible* to use correctly in a Python
> program).
>
> The argument here is similar to the argument against sha
> > 2. Arrange for the epoll object (or FD) to be closed after fork, but
> > before exec, so that the child process can't fiddle with it
>
> See also:
>
> http://bugs.python.org/issue8713
>
> ...which suggests Python 3.4 added fork+exec support to multiprocessing.
> On Unix and older Python versi
>
> On 03:46 pm, grindi...@gmail.com wrote:
> >Hi everybody
> >
> >I a came across a surprising problem when using the epoll based
> >reactor.
> >(ticket here https://twistedmatrix.com/trac/ticket/6796)
> >
> >As you can see on the ticket, the epoll object seems to share some
> >state
> >even after
Hi everybody
I a came across a surprising problem when using the epoll based reactor.
(ticket here https://twistedmatrix.com/trac/ticket/6796)
As you can see on the ticket, the epoll object seems to share some state
even after fork.
Which means even after having forked the process, making some ch
Hi, i've faced the same problem and submitted a patch a few month ago,
your can check it here http://twistedmatrix.com/trac/ticket/4398 you'll
find also a complet example attached.
My first problem was that, the way twisted pb authentication works we're
supposed to have a plan version of passwords
Hi, all.
using PB i wanted to implement some access control check on my copyable
objects.
so i placed that in getStateToCopyFor, all is ok except when i need to
perfom some asynchronous call in that method.
ex: (i use twisted 10.1.0)
...
def getStateToCopyFor(self, user):
state = self.getStateToC
11 matches
Mail list logo