sqlobject-cvs Mailing List for SQLObject (Page 111)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(74) |
May
(29) |
Jun
(16) |
Jul
(28) |
Aug
(10) |
Sep
(57) |
Oct
(9) |
Nov
(29) |
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(14) |
Mar
(6) |
Apr
(3) |
May
(12) |
Jun
(34) |
Jul
(9) |
Aug
(29) |
Sep
(22) |
Oct
(2) |
Nov
(15) |
Dec
(52) |
| 2005 |
Jan
(47) |
Feb
(78) |
Mar
(14) |
Apr
(35) |
May
(33) |
Jun
(16) |
Jul
(26) |
Aug
(63) |
Sep
(40) |
Oct
(96) |
Nov
(96) |
Dec
(123) |
| 2006 |
Jan
(159) |
Feb
(144) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(48) |
Jul
(16) |
Aug
(64) |
Sep
(87) |
Oct
(92) |
Nov
(56) |
Dec
(76) |
| 2007 |
Jan
(94) |
Feb
(103) |
Mar
(126) |
Apr
(123) |
May
(85) |
Jun
(11) |
Jul
(130) |
Aug
(47) |
Sep
(65) |
Oct
(70) |
Nov
(12) |
Dec
(11) |
| 2008 |
Jan
(30) |
Feb
(55) |
Mar
(88) |
Apr
(20) |
May
(50) |
Jun
|
Jul
(38) |
Aug
(1) |
Sep
(9) |
Oct
(5) |
Nov
(6) |
Dec
(39) |
| 2009 |
Jan
(8) |
Feb
(16) |
Mar
(3) |
Apr
(33) |
May
(44) |
Jun
(1) |
Jul
(10) |
Aug
(33) |
Sep
(74) |
Oct
(22) |
Nov
|
Dec
(15) |
| 2010 |
Jan
(28) |
Feb
(22) |
Mar
(46) |
Apr
(29) |
May
(1) |
Jun
(1) |
Jul
(27) |
Aug
(8) |
Sep
(5) |
Oct
(33) |
Nov
(24) |
Dec
(41) |
| 2011 |
Jan
(4) |
Feb
(12) |
Mar
(35) |
Apr
(29) |
May
(19) |
Jun
(16) |
Jul
(32) |
Aug
(25) |
Sep
(5) |
Oct
(11) |
Nov
(21) |
Dec
(12) |
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(20) |
Apr
(4) |
May
(25) |
Jun
(13) |
Jul
|
Aug
|
Sep
(2) |
Oct
(25) |
Nov
(9) |
Dec
(1) |
| 2013 |
Jan
(6) |
Feb
(8) |
Mar
|
Apr
(10) |
May
(31) |
Jun
(7) |
Jul
(18) |
Aug
(33) |
Sep
(4) |
Oct
(16) |
Nov
|
Dec
(27) |
| 2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(11) |
May
(39) |
Jun
(8) |
Jul
(11) |
Aug
(4) |
Sep
|
Oct
(27) |
Nov
|
Dec
(71) |
| 2015 |
Jan
(17) |
Feb
(47) |
Mar
(33) |
Apr
|
May
|
Jun
(9) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
| 2016 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
|
May
(12) |
Jun
(7) |
Jul
(9) |
Aug
(31) |
Sep
(8) |
Oct
(3) |
Nov
(15) |
Dec
(1) |
| 2017 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(8) |
May
(10) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(4) |
Dec
(5) |
| 2018 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
(4) |
May
|
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
(1) |
Feb
(16) |
Mar
(1) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
| 2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(9) |
| 2025 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
(2) |
|
From: SourceForge.net <no...@so...> - 2006-12-23 10:42:31
|
Patches item #1621211, was opened at 2006-12-23 13:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1621211&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mike Vorozhbensky (mgfox) Assigned to: Nobody/Anonymous (nobody) Summary: revision 2150 firebird fromDatabase - error in field names Initial Comment: when creating object from firebird database field names generated with extra spaces like "COMMENT " ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1621211&group_id=74338 |
|
From: SourceForge.net <no...@so...> - 2006-12-23 09:48:37
|
Bugs item #1621196, was opened at 2006-12-23 01:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1621196&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Firebird/Interbase Group: SQLObject release (specify) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: 0.7.2 bug in creating class fromDatabase Initial Comment: example: --- cut --- from sqlobject import * sqlhub.processConnection = connectionForURI('firebird://localhost/wwweva') class selPeople(SQLObject): class sqlmeta: fromDatabase = True pass --- end cut --- result: --- cut --- Traceback (most recent call last): File "test_from_Db.py", line 8, in ? class selPeople(SQLObject): File "d:\lang\python\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\declarative.py", line 109, in __new__ cls.__classinit__(cls, new_attrs) File "d:\lang\python\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\main.py", line 782, in __classinit__ cls.sqlmeta.addColumnsFromDatabase() File "d:\lang\python\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\main.py", line 427, in addColumnsFromDatabase for columnDef in conn.columnsFromSchema(sqlmeta.table, soClass): File "D:\Lang\Python\lib\site-packages\sqlobject-0.7.2-py2.4.egg\sqlobject\firebird\firebirdconnection.py", line 193, in columnsFromSchema colClass, kw = self.guessClass(t.strip(), flength, fscale) File "D:\Lang\Python\lib\site-packages\sqlobject-0.7.2-py2.4.egg\sqlobject\firebird\firebirdconnection.py", line 215, in guessClass return col.StringCol, {'length': flength, NameError: global name 'col' is not defined --- end cut --- FIX for this bug: file: sqlobject\firebird\firebirdconnection.py modify line 129 from: colClass, kw = self.guessClass(t, flength, fscale) to: colClass, kw = self.guessClass(t.strip(), flength, fscale) file: sqlobject\firebird\firebirdconnection.py insert line 2: import sqlobject.col as col ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1621196&group_id=74338 |
|
From: <sub...@co...> - 2006-12-22 15:20:27
|
Author: phd
Date: 2006-12-22 08:20:21 -0700 (Fri, 22 Dec 2006)
New Revision: 2149
Modified:
home/phd/SQLObject/paramstyles/sqlobject/main.py
home/phd/SQLObject/paramstyles/sqlobject/tests/test_basic.py
Log:
Merged patches from the revisions 2146:2148 from the trunk
Modified: home/phd/SQLObject/paramstyles/sqlobject/main.py
===================================================================
--- home/phd/SQLObject/paramstyles/sqlobject/main.py 2006-12-22 15:17:02 UTC (rev 2148)
+++ home/phd/SQLObject/paramstyles/sqlobject/main.py 2006-12-22 15:20:21 UTC (rev 2149)
@@ -220,7 +220,7 @@
__metaclass__ = declarative.DeclarativeMeta
# These attributes shouldn't be shared with superclasses:
- _unshared_attributes = ['table', 'idName', 'columns', 'childName']
+ _unshared_attributes = ['table', 'columns', 'childName']
# These are internal bookkeeping attributes; the class-level
# definition is a default for the instances, instances will
Modified: home/phd/SQLObject/paramstyles/sqlobject/tests/test_basic.py
===================================================================
--- home/phd/SQLObject/paramstyles/sqlobject/tests/test_basic.py 2006-12-22 15:17:02 UTC (rev 2148)
+++ home/phd/SQLObject/paramstyles/sqlobject/tests/test_basic.py 2006-12-22 15:20:21 UTC (rev 2149)
@@ -290,3 +290,15 @@
pass
else:
assert 0, "Expected an AttributeError"
+
+class myid_sqlmeta(sqlmeta):
+ idName = "my_id"
+
+class TestSO12(SQLObject):
+ class sqlmeta(myid_sqlmeta):
+ pass
+ name = StringCol()
+
+def test_sqlmeta_inherited_idName():
+ setupClass(TestSO12)
+ assert TestSO12.sqlmeta.idName == "my_id"
|
|
From: <sub...@co...> - 2006-12-22 15:17:06
|
Author: phd Date: 2006-12-22 08:17:02 -0700 (Fri, 22 Dec 2006) New Revision: 2148 Modified: SQLObject/docs/News.txt Log: idName can be inherited from the parent sqlmeta class. Modified: SQLObject/docs/News.txt =================================================================== --- SQLObject/docs/News.txt 2006-12-22 15:16:39 UTC (rev 2147) +++ SQLObject/docs/News.txt 2006-12-22 15:17:02 UTC (rev 2148) @@ -15,6 +15,14 @@ * Support for Python 2.2 has been declared obsolete. +Small Features +-------------- + +Bug Fixes +--------- + +* idName can be inherited from the parent sqlmeta class. + SQLObject 0.8.0 =============== |
|
From: <sub...@co...> - 2006-12-22 15:16:46
|
Author: phd
Date: 2006-12-22 08:16:39 -0700 (Fri, 22 Dec 2006)
New Revision: 2147
Modified:
SQLObject/trunk/sqlobject/main.py
SQLObject/trunk/sqlobject/tests/test_basic.py
Log:
idName can be inherited from the parent sqlmeta class.
Modified: SQLObject/trunk/sqlobject/main.py
===================================================================
--- SQLObject/trunk/sqlobject/main.py 2006-12-20 03:35:29 UTC (rev 2146)
+++ SQLObject/trunk/sqlobject/main.py 2006-12-22 15:16:39 UTC (rev 2147)
@@ -220,7 +220,7 @@
__metaclass__ = declarative.DeclarativeMeta
# These attributes shouldn't be shared with superclasses:
- _unshared_attributes = ['table', 'idName', 'columns', 'childName']
+ _unshared_attributes = ['table', 'columns', 'childName']
# These are internal bookkeeping attributes; the class-level
# definition is a default for the instances, instances will
Modified: SQLObject/trunk/sqlobject/tests/test_basic.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_basic.py 2006-12-20 03:35:29 UTC (rev 2146)
+++ SQLObject/trunk/sqlobject/tests/test_basic.py 2006-12-22 15:16:39 UTC (rev 2147)
@@ -290,3 +290,15 @@
pass
else:
assert 0, "Expected an AttributeError"
+
+class myid_sqlmeta(sqlmeta):
+ idName = "my_id"
+
+class TestSO12(SQLObject):
+ class sqlmeta(myid_sqlmeta):
+ pass
+ name = StringCol()
+
+def test_sqlmeta_inherited_idName():
+ setupClass(TestSO12)
+ assert TestSO12.sqlmeta.idName == "my_id"
|
|
From: <sub...@co...> - 2006-12-19 13:50:36
|
Author: phd
Date: 2006-12-19 06:50:32 -0700 (Tue, 19 Dec 2006)
New Revision: 2145
Modified:
home/phd/SQLObject/paramstyles/sqlobject/main.py
Log:
Merged patches from the revisions 2140:2144 from the trunk
Modified: home/phd/SQLObject/paramstyles/sqlobject/main.py
===================================================================
--- home/phd/SQLObject/paramstyles/sqlobject/main.py 2006-12-19 13:48:45 UTC (rev 2144)
+++ home/phd/SQLObject/paramstyles/sqlobject/main.py 2006-12-19 13:50:32 UTC (rev 2145)
@@ -665,6 +665,9 @@
if warnings_level is not None and warnings_level <= level:
warnings.warn(message, DeprecationWarning, stacklevel=stacklevel)
+if sys.version_info[:3] < (2, 3, 0):
+ deprecated("Support for Python 2.2 has been declared obsolete and will be removed in the next release of SQLObject")
+
def setDeprecationLevel(warning=1, exception=None):
"""
Set the deprecation level for SQLObject. Low levels are more
|
|
From: <sub...@co...> - 2006-12-19 13:48:49
|
Author: phd Date: 2006-12-19 06:48:45 -0700 (Tue, 19 Dec 2006) New Revision: 2144 Modified: SQLObject/branches/0.7-bugfix/docs/community.txt Log: Added a reference to the Trac. Modified: SQLObject/branches/0.7-bugfix/docs/community.txt =================================================================== --- SQLObject/branches/0.7-bugfix/docs/community.txt 2006-12-19 13:47:56 UTC (rev 2143) +++ SQLObject/branches/0.7-bugfix/docs/community.txt 2006-12-19 13:48:45 UTC (rev 2144) @@ -25,3 +25,5 @@ The `Author List <docs/Authors.html>`_ tries to list all the major contributors. +There is also an experimental Trac installation for wiki and tickets at +http://sqlobject.gcu.info/trac. |
|
From: <sub...@co...> - 2006-12-19 13:48:04
|
Author: phd Date: 2006-12-19 06:47:56 -0700 (Tue, 19 Dec 2006) New Revision: 2143 Modified: SQLObject/docs/community.txt Log: Added a reference to the Trac. Modified: SQLObject/docs/community.txt =================================================================== --- SQLObject/docs/community.txt 2006-12-19 13:41:57 UTC (rev 2142) +++ SQLObject/docs/community.txt 2006-12-19 13:47:56 UTC (rev 2143) @@ -25,3 +25,5 @@ The `Author List <docs/Authors.html>`_ tries to list all the major contributors. +There is also an experimental Trac installation for wiki and tickets at +http://sqlobject.gcu.info/trac. |
|
From: <sub...@co...> - 2006-12-19 13:42:01
|
Author: phd Date: 2006-12-19 06:41:57 -0700 (Tue, 19 Dec 2006) New Revision: 2142 Modified: SQLObject/docs/News.txt Log: Started docs for the trunk. Modified: SQLObject/docs/News.txt =================================================================== --- SQLObject/docs/News.txt 2006-12-19 13:40:41 UTC (rev 2141) +++ SQLObject/docs/News.txt 2006-12-19 13:41:57 UTC (rev 2142) @@ -7,6 +7,14 @@ .. _start: +SQLObject (trunk) +================= + +Features & Interface +-------------------- + +* Support for Python 2.2 has been declared obsolete. + SQLObject 0.8.0 =============== |
|
From: <sub...@co...> - 2006-12-19 13:40:47
|
Author: phd
Date: 2006-12-19 06:40:41 -0700 (Tue, 19 Dec 2006)
New Revision: 2141
Modified:
SQLObject/trunk/sqlobject/main.py
Log:
Support for Python 2.2 has been declared obsolete.
Modified: SQLObject/trunk/sqlobject/main.py
===================================================================
--- SQLObject/trunk/sqlobject/main.py 2006-12-19 13:18:16 UTC (rev 2140)
+++ SQLObject/trunk/sqlobject/main.py 2006-12-19 13:40:41 UTC (rev 2141)
@@ -665,6 +665,9 @@
if warnings_level is not None and warnings_level <= level:
warnings.warn(message, DeprecationWarning, stacklevel=stacklevel)
+if sys.version_info[:3] < (2, 3, 0):
+ deprecated("Support for Python 2.2 has been declared obsolete and will be removed in the next release of SQLObject")
+
def setDeprecationLevel(warning=1, exception=None):
"""
Set the deprecation level for SQLObject. Low levels are more
|
|
From: <sub...@co...> - 2006-12-19 13:18:24
|
Author: phd
Date: 2006-12-19 06:18:16 -0700 (Tue, 19 Dec 2006)
New Revision: 2140
Modified:
home/phd/SQLObject/paramstyles/setup.py
Log:
Merged patches from the revisions 2137:2139 from the trunk
Modified: home/phd/SQLObject/paramstyles/setup.py
===================================================================
--- home/phd/SQLObject/paramstyles/setup.py 2006-12-19 13:16:52 UTC (rev 2139)
+++ home/phd/SQLObject/paramstyles/setup.py 2006-12-19 13:18:16 UTC (rev 2140)
@@ -28,7 +28,7 @@
"""
setup(name="SQLObject",
- version="0.8",
+ version="0.9",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
@@ -42,7 +42,7 @@
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB).
For development see the `subversion repository
-<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.8dev>`_
+<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.9dev>`_
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
|
|
From: <sub...@co...> - 2006-12-19 13:16:57
|
Author: phd
Date: 2006-12-19 06:16:52 -0700 (Tue, 19 Dec 2006)
New Revision: 2139
Modified:
SQLObject/trunk/setup.py
Log:
The trunk will be released as 0.9 eventually.
Modified: SQLObject/trunk/setup.py
===================================================================
--- SQLObject/trunk/setup.py 2006-12-19 13:15:29 UTC (rev 2138)
+++ SQLObject/trunk/setup.py 2006-12-19 13:16:52 UTC (rev 2139)
@@ -28,7 +28,7 @@
"""
setup(name="SQLObject",
- version="0.8",
+ version="0.9",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
@@ -42,7 +42,7 @@
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB).
For development see the `subversion repository
-<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.8dev>`_
+<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.9dev>`_
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
|
|
From: <sub...@co...> - 2006-12-19 13:15:44
|
Author: phd Date: 2006-12-19 06:15:29 -0700 (Tue, 19 Dec 2006) New Revision: 2138 Modified: SQLObject/docs/News.txt Log: Fixed a minor misspelling. Modified: SQLObject/docs/News.txt =================================================================== --- SQLObject/docs/News.txt 2006-12-17 23:56:22 UTC (rev 2137) +++ SQLObject/docs/News.txt 2006-12-19 13:15:29 UTC (rev 2138) @@ -51,7 +51,7 @@ * SELECT FOR UPDATE * New module dberrors.py - a hierarchy of exceptions. Translation of DB API - module's exceptions to the new hierarchy is performed for SQLIte and MySQL. + module's exceptions to the new hierarchy is performed for SQLite and MySQL. * SQLiteConnection got a new keyword "factory" - a name or a reference to a factory function that returns a connection class; useful for |
|
From: SourceForge.net <no...@so...> - 2006-12-18 19:52:37
|
Bugs item #1618346, was opened at 2006-12-18 11:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1618346&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Website bad links Initial Comment: Found from this page on SQLObject site: http://sqlobject.org/links.html These links are bad: http://subway.python-hosting.com/ http://pythonpaste.org/docs/TodoTutorial.html http://planetplus.python-hosting.com/ Regards, Brian Ray (http://kazavoo.com) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1618346&group_id=74338 |
|
From: <sub...@co...> - 2006-12-14 14:12:15
|
Author: phd Date: 2006-12-14 07:12:09 -0700 (Thu, 14 Dec 2006) New Revision: 2134 Modified: SQLObject/tags/0.8.0b1/setup.cfg SQLObject/tags/0.8.0b1/setup.py Log: Version 0.8.0b1. Modified: SQLObject/tags/0.8.0b1/setup.cfg =================================================================== --- SQLObject/tags/0.8.0b1/setup.cfg 2006-12-14 14:11:26 UTC (rev 2133) +++ SQLObject/tags/0.8.0b1/setup.cfg 2006-12-14 14:12:09 UTC (rev 2134) @@ -1,10 +1,3 @@ -[easy_install] -#find_links = http://svn.pythonpaste.org/package_index.html - -[egg_info] -tag_build = dev -tag_svn_revision = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/SQLObject.txt docs/TODO.txt Modified: SQLObject/tags/0.8.0b1/setup.py =================================================================== --- SQLObject/tags/0.8.0b1/setup.py 2006-12-14 14:11:26 UTC (rev 2133) +++ SQLObject/tags/0.8.0b1/setup.py 2006-12-14 14:12:09 UTC (rev 2134) @@ -28,7 +28,7 @@ """ setup(name="SQLObject", - version="0.8", + version="0.8.0b1", description="Object-Relational Manager, aka database wrapper", long_description="""\ SQLObject is a popular *Object Relational Manager* for providing an @@ -56,7 +56,7 @@ author="Ian Bicking", author_email="ia...@co...", url="http://sqlobject.org/devel/", - download_url="http://cheeseshop.python.org/pypi/SQLObject/", + download_url="http://cheeseshop.python.org/pypi/SQLObject/0.8.0b1", license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin"], |
|
From: <sub...@co...> - 2006-12-14 14:11:33
|
Author: phd Date: 2006-12-14 07:11:26 -0700 (Thu, 14 Dec 2006) New Revision: 2133 Modified: SQLObject/branches/0.8/setup.py Log: Changed the URL for the branch. Modified: SQLObject/branches/0.8/setup.py =================================================================== --- SQLObject/branches/0.8/setup.py 2006-12-14 14:03:15 UTC (rev 2132) +++ SQLObject/branches/0.8/setup.py 2006-12-14 14:11:26 UTC (rev 2133) @@ -42,7 +42,7 @@ Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB). For development see the `subversion repository -<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.8dev>`_ +<http://svn.sqlobject.org/SQLObject/branches/0.8>`_ """, classifiers=[ "Development Status :: 5 - Production/Stable", |
|
From: <sub...@co...> - 2006-12-14 14:03:20
|
Author: phd Date: 2006-12-14 07:03:15 -0700 (Thu, 14 Dec 2006) New Revision: 2132 Added: SQLObject/tags/0.8.0b1/ Log: 0.8.0 beta 1. Copied: SQLObject/tags/0.8.0b1 (from rev 2131, SQLObject/branches/0.8) |
|
From: <sub...@co...> - 2006-12-14 13:37:04
|
Author: phd Date: 2006-12-14 06:36:53 -0700 (Thu, 14 Dec 2006) New Revision: 2131 Added: SQLObject/branches/0.8/ Log: 0.8 branch. Copied: SQLObject/branches/0.8 (from rev 2130, SQLObject/trunk) |
|
From: SourceForge.net <no...@so...> - 2006-12-12 20:55:38
|
Patches item #1614267, was opened at 2006-12-12 20:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1614267&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Turner (novalis_dt) Assigned to: Nobody/Anonymous (nobody) Summary: Prevents half-constructed objects from showing up in queries Initial Comment: See discussion on mailing list beginning with <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=31213603&forum_id=30269"> this one</a>. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1614267&group_id=74338 |
|
From: SourceForge.net <no...@so...> - 2006-12-12 19:36:55
|
Patches item #1613369, was opened at 2006-12-11 17:44 Message generated for change (Comment added) made by paj28 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1613369&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Paul Johnston (paj28) Assigned to: Nobody/Anonymous (nobody) Summary: Fix bug that breaks "tg-admin sql status" Initial Comment: I was unable to get "tg-admin sql status" to work; I've attached the exception at the bottom. The problem is that in sqlbuilder.py, in the function sqlIdentifier, it does a check like 'type(obj) is type("")'. In this case the object in unicode, which incorrectly causes a failure. The fix is to replace the check with isinstance(obj, basestring). C:\tsrweb>tg-admin sql status Using database URI mssql://pythonweb:mdi*2mdO1@./giitr Traceback (most recent call last): File "c:\python24\scripts\tg-admin-script.py", line 7, in ? sys.exit( File "c:\python24\lib\site-packages\TurboGears-1.0b2-py2.4.egg\turbogears\comm and\base.py", line 358, in main command.run() File "c:\python24\lib\site-packages\TurboGears-1.0b2-py2.4.egg\turbogears\comm and\base.py", line 144, in run command.the_runner.run(sys.argv) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\manage r\command.py", line 102, in run runner.run() File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\manage r\command.py", line 233, in run self.command() File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\manage r\command.py", line 663, in command col = col.withClass(soClass) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 410, in withClass extra_vars=self._extra_vars, File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 558, in __init__ super(SOUnicodeCol, self).__init__(**kw) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 439, in __init__ super(SOStringLikeCol, self).__init__(**kw) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 143, in __init__ assert sqlbuilder.sqlIdentifier(name), 'Name must be SQL-safe (letters, numb ers, underscores): %s (or use forceDBName=True)' \ AssertionError: Name must be SQL-safe (letters, numbers, underscores): u'capword ' (or use forceDBName=True) ---------------------------------------------------------------------- >Comment By: Paul Johnston (paj28) Date: 2006-12-12 19:36 Message: Logged In: YES user_id=1051055 Originator: YES After discussion on the list, here's an alternative patch. File Added: mssqlconnection.py.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1613369&group_id=74338 |
|
From: SourceForge.net <no...@so...> - 2006-12-12 10:41:23
|
Bugs item #1610027, was opened at 2006-12-06 12:57 Message generated for change (Comment added) made by nuddelaug You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1610027&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: SQLObject release (specify) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michael Lang (nuddelaug) Assigned to: Oleg Broytmann (phd) Summary: Memory Leak SQLObject-0.7.2 Initial Comment: Hi, i've used SQLObject on ubuntu with sqlite and found a strange behavior consuming the machine memory where it shouldnt do. i wrote a script which creates 2 Tables mostly stringcol, i then iter over a list of names inserting them into just one table buy creating a new Object from the Class for my table, after inserting the values i even del the Object but the memoryuseage increases still <code snip> while [ 1 ]: line = sys.stdin.readline() if not line: break tbl = Table2(col1="a", col2="b", col3="c", ... ) del tbl <code snip> im a getting something wrong ? the data gets inserted, sqlite> SELECT count(*) FROM table2; 117760 but after these Records the machine craps up in swaping due ~350M memory usage on 512M Machine running other things to. thanks for any help kind regards Michael lang ---------------------------------------------------------------------- >Comment By: Michael Lang (nuddelaug) Date: 2006-12-12 11:41 Message: Logged In: YES user_id=1216160 Originator: YES Hi olec, yes that helps and saves my memory :) maybe you can apply an automatic clean on object destruction like attached below. thanks for your fast response. kind regards Michael Lang --- /usr/lib/python2.4/site-packages/sqlobject/main.py 2004-10-20 22:28:18.000000000 +0200 +++ /tmp/main.py 2006-12-12 11:38:03.000000000 +0100 @@ -331,6 +331,10 @@ # aren't using integer IDs _idType = int + def __del__(self): + # cleanup cache before wiping object + self._connection.cache.clear() + def get(cls, id, connection=None, selectResults=None): assert id is not None, 'None is not a possible id for %s' % cls.__name ---------------------------------------------------------------------- Comment By: Oleg Broytmann (phd) Date: 2006-12-11 17:12 Message: Logged In: YES user_id=4799 Originator: NO The rows you draw from the table are put in the cache, and are not removed with "del tbl". How many rows have you selected? The cache is being culled after selecting 100 rows (after every 100 rows). You can change the culling frequency or clear the cache yourself: Table2._connection.cache.clear(). Does it help? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1610027&group_id=74338 |
|
From: SourceForge.net <no...@so...> - 2006-12-11 17:44:23
|
Patches item #1613369, was opened at 2006-12-11 17:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1613369&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Paul Johnston (paj28) Assigned to: Nobody/Anonymous (nobody) Summary: Fix bug that breaks "tg-admin sql status" Initial Comment: I was unable to get "tg-admin sql status" to work; I've attached the exception at the bottom. The problem is that in sqlbuilder.py, in the function sqlIdentifier, it does a check like 'type(obj) is type("")'. In this case the object in unicode, which incorrectly causes a failure. The fix is to replace the check with isinstance(obj, basestring). C:\tsrweb>tg-admin sql status Using database URI mssql://pythonweb:mdi*2mdO1@./giitr Traceback (most recent call last): File "c:\python24\scripts\tg-admin-script.py", line 7, in ? sys.exit( File "c:\python24\lib\site-packages\TurboGears-1.0b2-py2.4.egg\turbogears\comm and\base.py", line 358, in main command.run() File "c:\python24\lib\site-packages\TurboGears-1.0b2-py2.4.egg\turbogears\comm and\base.py", line 144, in run command.the_runner.run(sys.argv) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\manage r\command.py", line 102, in run runner.run() File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\manage r\command.py", line 233, in run self.command() File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\manage r\command.py", line 663, in command col = col.withClass(soClass) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 410, in withClass extra_vars=self._extra_vars, File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 558, in __init__ super(SOUnicodeCol, self).__init__(**kw) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 439, in __init__ super(SOStringLikeCol, self).__init__(**kw) File "c:\python24\lib\site-packages\SQLObject-0.7.2-py2.4.egg\sqlobject\col.py ", line 143, in __init__ assert sqlbuilder.sqlIdentifier(name), 'Name must be SQL-safe (letters, numb ers, underscores): %s (or use forceDBName=True)' \ AssertionError: Name must be SQL-safe (letters, numbers, underscores): u'capword ' (or use forceDBName=True) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1613369&group_id=74338 |
|
From: SourceForge.net <no...@so...> - 2006-12-11 16:12:40
|
Bugs item #1610027, was opened at 2006-12-06 14:57 Message generated for change (Comment added) made by phd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1610027&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: SQLObject release (specify) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michael Lang (nuddelaug) >Assigned to: Oleg Broytmann (phd) Summary: Memory Leak SQLObject-0.7.2 Initial Comment: Hi, i've used SQLObject on ubuntu with sqlite and found a strange behavior consuming the machine memory where it shouldnt do. i wrote a script which creates 2 Tables mostly stringcol, i then iter over a list of names inserting them into just one table buy creating a new Object from the Class for my table, after inserting the values i even del the Object but the memoryuseage increases still <code snip> while [ 1 ]: line = sys.stdin.readline() if not line: break tbl = Table2(col1="a", col2="b", col3="c", ... ) del tbl <code snip> im a getting something wrong ? the data gets inserted, sqlite> SELECT count(*) FROM table2; 117760 but after these Records the machine craps up in swaping due ~350M memory usage on 512M Machine running other things to. thanks for any help kind regards Michael lang ---------------------------------------------------------------------- >Comment By: Oleg Broytmann (phd) Date: 2006-12-11 19:12 Message: Logged In: YES user_id=4799 Originator: NO The rows you draw from the table are put in the cache, and are not removed with "del tbl". How many rows have you selected? The cache is being culled after selecting 100 rows (after every 100 rows). You can change the culling frequency or clear the cache yourself: Table2._connection.cache.clear(). Does it help? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1610027&group_id=74338 |
|
From: <sub...@co...> - 2006-12-11 15:55:23
|
Author: phd
Date: 2006-12-11 08:55:15 -0700 (Mon, 11 Dec 2006)
New Revision: 2128
Modified:
home/phd/SQLObject/paramstyles/sqlobject/events.py
Log:
Merged patches from the revisions 2126:2127 from the trunk
Modified: home/phd/SQLObject/paramstyles/sqlobject/events.py
===================================================================
--- home/phd/SQLObject/paramstyles/sqlobject/events.py 2006-12-08 17:34:34 UTC (rev 2127)
+++ home/phd/SQLObject/paramstyles/sqlobject/events.py 2006-12-11 15:55:15 UTC (rev 2128)
@@ -110,10 +110,11 @@
class RowUpdateSignal(Signal):
"""
- Called when an instance is updated through a call to ``.set()``.
- The arguments are ``(instance, kwargs)``. ``kwargs`` can be
- modified. This is run *before* the instance is updated; if you
- want to look at the current values, simply look at ``instance``.
+ Called when an instance is updated through a call to ``.set()``
+ (or a column attribute assignment). The arguments are
+ ``(instance, kwargs)``. ``kwargs`` can be modified. This is run
+ *before* the instance is updated; if you want to look at the
+ current values, simply look at ``instance``.
"""
class AddColumnSignal(Signal):
|
|
From: SourceForge.net <no...@so...> - 2006-12-10 20:56:09
|
Bugs item #1547004, was opened at 2006-08-26 06:05 Message generated for change (Comment added) made by sophana You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1547004&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DBM Group: SQLObject from repository Status: Open Resolution: None Priority: 5 Private: No Submitted By: elpargo (elpargo) Assigned to: Nobody/Anonymous (nobody) Summary: SQLObject does not reconnect Initial Comment: this is from the 0.7bug fix branch a lot of background has been created on this in Turbogears bug tracker. mainly in http://trac.turbogears.org/turbogears/ticket/872 http://trac.turbogears.org/turbogears/ticket/781 Basically the connection after being idle is drop and SO engine is not aware of this. Many patches have been proposed but none accepted. ---------------------------------------------------------------------- Comment By: sophana (sophana) Date: 2006-12-10 21:56 Message: Logged In: YES user_id=931678 Originator: NO I think the best solution is the one included in this mysqldb patch. The reconnection is handled directly in the mysql C api with an option. The problem Is that this option is only available from mysql 5.0.x http://sourceforge.net/tracker/index.php?func=detail&aid=1483074&group_id=22307&atid=374934 Other problem this patch is for mysqldb 1.2.1p2 which has problems with unicode. Have to see if the patch is already applied or applicable to 1.2.2 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1547004&group_id=74338 |