Python论坛  - 讨论区

标题:[python-chinese] Fwd: [pysqlite] [ANN] pysqlite 2.0.4 released

2005年09月12日 星期一 11:30

limodou limodou at gmail.com
Mon Sep 12 11:30:40 HKT 2005

---------- Forwarded message ----------
From: Gerhard Häring <gh at ghaering.de>
Date: 2005-9-12 上午5:32
Subject: [pysqlite] [ANN] pysqlite 2.0.4 released
To: pysqlite at lists.initd.org


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is a minor bugfix release.

Wiki, bugtracker, downloads at http://pysqlite.org/

Changes since 2.0.3
===================

This release fixes the following bugs, several of which can lead
to application crashes.

Users of pysqlite 2.0.x should upgrade!

- - Calling the constructor of the (undocumented) Cache class with
  insufficient parameters no longer crashes Python.

- - Improved concurrency. Added a cap of 1 second for the intervals
  to sleep in case of SQLITE_BUSY.

- - Added notes to documentation that converter lookup is case-sensitive.

- - Don't call PyInt_FromLong with the GIL released (Closes bug #110).

- - Changed a few occurences of long long int to PY_LONG_LONG
  (more portable).

- - Take care that sqlite3_finalize is not executed twice. I really
  hope this was the only cause for the crashes we saw in
  multithreaded applications. Added a script to Subversion
  that stress-tests pysqlite.

= Call for help =

There were real problems with older releases of pysqlite in
multithreaded applications, where it was quite easy to crash Python by
heavily exercising pysqlite.

It would be nice if you guys and gals could help me catch any remaining
problems. If you can crash Python with pysqlite, I want to know.

Please try to create a script as small as possible that shows the
problem. I put one from my working copy to Subversion
(http://initd.org/svn/initd/pysqlite/trunk/scripts/stress.py). Maybe you
can use this or a variation thereof.

If you cannot crash pysqlite this way and there are no problems left,
all the better ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJKJ2dIO4ozGCH14RAjOKAJ9TYuBWxyjacQeFJoze2gqhvZ2uEACgmlnA
aDkClghxdCKJX4cyvk9UprE=
=TvbM
-----END PGP SIGNATURE-----
_______________________________________________
pysqlite mailing list
pysqlite at lists.initd.org
http://lists.initd.org/mailman/listinfo/pysqlite


-- 
I like python! 
My Donews Blog: http://www.donews.net/limodou

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号