sevenj

Show:

What's happening?

  • Comment: Memory leak

    In python, python has itself memory pool. when small object (

    2009-10-28 09:31:28 UTC in MySQL for Python

  • Comment: Memory leak

    sorry, there are some error! In this test case python not cache string, but because of the python memory pool, it keep the memory.

    2009-10-20 09:45:38 UTC in MySQL for Python

  • Comment: Memory leak

    it is not mysql-python's memory leak. It is python's memory leak! in python, it will cache the int,string(see python's source). so in your testcase, python would cache all strings(although in this testcase,all strings are same,but python don't know this). but I don't know why pyodbc free the memory. please upload the pyodbc testcase!

    2009-10-14 10:07:17 UTC in MySQL for Python

  • 'as' is the keyword in python2.6

    In these files: _xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py _xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py, use the keyword 'as'.

    2009-10-09 07:42:45 UTC in Python/XML

  • miss mysql_set_character_set() after mysql4.1.13

    After mysql 4.1.13, the mysql_set_character_set also add . --- _mysql.c.old 2009-08-13 14:15:17.000000000 +0800 +++ _mysql.c 2009-08-13 14:16:16.000000000 +0800 @@ -1518,7 +1518,7 @@ return PyString_FromString(s); } -#if MYSQL_VERSION_ID >= 50007 +#if MYSQL_VERSION_ID >= 50007 || (MYSQL_VERSION_ID >= 40113 && MYSQL_VERSION_ID < 50000) static char...

    2009-08-13 06:21:35 UTC in MySQL for Python

  • some dirty code in __init__.py

    --- __init__.py 2007-02-27 03:00:32.000000000 +0800 +++ __init__.py.new 2009-07-28 16:25:17.000000000 +0800 @@ -40,14 +40,14 @@ def __ne__(self, other): from sets import BaseSet if isinstance(other, BaseSet): - return super(DBAPISet.self).__ne__(self, other) + return super(DBAPISet, self).__ne__(other) else: return...

    2009-07-28 08:36:59 UTC in MySQL for Python

About Me

  • 2009-07-28 (4 months ago)
  • 2581708
  • sevenj (My Site)
  • sevenj

Send me a message