Porting PEP 3148 to 2.x series3134 (9/17/2010 11:57:15 PM) comp.lang.python Hi,
Is there any work on porting PEP 3148 back to 2.x series. That is a
wonderful PEP, any many long-running applications are really in need
of some stable library for handling stuff in async way just as
... k3xji
yappi 0.51 released0128 (5/15/2010 10:18:45 AM) comp.lang.python Hi all,
Yappi (Yet Another Python Profiler) 0.51 released. See the version
highlights:
* OPTIMIZATION:Use per-pit cpc for better accuracy in different
timing_sample values. Now timing_sample is not ... k3xji
faster gettimeofday?2849 (3/8/2010 3:30:54 AM) comp.unix.programmer Hi all, I am developing a profiler, and in my tests, it seems most of time spent in the profiler is the gettimeofday() function. I have also used clock_gettime() function and gives same results. Is there any w... Sumer
yappi v0.42 released0203 (3/7/2010 3:51:38 AM) comp.lang.python Hi all,
yappi(yet another python profiler with multithreading support)
released.
See:
http://code.google.com/p/yappi/
Thanks,
... k3xji
ANN: yappi 0.1 beta : Yet Another Python Profiler #2031 (10/11/2009 7:59:43 AM) comp.lang.python Hi all, After implementing a game server on which 100k people playing games per-day, it turns out to be that continuous and efficient profiling is key to improve an long-running applications like these. With t... ISO
ANN: yappi 0.1 beta : Yet Another Python Profiler022 (10/10/2009 10:58:41 AM) comp.lang.python Hi all, After implementing a game server on which 100k people playing games per-day, it turns out to be that continuous and efficient profiling is key to improve an long-running applications like these. With t... k3xji
YASS (Yet Another Success Story)112 (6/20/2009 10:58:02 AM) comp.lang.python Hi all, Started a project year ago with hard goals in mind : Developing a game server which can handle thousands of clients simultaneously.System must be stable, scalable, efficient, and if the client need to ... k3xji
sys.setcheckinterval() never gets updated second time. Bug?030 (4/17/2009 11:38:59 AM) comp.lang.python Hi all, Yesterday I opened a thread for this issue where I was calling sys.setcheckinterval() with sys.maxint and then try to set it to a lower value but did not succeed with that. Here it is: http://groups.go... k3xji
Unpreempted behavior with sys.setcheckinterval129 (4/16/2009 2:26:05 PM) comp.lang.python Hi all, I want unpreempted behavior for some application and do some testing as below. Well the unpreemption behavior is working fine with sys.setcheckinterval(sys.maxint). However, when I set the interval to ... k3xji
Python C API String Memory Consumption1015 (4/7/2009 7:01:39 AM) comp.lang.python When I run the following function, I seem to have a mem leak, a 20 mb of memory is allocated and is not freed. Here is the code I run: >>> import esauth >>> for i in range(1000000): .... ss = esauth.penc(... k3xji
Abnormal Interpreter Shutdown620 (10/20/2008 7:03:29 PM) comp.lang.python Hi all, Is there anyway to detect abnormal interpreter shutdown like (closing from task manager, power shutdown of the PC..etc)? Regards, ... sumerc(48)
PEP 249 - DB API question517 (11/4/2008 5:52:32 PM) comp.lang.python Hi all, As development goes on for a server project, it turns out that I am using the MySQLDB and DB interactions excessively. One questions is just bothering me, why don't we have a timeout for queries in PEP... sumerc(48)
Python C/API simple debugging622 (11/26/2008 11:27:04 AM) comp.lang.python Hi all, I am new to Python C API and finding it difficult to debug C extensions. So, basically I want to see the value of an integer value during the C API. Here is the code: #define LAST_MIX_VAL 0xDEADBEEF ... sumerc(48)
Python Runtime Method Call Binding819 (12/4/2008 2:23:28 PM) comp.lang.python Hi, Is there a way to hook a function call in python? I know __getattr__ is doing for variables, it is giving us a chance before a field is initialized. Do we have same functionality for methods? Example: cl... sumerc(48)
Read-Write Lock vs primitive Lock()711 (12/29/2008 7:56:10 AM) comp.lang.python Hi, I am trying to see on which situations does the Read-Write Lock performs better on primitive Lock() itself. Below is the code I am using to test the performance: import threading import locks import time ... sumerc(48)
Pty line feed problem...228 (2/24/2009 2:53:35 PM) comp.unix.programmer Hi all, I am using following approach to implement a Linux telnet deamon-like process. 1) openpty() - opens a pseudo terminal 2) dup2() - stdin and stdout to the master fd returned from openpty() 3) start ano... sumerc(48)
C API String Parsing/Returning417 (4/6/2009 12:13:33 PM) comp.lang.python Hi all, This might be a newbie question. I am trying to implement a simple string decoder/encoder algorithm. Just suppose I am substrcating some values from the string passed as a parameter to the function and... sumerc(48)
Python C API String Memory Consumption1015 (4/7/2009 7:01:39 AM) comp.lang.python When I run the following function, I seem to have a mem leak, a 20 mb of memory is allocated and is not freed. Here is the code I run: >>> import esauth >>> for i in range(1000000): .... ss = esauth.penc(... sumerc(48)
faster gettimeofday?2849 (3/8/2010 3:30:54 AM) comp.unix.programmer Hi all, I am developing a profiler, and in my tests, it seems most of time spent in the profiler is the gettimeofday() function. I have also used clock_gettime() function and gives same results. Is there any w... sumerc(48)
select() call and filedescriptor out of range in select error5127 (9/16/2010 4:05:49 AM) comp.lang.python Hi all,
We have a select-based server written in Python. Occasionally, maybe
twice a month there occurs a weird problem, select() returns with
filedescriptor out of range in select() error. This is of cour... k3xji