[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-28 Thread Victor Lin
Victor Lin borns...@gmail.com added the comment: My environment is Windows 7 64bits with VC++ 2008 Express and Python2.7.2. I encountered same problem, I have tried all solution posted here, but non of them work. Eventually, I add C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-28 Thread Victor Lin
Victor Lin borns...@gmail.com added the comment: Oddly, can't reproduce the problem anymore. I try to install win7 on virtual machine, but it works as well. I think the issue might caused by something else... not sure, so strange :S Will look into detail once I encounter this issue again

Re: A tool for find dependencies relationships behind Python projects

2010-02-24 Thread Victor Lin
regards Hellmut Am 19.02.2010 17:16, schrieb Victor Lin: Hi, I just wrote a tool for drawing dependencies relationships diagram of Python project on Pypi.  Here is the home page of the tool: http://code.google.com/p/python-gluttony/ Some examples: Sprox: http://static.ez2learn.com

A tool for find dependencies relationships behind Python projects

2010-02-19 Thread Victor Lin
/gluttony/tg2_dot.png Hope this could be helpful :P Regards. Victor Lin. -- http://mail.python.org/mailman/listinfo/python-list

Memory usage problem of twisted server

2010-01-20 Thread Victor Lin
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

Any c header parser for generate ctypes module?

2009-03-09 Thread Victor Lin
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.python.org

Callback from c thread with ctypes

2009-03-08 Thread Victor Lin
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

Re: Callback from c thread with ctypes

2009-03-08 Thread Victor Lin
On 3月8日, 下午9時56分, Diez B. Roggisch de...@nospam.web.de 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 : Will the GIL be acquired before it goes into Python

Re: Callback from c thread with ctypes

2009-03-08 Thread Victor Lin
On 3月8日, 下午10時20分, Christian Heimes li...@cheimes.de 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 goes into Python

How to debug deadlock?

2009-02-08 Thread Victor Lin
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

How to call python from a foreign language thread (C++)

2009-02-03 Thread Victor Lin
time, const AudioData data) { // acquire lock m_Function(time, data); // release lock } Thanks. Victor Lin. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to call python from a foreign language thread (C++)

2009-02-03 Thread Victor Lin
On 2月4日, 上午2時44分, Philip Semanchuk phi...@semanchuk.com 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 so complex, I have no idea how

Logging library unicode problem

2008-08-13 Thread Victor Lin
? 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

How to redirect operation methods to some sepcific method easily?

2008-08-03 Thread Victor Lin
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):

Problem with import

2008-02-11 Thread Victor Lin
, 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

Recursion limit of pickle?

2008-02-09 Thread Victor Lin
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

Re: Recursion limit of pickle?

2008-02-09 Thread Victor Lin
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.com/Magellan-Maestro-4040-Widescreen-Navigator/dp/B... and parse

Strange sqlite3 library behavior

2008-02-02 Thread Victor Lin
to force inserted data into file? Thanks. Victor Lin. -- http://mail.python.org/mailman/listinfo/python-list