Skip to content

Commit 393826c

Browse files
committed
Preparing release of version 0.9.4.
1 parent 38bc8fd commit 393826c

26 files changed

Lines changed: 1126 additions & 52 deletions

DBUtils/Docs/RelNotes-0.9.4.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+
<html>
3+
<head>
4+
<title>DBUtils 0.9.4 Release Notes</title>
5+
<link rel="stylesheet" href="Doc.css" type="text/css">
6+
</head>
7+
<body>
8+
<h1 class="header">DBUtils 0.9.4 Release Notes</h1>
9+
10+
<p>DBUtils 0.9.4 was released on July 7, 2007.</p>
11+
12+
<p>This is the fifth public release of DBUtils.</p>
13+
14+
<p>This releases fixes a problem in the destructor code and has been
15+
supplemented with a German User's Guide.</p>
16+
17+
<p>Please note that the <code>dbapi</code> parameter has been renamed to
18+
<code>creator</code> in the last release since you can now pass custom
19+
creator functions for database connections instead of DB-API 2 modules.</p>
20+
21+
<div class="footer">
22+
DBUtils (<a href="http://www.webwareforpython.org/DBUtils">www.webwareforpython.org/DBUtils</a>)
23+
</div>
24+
</body>
25+
</html>

DBUtils/Docs/UsersGuide.de.html

Lines changed: 535 additions & 0 deletions
Large diffs are not rendered by default.

DBUtils/Docs/UsersGuide.de.txt

Lines changed: 512 additions & 0 deletions
Large diffs are not rendered by default.

DBUtils/Docs/UsersGuide.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
6+
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
77
<title>DBUtils User's Guide</title>
88
<link rel="stylesheet" href="Doc.css" type="text/css" />
99
</head>
@@ -15,10 +15,10 @@ <h1 class="title">DBUtils User's Guide</h1>
1515
<col class="docinfo-content" />
1616
<tbody valign="top">
1717
<tr><th class="docinfo-name">Version:</th>
18-
<td>0.9.3</td></tr>
19-
<tr class="field"><th class="docinfo-name">Released:</th><td class="field-body">05/21/07</td>
18+
<td>0.9.4</td></tr>
19+
<tr class="field"><th class="docinfo-name">Released:</th><td class="field-body">07/07/07</td>
2020
</tr>
21-
<tr class="field"><th class="docinfo-name">Translations:</th><td class="field-body">English <a class="reference" href="UsersGuide.zh.html">Chinese</a></td>
21+
<tr class="field"><th class="docinfo-name">Translations:</th><td class="field-body">English <a class="reference" href="UsersGuide.de.html">German</a> <a class="reference" href="UsersGuide.zh.html">Chinese</a></td>
2222
</tr>
2323
</tbody>
2424
</table>
@@ -29,7 +29,7 @@ <h1 class="title">DBUtils User's Guide</h1>
2929
<li><a class="reference" href="#modules" id="id5" name="id5">Modules</a></li>
3030
<li><a class="reference" href="#download" id="id6" name="id6">Download</a></li>
3131
<li><a class="reference" href="#installation" id="id7" name="id7">Installation</a><ul>
32-
<li><a class="reference" href="#installation-as-a-standalone-toplevel-package" id="id8" name="id8">Installation as a standalone (toplevel) package</a></li>
32+
<li><a class="reference" href="#installation-as-a-standalone-top-level-package" id="id8" name="id8">Installation as a standalone (top-level) package</a></li>
3333
<li><a class="reference" href="#installation-as-a-webware-for-python-subpackage-plug-in" id="id9" name="id9">Installation as a Webware for Python subpackage (plug-in)</a></li>
3434
</ul>
3535
</li>
@@ -138,7 +138,7 @@ <h1><a id="download" name="download">Download</a></h1>
138138
<div class="section">
139139
<h1><a id="installation" name="installation">Installation</a></h1>
140140
<div class="section">
141-
<h2><a id="installation-as-a-standalone-toplevel-package" name="installation-as-a-standalone-toplevel-package">Installation as a standalone (toplevel) package</a></h2>
141+
<h2><a id="installation-as-a-standalone-top-level-package" name="installation-as-a-standalone-top-level-package">Installation as a standalone (top-level) package</a></h2>
142142
<p>If you intend to use DBUtils from other applications than Webware for Python,
143143
it is recommended to install the package in the usual way:</p>
144144
<pre class="literal-block">
@@ -287,7 +287,7 @@ <h2><a id="id1" name="id1">PersistentDB</a></h2>
287287
<p>Whenever the limit is reached, the connection will be reset.</p>
288288
</li>
289289
<li><p class="first"><tt class="docutils literal"><span class="pre">setsession</span></tt>: an optional list of SQL commands that may serve to
290-
prepare the session, e.g. <tt class="docutils literal"><span class="pre">[&quot;set</span> <span class="pre">datestyle</span> <span class="pre">to</span> <span class="pre">german&quot;,</span> <span class="pre">...]</span></tt>.</p>
290+
prepare the session, e.g. <tt class="docutils literal"><span class="pre">[&quot;set</span> <span class="pre">datestyle</span> <span class="pre">to</span> <span class="pre">german&quot;,</span> <span class="pre">...]</span></tt></p>
291291
</li>
292292
<li><p class="first">The creator function or the connect function of the DB-API 2 compliant
293293
database module specified as the creator will receive any additional
@@ -309,7 +309,7 @@ <h2><a id="id1" name="id1">PersistentDB</a></h2>
309309
db = persist.connection()
310310
</pre>
311311
<p>You can use these connections just as if they were ordinary DB-API 2
312-
connections. Actually what you get is the hardened SteadyDB version of
312+
connections. Actually what you get is the hardened <tt class="docutils literal"><span class="pre">SteadyDB</span></tt> version of
313313
the underlying DB-API 2 connection.</p>
314314
<p>Closing a persistent connection with <tt class="docutils literal"><span class="pre">db.close()</span></tt> will be silently
315315
ignored since it would be reopened at the next usage anyway and
@@ -350,7 +350,7 @@ <h2><a id="id2" name="id2">PooledDB</a></h2>
350350
the connection is automatically reset (closed and reopened).</p>
351351
</li>
352352
<li><p class="first"><tt class="docutils literal"><span class="pre">setsession</span></tt>: an optional list of SQL commands that may serve to
353-
prepare the session, e.g. <tt class="docutils literal"><span class="pre">[&quot;set</span> <span class="pre">datestyle</span> <span class="pre">to</span> <span class="pre">german&quot;,</span> <span class="pre">...]</span></tt>.</p>
353+
prepare the session, e.g. <tt class="docutils literal"><span class="pre">[&quot;set</span> <span class="pre">datestyle</span> <span class="pre">to</span> <span class="pre">german&quot;,</span> <span class="pre">...]</span></tt></p>
354354
</li>
355355
<li><p class="first">The creator function or the connect function of the DB-API 2 compliant
356356
database module specified as the creator will receive any additional
@@ -372,7 +372,7 @@ <h2><a id="id2" name="id2">PooledDB</a></h2>
372372
db = pool.connection()
373373
</pre>
374374
<p>You can use these connections just as if they were ordinary DB-API 2
375-
connections. Actually what you get is the hardened SteadyDB version of
375+
connections. Actually what you get is the hardened <tt class="docutils literal"><span class="pre">SteadyDB</span></tt> version of
376376
the underlying DB-API 2 connection.</p>
377377
<p>Please note that the connection may be shared with other threads by default
378378
if you set a non-zero <tt class="docutils literal"><span class="pre">maxshared</span></tt> parameter and the DB-API 2 module allows

DBUtils/Docs/UsersGuide.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
DBUtils User's Guide
1+
DBUtils User's Guide
22
++++++++++++++++++++
33

4-
:Version: 0.9.3
5-
:Released: 05/21/07
6-
:Translations: English Chinese_
4+
:Version: 0.9.4
5+
:Released: 07/07/07
6+
:Translations: English German_ Chinese_
77

8+
.. _German: UsersGuide.de.html
89
.. _Chinese: UsersGuide.zh.html
910

1011
.. contents:: Contents
@@ -79,8 +80,8 @@ You can also download it from the Python Package Index
7980
Installation
8081
============
8182

82-
Installation as a standalone (toplevel) package
83-
-----------------------------------------------
83+
Installation as a standalone (top-level) package
84+
------------------------------------------------
8485
If you intend to use DBUtils from other applications than Webware for Python,
8586
it is recommended to install the package in the usual way::
8687

@@ -247,7 +248,7 @@ of ``PersistentDB``, passing the following parameters:
247248
Whenever the limit is reached, the connection will be reset.
248249

249250
* ``setsession``: an optional list of SQL commands that may serve to
250-
prepare the session, e.g. ``["set datestyle to german", ...]``.
251+
prepare the session, e.g. ``["set datestyle to german", ...]``
251252

252253
* The creator function or the connect function of the DB-API 2 compliant
253254
database module specified as the creator will receive any additional
@@ -268,7 +269,7 @@ database connections of that kind::
268269
db = persist.connection()
269270

270271
You can use these connections just as if they were ordinary DB-API 2
271-
connections. Actually what you get is the hardened SteadyDB version of
272+
connections. Actually what you get is the hardened ``SteadyDB`` version of
272273
the underlying DB-API 2 connection.
273274

274275
Closing a persistent connection with ``db.close()`` will be silently
@@ -312,7 +313,7 @@ following parameters:
312313
the connection is automatically reset (closed and reopened).
313314

314315
* ``setsession``: an optional list of SQL commands that may serve to
315-
prepare the session, e.g. ``["set datestyle to german", ...]``.
316+
prepare the session, e.g. ``["set datestyle to german", ...]``
316317

317318
* The creator function or the connect function of the DB-API 2 compliant
318319
database module specified as the creator will receive any additional
@@ -333,7 +334,7 @@ from that pool::
333334
db = pool.connection()
334335

335336
You can use these connections just as if they were ordinary DB-API 2
336-
connections. Actually what you get is the hardened SteadyDB version of
337+
connections. Actually what you get is the hardened ``SteadyDB`` version of
337338
the underlying DB-API 2 connection.
338339

339340
Please note that the connection may be shared with other threads by default
@@ -464,7 +465,7 @@ Credits
464465
Copyright and License
465466
=====================
466467

467-
Copyright 2005-2007 by Christoph Zwerschke.
468+
Copyright © 2005-2007 by Christoph Zwerschke.
468469
All Rights Reserved.
469470

470471
DBUtils is free and open source software,

DBUtils/Docs/UsersGuide.zh.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh_cn" lang="zh_cn">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
6+
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
77
<title>DBUtils 用户指南</title>
88
<link rel="stylesheet" href="Doc.css" type="text/css" />
99
</head>
@@ -15,10 +15,10 @@ <h1 class="title">DBUtils 用户指南</h1>
1515
<col class="docinfo-content" />
1616
<tbody valign="top">
1717
<tr><th class="docinfo-name">版本:</th>
18-
<td>0.9.3</td></tr>
19-
<tr class="field"><th class="docinfo-name">发行版:</th><td class="field-body">05/21/07</td>
18+
<td>0.9.4</td></tr>
19+
<tr class="field"><th class="docinfo-name">发行版:</th><td class="field-body">07/07/07</td>
2020
</tr>
21-
<tr class="field"><th class="docinfo-name">翻译:</th><td class="field-body"><a class="reference" href="UsersGuide.html">English</a> Chinese</td>
21+
<tr class="field"><th class="docinfo-name">翻译:</th><td class="field-body"><a class="reference" href="UsersGuide.html">English</a> <a class="reference" href="UsersGuide.de.html">German</a> Chinese</td>
2222
</tr>
2323
</tbody>
2424
</table>
@@ -212,7 +212,7 @@ <h2><a id="id11" name="id11">PersistentDB</a></h2>
212212
<pre class="literal-block">
213213
db = persist.connection()
214214
</pre>
215-
<p>你可以使用这些连接就像使用原始的DB-API 2连接一样。实际上你得到的是一个通过SteadyDB得到的强硬的连接,基于DB-API 2。</p>
215+
<p>你可以使用这些连接就像使用原始的DB-API 2连接一样。实际上你得到的是一个通过``SteadyDB``得到的强硬的连接,基于DB-API 2。</p>
216216
<p>关闭一个强硬的连接使用 <tt class="docutils literal"><span class="pre">db.close()</span></tt> ,这在内部实际上被忽略掉了,并且供下次使用。在线程关闭时,也会自动关闭数据库连接。你可以改变这个行为通过 <tt class="docutils literal"><span class="pre">persist._closeable</span></tt><tt class="docutils literal"><span class="pre">True</span></tt></p>
217217
</div>
218218
<div class="section">
@@ -239,7 +239,7 @@ <h2><a id="id12" name="id12">PooledDB</a></h2>
239239
<pre class="literal-block">
240240
db = pool.connection()
241241
</pre>
242-
<p>你可以使用这些连接有如原始的DB-API 2一样。而实际使用的是SteadyDB版本的强硬连接</p>
242+
<p>你可以使用这些连接有如原始的DB-API 2一样。而实际使用的是``SteadyDB``版本的强硬连接</p>
243243
<p>请注意连接可以与其他线程共享,只要你设置 <tt class="docutils literal"><span class="pre">maxshared</span></tt> 参数为非零,并且DB-API 2模块也允许。如果你想要使用专用连接则使用:</p>
244244
<pre class="literal-block">
245245
db = pool.connection(0)

DBUtils/Docs/UsersGuide.zh.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
DBUtils 用户指南
33
====================
44

5-
:版本: 0.9.3
6-
:发行版: 05/21/07
7-
:翻译: English_ Chinese
5+
:版本: 0.9.4
6+
:发行版: 07/07/07
7+
:翻译: English_ German_ Chinese
88

99
.. _English: UsersGuide.html
10+
.. _German: UsersGuide.de.html
1011

1112
.. contents:: 目录
1213

@@ -180,7 +181,7 @@ PersistentDB
180181

181182
db = persist.connection()
182183

183-
你可以使用这些连接就像使用原始的DB-API 2连接一样。实际上你得到的是一个通过SteadyDB得到的强硬的连接,基于DB-API 2。
184+
你可以使用这些连接就像使用原始的DB-API 2连接一样。实际上你得到的是一个通过``SteadyDB``得到的强硬的连接,基于DB-API 2。
184185

185186
关闭一个强硬的连接使用 ``db.close()`` ,这在内部实际上被忽略掉了,并且供下次使用。在线程关闭时,也会自动关闭数据库连接。你可以改变这个行为通过 ``persist._closeable`` 为 ``True`` 。
186187

@@ -217,7 +218,7 @@ PooledDB
217218

218219
db = pool.connection()
219220

220-
你可以使用这些连接有如原始的DB-API 2一样。而实际使用的是SteadyDB版本的强硬连接
221+
你可以使用这些连接有如原始的DB-API 2一样。而实际使用的是``SteadyDB``版本的强硬连接
221222

222223
请注意连接可以与其他线程共享,只要你设置 ``maxshared`` 参数为非零,并且DB-API 2模块也允许。如果你想要使用专用连接则使用::
223224

DBUtils/PersistentDB.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
9090
"""
9191

92-
__version__ = '0.9.3'
92+
__version__ = '0.9.4'
9393
__revision__ = "$Rev$"
9494
__date__ = "$Date$"
9595

DBUtils/PersistentPg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
8989
"""
9090

91-
__version__ = '0.9.3'
91+
__version__ = '0.9.4'
9292
__revision__ = "$Rev$"
9393
__date__ = "$Date$"
9494

DBUtils/PooledDB.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
115115
"""
116116

117-
__version__ = '0.9.3'
117+
__version__ = '0.9.4'
118118
__revision__ = "$Rev$"
119119
__date__ = "$Date$"
120120

0 commit comments

Comments
 (0)