Hey Ni
I can not relate to your specific problem. But where I work, we have a
pyapns server in place for push notifications. What we have learned is
that the v50 branch of the repo is much more stable than the code in
master. So maybe give v50 a try, notice that a new rest api is used in
v50.
__
I would fiddle around with something like this.
from twisted.internet.defer import inlineCallbacks, returnValue, Deferred
from twisted.internet import reactor
@inlineCallbacks
def foo(self, retries=10, interval=10):
while True:
try:
returnValue((yield self.get_handle()))
Any of your guys at Euro Python in Berlin, right now? If so, I would like
to invite other Twisted users/dev for a beer later.. ;)
--
Jonas Brunsgaard
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin
Thank you Andrey for making this release possible ;)
On Sun, Jul 20, 2014 at 9:20 AM, Alexander Burtsev wrote:
> Congrats bro! stick to your course.
>
> С уважением, Александр Бурцев
>
> Skype: eburus
> FB: www.facebook.com/eburus
> http://bramabrama.com
>
>
> On 28 Apr 2011, at 16:53, Andrey S
Jean-Paul, you knowledge about twisted and your willingness to help is just
amazing for the framework ;)
http://www.ihighfive.com
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-p
r example, if `parent` isn't a provider of `IServiceCollection`, but
> there's an adapter registered to covert to `IServiceCollection` from
> `type(parent)`, then that adapter will be called. If there's no such
> adapter, the cast will return `parent`.
>
> Dustin
&g
Hello all
Will someone explain to me what happens when you call an Interface
with arguments, and why the same argument twice?
My problem is to understand the semantics of the line
parent = IServiceCollection(parent, parent)
part of
def setServiceParent(self, parent):
if self.pa
On Sun, Mar 16, 2014 at 9:12 PM, Glyph wrote:
>
> On Mar 16, 2014, at 12:31 AM, Jonathan Ballet wrote:
>
> Hi Glyph,
>
> On Thu, Mar 13, 2014 at 12:35:17PM -0700, Glyph Lefkowitz wrote:
>
>
> If someone would like to turn this list into a wiki page under <
> https://twistedmatrix.com/trac/wiki/I
On Wed, Mar 19, 2014 at 12:51 AM, Christopher Armstrong <
ra...@twistedmatrix.com> wrote:
> On March 18, 2014 at 6:38:42 PM, Jonas Brunsgaard (
> jonas.brunsga...@gmail.com) wrote:
>
> I think that it is a shame that Twisted is not on Github(Yep Github, not
> just git)
>
&
than relying on the global state of the plugin
> instance.
>
>
> hth
> lvh
>
>
>
> On Mon, Mar 17, 2014 at 2:02 PM, Jonas Brunsgaard <
> jonas.brunsga...@gmail.com> wrote:
>
>> Hello Everybody
>>
>> What is the prefered way to get the optio
I think that it is a shame that Twisted is not on Github(Yep Github, not
just git)
If we make a comparison between SVN and Git, I think it is obvious that Git
is the superior VCS.
That said, I think Github - as a platform - creates a certain "feeling" of
openness, transparency, accessibility and
Hello Everybody
What is the prefered way to get the options object from the servicemaker
when using twistd plugins.
I guess i could access the object via
from twisted.plugins.my_plugin import myServiceMaker
options = myServicemMaker.options
But is there a better way to do it? Somthing like
fro
On Sun, Nov 24, 2013 at 9:43 PM, wrote:
> On 07:35 pm, jonas.brunsga...@gmail.com wrote:
>
>> Is there an easy way get an options object from the .tac file?
>>
>> I my .tac file i have the following.
>>
>> fh = logging.FileHandler('/var/log/ocmg/datastore.log')
>>
>> I would like to be able et r
Is there an easy way get an options object from the .tac file?
I my .tac file i have the following.
fh = logging.FileHandler('/var/log/ocmg/datastore.log')
I would like to be able et replace '/var/log/ocmg/datastore.log' with the
logfile option given by the user at the command line.
Any sugges
n 1 tests in 0.010s
To me it seems like Trail shuts down the reactor and throws an error, due
to the fact that the reactor is unclean, because the server client is still
active, or at least not cleaned up. How do I work around this problem, any
help is very appreciated.
--
Jonas Brunsgaard
_
15 matches
Mail list logo