{'__file__':setup_script, '__name__':'__main__'}
> File "setup.py", line 9, in
> File "/tmp/easy_install-uPz7qO/Gluttony-0.3/gluttony/__init__.py",
> line 1, in
> #
> File "/tmp/easy_install-uPz7qO/Glutton
/gluttony/tg2_dot.png
Hope this could be helpful :P
Regards.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
rect? How can I monitor the memory allocation
of Python? Is there any available tools for this? Or is that modifying
the Python source code and recompiling the only way to monitor
allocation of memory?
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
arser that parse header of c library and
generate ctypes python module automatically. My question is, is there
any available tools can achieve this? If not, what tool can I use to
such a job easily. I need a c parser, is there any C parser written in
python?
Thanks.
Victor Lin.
--
http://mail.pytho
On 3月8日, 下午10時20分, Christian Heimes wrote:
> Victor Lin wrote:
> > Hi,
>
> > I am going to develop a c library binding with ctypes. That c library
> > will call callback from worker threads it created. Here comes the
> > problem : Will the GIL be acquired before it
On 3月8日, 下午9時56分, "Diez B. Roggisch" wrote:
> Victor Lin schrieb:
>
>
>
> > Hi,
>
> > I am going to develop a c library binding with ctypes. That c library
> > will call callback from worker threads it created. Here comes the
> > problem : Wi
allback. As the document
says.
WINFUNCTYPE will release GIL during the call
But it does not mention callback about Python function? How about a
call from another thread? Could somebody help me?
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
d the program? And how can I know
what lock are there in threads caused the deadlock?
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
On 2月4日, 上午2時44分, Philip Semanchuk wrote:
> On Feb 3, 2009, at 12:51 PM, Victor Lin wrote:
>
>
>
> > It seems that my program can't call to Python's function from thread
> > directly, because there is Global Interpreter Lock. The python's GIL
> > is
void operator() (double time, const AudioData &data) {
// acquire lock
m_Function(time, data);
// release lock
}
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
be considered as a bug?
If it is, how to report this bug?
Is my solution correct?
Are there any side effect will caused by doing so?
If the code I write is fine, and solve that problem, how to report it
to Python's project?
I think this could be helpful for people who also encountered this
problem.
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'd like to write some class that can help me build reusable formula
easily, some simple code like this.
# -*- coding: utf8 -*-
class OperationResult:
def __init__(self, left, right):
self.dataSource = dataSource
def __add__(self, other):
self.dataSource.stack.append(
m: If I move my directory, I have to modify
the path again. This is not a library, they are some programs to do
specific task. I think they should be executable in every where I move
or copy the directory to.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
On 2月10日, 上午11時42分, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Sat, 09 Feb 2008 09:49:46 -0200, Victor Lin <[EMAIL PROTECTED]>
> escribi�:
>
> > I encounter a problem with pickle.
> > I download a html from:
>
> >http://www.amazon
t stop
running program without any message.
I think it is also implement with recursion way, and it also over flow
stack when dumping soup.
Are there any version of pickle that implement with no-recursion way?
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
data would just keep in memory and discarded with
the program's ending.
Why sqlite3 just keep inserted data in memory? And how to force
inserted data into file?
Thanks.
Victor Lin.
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo