Hi
I don't see any reason to use defer.inlineCallbacks in your snippet of
codes.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
today!
>
> Thanks for using Twisted,
>
> -glyph
>
> [1]: somewhat belatedly: it came out 10 days ago. Oops!
>
>
https://twistedmatrix.com/trac/ticket/5562
I think the recent iocp patch might fix this bug.
regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Hi
If your purpose is merely not to block the reactor, you can run your
code in a separate thread by using deferToThread. If you want to benefit
from multi cores, you may consider use https://github.com/twisted/ampoule
or other similar tools.
Regards
gelin yan
I want to know its availability.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Sun, Nov 15, 2015 at 8:25 PM, Gelin Yan <dynami...@gmail.com> wrote:
>
> 2015年11月15日 下午6:09,"Tobias Oberstein" <tobias.oberst...@tavendo.de>写道:
> >>
> > What's required for high-performance on Windows is the Twisted IOCP
> reactor. For Python 2
;
> We've been very satisfied with how MongoDB has performed (post 3.0/WT)
> along with TxMongo and Twisted.
>
> Cheers,
> Bret
>
>
I have switched from pymongo to txmongo for about two months. I got at
least 2x faster on query. Despite of some minor is
lf)
File
"/home/m/py343/lib/python3.4/site-packages/twisted/python/logfile.py", line
75, in _openFile
self._file = file(self.path, "w+", 1)
NameError: name 'file' is not defined
I used python 3.4 and twisted 15.40 (from pip) under ubuntu 14.04.
Regards
On Tue, Jul 28, 2015 at 3:46 PM, Tristan Seligmann mithra...@mithrandi.net
wrote:
On Mon, 27 Jul 2015 at 13:18 Gelin Yan dynami...@gmail.com wrote:
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 for more details.
___
Twisted
run the program.
Is it a bug?
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
' to 'supported'.
- Hawkie
Hi HawkOwl
May I know what level does twisted support for python 3? I am
interested in porting my system to python 3. To be frank, Twisted is the
main reason I am staying with python 2.x.
Regards
gelin yan
___
Twisted-Python
On Mon, Apr 27, 2015 at 3:22 PM, bret curtis psi...@gmail.com wrote:
On Fri, Apr 24, 2015 at 10:54 AM, Gelin Yan dynami...@gmail.com wrote:
Hi Glyph
off-topic a bit. I care about txmongo. I actually plan to use it in
production soon.
Regards
gelin yan
Glad you do! :D We use
/mailman/listinfo/twisted-python
Hi Glyph
off-topic a bit. I care about txmongo. I actually plan to use it in
production soon.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin
On Tue, Dec 30, 2014 at 5:50 PM, bret curtis psi...@gmail.com wrote:
On Tue, Dec 23, 2014 at 7:51 AM, Gelin Yan dynami...@gmail.com wrote:
On Mon, Dec 22, 2014 at 5:05 AM, Clayton Daley clayton.da...@gmail.com
wrote:
Are there any major disadvantages of using pymongo with callInThread
easier
to maintain feature parity using callInThread.
Clayton Daley
Hi Clayton
Txmongo has been inactive for a while so I suggest using pymongo
twisted thread pool. I have been using them for a couple of years and they
work quite well.
Regards
gelin yan
is recognized.
Has anyone of you an idea or does anyone see a mistake in the design of my
Factory or Protocol?
Are there known problems with the combination of python twisted and
WinSocket of Windows?
Have you implemented any acknowledgment in your application?
Regards
gelin yan
@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Hi Itamar
I will give it a try without guarantee due to I am not quite familiar
with epoll itself :)
Regards
gelin yan
___
Twisted-Python mailing list
Twisted
From: twisted-python-boun...@twistedmatrix.com
[mailto:twisted-python-boun...@twistedmatrix.com] On Behalf Of Gelin Yan
Sent: Tuesday, May 28, 2013 9:09 PM
To: Twisted general discussion
Subject: Re: [Twisted-Python] any progress for Ticket #6346, #6378?
On Wed, May 29, 2013 at 10:37 AM, Alec
, It looks like recent version of twisted
may
suffer from this problem. So what version of twisted should I use? Do
I
need to keep using 10.1?
I always use the latest version on windows.
Regards
gelin yan
___
Twisted-Python mailing list
use the latest version on windows.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
. I use it daily. I can keep code snippets
succinct. no more callbacks, deep nested callbacks (they let me recall
those days with javascript node.js). The only thing I complain is it
doesn't work with cython.
Regards
gelin yan
___
Twisted-Python mailing
support for python 2.5. Is it the
reason? A few days ago, there was a post asking a similar question.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Mon, Feb 25, 2013 at 5:15 PM, Sergey Gerasimov ser...@gmail.com wrote:
** **
** **
*From:* Itamar Turner-Trauring [mailto:ita...@futurefoundries.com]
*Sent:* Monday, February 25, 2013 4:38 AM
*To:* ser...@gmail.com; Twisted general discussion
*Subject:* Re: [Twisted-Python] combine
It looks like a serious bug, what is the work around besides of
checking stuck state regularly?.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
unsuspending it). There's little or no reason for
problems related to #2424 to ever come up on a properly maintained
server.
I think that for *certain* uncommon types of applications, even the very
minor skewing of ntp can cause problems, but I wonder if gelin yan has
encountered real problems caused
Actually clock forward can be accepted at least for my case but not
backward which may freeze the whole process and nobody know when it will be
resumed in the future.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http
,
sync the time manually and then restart the process. The latter way is hard
to be accepted due to we have many machines.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
for self.stopWriting()?
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Mon, Oct 22, 2012 at 12:06 PM, Glyph gl...@twistedmatrix.com wrote:
On Oct 20, 2012, at 7:56 PM, gelin yan dynami...@gmail.com wrote:
A pending operation is indicated when the function that started the
operation returns *FALSE*, and the
*GetLastError*http://msdn.microsoft.com/en-us
.
Maybe the better solution is to find a way to poll the complete port status
when read/write will be recovered from IO PENDING. Simply wait a little is
risky.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http
the deferred and make doWrite be the
callback.
On Oct 20, 2012, at 8:29:10AM, gelin yan wrote:
Hi All
A few months ago, I reported a bug about IOCP. Last night I spent
several hours on its implementation and finally found out a possible
solution for that.
when sending some small
with twisted is to use adbapi. It is possible to use
other implementations but there are no one claim production ready.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted
with twisted) on windows is troublesome.
Sometimes, I have to manually download .msi files and execute it order by
order. I am sure that 99% of windows servers don't have a working compiler
no matter it is free or not.
Regards
gelin yan
___
Twisted-Python
On Sun, Jul 15, 2012 at 1:38 AM, Werner Thie wer...@thieprojects.ch wrote:
On 7/14/12 12:39 AM, gelin yan wrote:
On Wed, Jul 11, 2012 at 2:08 AM, Werner Thie wer...@thieprojects.ch
mailto:wer...@thieprojects.ch wrote:
On 7/10/12 6:17 AM, Laurens Van Houtven wrote:
FWIW
experienced any serious bug with
ampoule? What version of ampoule did you use? Is it 0.2.0? Thanks.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Usually you don't need to catch a deferred object..adding some callbacks
is enough..
I admit it might not be intuitive to understand defer concept at your first
trial. But it is powerful elegant.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted
; however I think it is not
so difficult to migrate to 2.7.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Thu, May 3, 2012 at 3:22 AM, Itamar Turner-Trauring
ita...@itamarst.orgwrote:
On 05/02/2012 02:57 PM, Glyph wrote:
On May 2, 2012, at 12:37 AM, Itamar Turner-Trauring wrote:
a bunch of serious bugs
Can you be more specific? Let's not spread vague FUD about ourselves :).
I suspect
/profile.html for some
details.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Tue, Apr 10, 2012 at 1:32 PM, Glyph Lefkowitz gl...@twistedmatrix.comwrote:
On Apr 9, 2012, at 9:50 PM, Andrew Bennetts wrote:
On Tue, Apr 10, 2012 at 12:41:17PM +0800, gelin yan wrote:
[…]
When trying to run inlineCallbacks with Cython, a TypeError would
come
out like
On Fri, Apr 13, 2012 at 9:48 PM, Duncan McGreggor
duncan.mcgreg...@gmail.com wrote:
On Fri, Apr 6, 2012 at 2:41 AM, gelin yan dynami...@gmail.com wrote:
On Thu, Apr 5, 2012 at 9:34 PM, Duncan McGreggor
duncan.mcgreg...@gmail.com wrote:
Just thought I'd share the coolness:
http
On Tue, Apr 10, 2012 at 4:01 AM, Glyph Lefkowitz gl...@twistedmatrix.comwrote:
On Apr 9, 2012, at 3:05 AM, gelin yan wrote:
I personally hope deferredGenerator will be always there even python 2.4
support has been abandoned. deferredGenerator itself is not so elegant as
inlineCallbacks
On Tue, Apr 10, 2012 at 12:50 PM, Andrew Bennetts and...@bemusement.orgwrote:
On Tue, Apr 10, 2012 at 12:41:17PM +0800, gelin yan wrote:
[…]
When trying to run inlineCallbacks with Cython, a TypeError would
come
out like:
TypeError: inlineCallbacks requires built-in function test
mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
glad to know that cool thing... Is it possible to leak out more detail? how
these people use twisted? Thanks
gelin yan
___
Twisted-Python
corruption with Failure.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Fri, Mar 16, 2012 at 12:25 AM, exar...@twistedmatrix.com wrote:
On 06:33 am, dynami...@gmail.com wrote:
On Wed, Mar 14, 2012 at 10:04 PM, gelin yan dynami...@gmail.com
wrote:
Hi all
I attach two files for this problem. When i used iocp reactor with
pb,
I noticed once the remote
On Wed, Mar 14, 2012 at 10:04 PM, gelin yan dynami...@gmail.com wrote:
Hi all
I attach two files for this problem. When i used iocp reactor with pb,
I noticed once the remote method returned a deferred object, the client app
would raise many exceptions..kinda weird.
It is ok to return
data at once,, it definitely will chock your
reactor. I suggest split your data and log by using cooperate.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
select reactor, everything was
fine..I am not sure whether it is a bug on IOCP.
OS: windows 7 64 bit
py: 2.6.6 32bit
twisted version: 12.0.0
Regards
gelin yan
pb_bugs_client.py
Description: Binary data
pb_bugs_server.py
Description: Binary data
no attribute __file__.
I guess once the main file is tuned into the executable one, __file__ will
be removed. It looks like ampoule need this attribute.
Any idea?
Thanks
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http
On Fri, Mar 9, 2012 at 2:00 AM, Corbin Simpson mostawesomed...@gmail.comwrote:
Off the top of my head, multiprocessing.freeze_support() might help. I
wonder if dialtone is on this list, he might know more.
~ C.
On Thu, Mar 8, 2012 at 11:36 PM, gelin yan dynami...@gmail.com wrote:
Hi All
On Mon, Feb 20, 2012 at 12:14 PM, Itamar Turner-Trauring
ita...@itamarst.org wrote:
On 02/19/2012 11:49 AM, Zoran Bošnjak wrote:
Hello all,
I was astonished to find out that looping call period depends on the
system time by default. The periodic tick can even stall for a long time,
if the
On Sun, Feb 12, 2012 at 7:10 PM, Phil Mayers p.may...@imperial.ac.ukwrote:
On 02/12/2012 04:13 AM, Donal McMullan wrote:
I'm trying to integrate Twisted with libusb-1
The libusb-1 Python wrapper offers a USBPoller class to allow
integration of USB event polling in a file-descriptor
On Sun, Jan 29, 2012 at 9:48 AM, Peng Xiao -X (penxiao - Digital China at
Cisco) penx...@cisco.com wrote:
Hi experts
** **
I want to establish a connection between my twisted client and an IPv6
server, how can I achieve that?
Which version of Twisted should I use?
** **
I
Hi Tom
Does it work for windows? I use ampoule instead to manage multiple
process.
Regards
gelin yan
On Sat, Jan 21, 2012 at 12:09 AM, Nicolas Toper nto...@gmail.com wrote:
Hi Tom,
How do you pass data between the parent and its children with
multiprocessing? It worked fine with Twisted
help.
Regards
gelin yan
On Mon, Nov 21, 2011 at 7:02 PM, Žiga Seilnacht ziga.seilna...@gmail.comwrote:
On 21.11.2011 8:40, gelin yan wrote:
Hi glyph
I attached a file for this purpose. there is a number 4073 inside
the
code. when i use any smaller value, the function return
If pypy doesn't work well with cython, it implies we can't use iocp for
that.
On Mon, Nov 21, 2011 at 6:57 PM, Laurens Van Houtven _...@lvh.cc wrote:
I tried once, and then I submitted a ticket, because a Cython extension
was preventing a complete install.
.
thanks
gelin yan
On Mon, Nov 21, 2011 at 4:39 PM, Corbin Simpson
mostawesomed...@gmail.comwrote:
On Sun, Nov 20, 2011 at 11:40 PM, gelin yan dynami...@gmail.com wrote:
Hi glyph
I attached a file for this purpose. there is a number 4073 inside
the
code. when i use any smaller value
placing in Github is almost a must for attracting developers...
At least, it is easy to check the codes...
On Mon, Nov 14, 2011 at 4:43 PM, Tobias Oberstein
tobias.oberst...@tavendo.de wrote:
But the whole point of having a Git mirror (and a presence on Github,
which I think is the next
Hi all
I want to know which version of twisted will be supposed to support
IPv6...
Thanks
On Tue, Nov 1, 2011 at 7:41 PM, Phil Mayers p.may...@imperial.ac.uk wrote:
On 01/11/11 11:34, nivedita datta wrote:
Hi all,
I have to give a talk on twisted. Can anyone let me know about the
any tutorial for how to be a release manager?
On Tue, Oct 18, 2011 at 3:35 AM, Itamar Turner-Trauring ita...@itamarst.org
wrote:
Twisted is basically at a point where a new version can be released...
given a release manager. I'm told it's pretty automated and only takes 45
minutes or so
hi...
you can try to use host to indicate which server you want to connect
with.. like:
adbapi.ConnectionPool('xxx', host='localhost', user='twww',pwd='eee')
On Wed, Jul 13, 2011 at 9:08 AM, bino oetomo b...@indoakses-online.comwrote:
Dear All ..
Base on a need, I need to build a
didn't
find any hint from source code.
Thanks
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
.
Other solutions like gevent, eventlet or etc usually are unable to run on
windows.
Regards
gelin yan
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
reacator.callFromThread for all related methods from threads other than
reactor thread?
Thanks
dfgqq (gelin yan)
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
65 matches
Mail list logo