sqlobject-cvs Mailing List for SQLObject (Page 27)
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
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <sub...@co...> - 2013-05-26 17:12:33
|
Author: phd Date: Sun May 26 11:12:23 2013 New Revision: 4609 Log: Stable release 1.3.3 Modified: SQLObject/tags/1.3.3/README.txt SQLObject/tags/1.3.3/setup.cfg SQLObject/tags/1.3.3/sqlobject/__version__.py Modified: SQLObject/tags/1.3.3/README.txt ============================================================================== --- SQLObject/tags/1.3.3/README.txt Sun May 26 11:08:50 2013 (r4608) +++ SQLObject/tags/1.3.3/README.txt Sun May 26 11:12:23 2013 (r4609) @@ -1,5 +1,5 @@ -SQLObject 1.3 -============= +SQLObject 1.3.3 +=============== Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python Modified: SQLObject/tags/1.3.3/setup.cfg ============================================================================== --- SQLObject/tags/1.3.3/setup.cfg Sun May 26 11:08:50 2013 (r4608) +++ SQLObject/tags/1.3.3/setup.cfg Sun May 26 11:12:23 2013 (r4609) @@ -5,10 +5,6 @@ [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/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt Modified: SQLObject/tags/1.3.3/sqlobject/__version__.py ============================================================================== --- SQLObject/tags/1.3.3/sqlobject/__version__.py Sun May 26 11:08:50 2013 (r4608) +++ SQLObject/tags/1.3.3/sqlobject/__version__.py Sun May 26 11:12:23 2013 (r4609) @@ -1,8 +1,8 @@ -version = '1.3' +version = '1.3.3' major = 1 minor = 3 -micro = 0 -release_level = 'trunk' +micro = 3 +release_level = 'final' serial = 0 version_info = (major, minor, micro, release_level, serial) |
From: <sub...@co...> - 2013-05-26 17:08:57
|
Author: phd Date: Sun May 26 11:08:50 2013 New Revision: 4608 Log: Tagging 1.3.3 Added: SQLObject/tags/1.3.3/ - copied from r4607, SQLObject/branches/1.3/ |
From: <sub...@co...> - 2013-05-26 17:04:08
|
Author: phd Date: Sun May 26 11:03:58 2013 New Revision: 4607 Log: Merged revision 4605 from branch 1.3: added an example of using SQLObject with web.py Modified: SQLObject/trunk/docs/News.txt SQLObject/trunk/docs/links.txt Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Sun May 26 11:02:55 2013 (r4606) +++ SQLObject/trunk/docs/News.txt Sun May 26 11:03:58 2013 (r4607) @@ -41,6 +41,9 @@ * Fixed bugs in pickling and unpickling (remove/restore a weak proxy to self, fixed cache handling). +* Added an example of using SQLObject with web.py by Rhubarb Sin + to the links page. + SQLObject 1.3.2 =============== Modified: SQLObject/trunk/docs/links.txt ============================================================================== --- SQLObject/trunk/docs/links.txt Sun May 26 11:02:55 2013 (r4606) +++ SQLObject/trunk/docs/links.txt Sun May 26 11:03:58 2013 (r4607) @@ -26,6 +26,9 @@ * `Using SQLObject with memcached <http://www.zachary.com/s/blog/2005/09/18/sqlobject_and_memcached,_part_1>`_. +* `Example of using SQLObject with web.py under mod_wsgi + <https://github.com/RhubarbSin/example-sqlobject-webpy>`_. + Open Source Projects -------------------- |
From: <sub...@co...> - 2013-05-26 17:03:08
|
Author: phd Date: Sun May 26 11:02:55 2013 New Revision: 4606 Log: Merged revision 4605 from branch 1.3: added an example of using SQLObject with web.py Modified: SQLObject/branches/1.4/docs/News.txt SQLObject/branches/1.4/docs/links.txt Modified: SQLObject/branches/1.4/docs/News.txt ============================================================================== --- SQLObject/branches/1.4/docs/News.txt Sun May 26 11:01:05 2013 (r4605) +++ SQLObject/branches/1.4/docs/News.txt Sun May 26 11:02:55 2013 (r4606) @@ -41,6 +41,9 @@ * Fixed bugs in pickling and unpickling (remove/restore a weak proxy to self, fixed cache handling). +* Added an example of using SQLObject with web.py by Rhubarb Sin + to the links page. + SQLObject 1.3.2 =============== Modified: SQLObject/branches/1.4/docs/links.txt ============================================================================== --- SQLObject/branches/1.4/docs/links.txt Sun May 26 11:01:05 2013 (r4605) +++ SQLObject/branches/1.4/docs/links.txt Sun May 26 11:02:55 2013 (r4606) @@ -26,6 +26,9 @@ * `Using SQLObject with memcached <http://www.zachary.com/s/blog/2005/09/18/sqlobject_and_memcached,_part_1>`_. +* `Example of using SQLObject with web.py under mod_wsgi + <https://github.com/RhubarbSin/example-sqlobject-webpy>`_. + Open Source Projects -------------------- |
From: <sub...@co...> - 2013-05-26 17:01:13
|
Author: phd Date: Sun May 26 11:01:05 2013 New Revision: 4605 Log: Added an example of using SQLObject with web.py by Rhubarb Sin to the links page Modified: SQLObject/branches/1.3/docs/News.txt SQLObject/branches/1.3/docs/links.txt Modified: SQLObject/branches/1.3/docs/News.txt ============================================================================== --- SQLObject/branches/1.3/docs/News.txt Sun May 26 09:55:13 2013 (r4604) +++ SQLObject/branches/1.3/docs/News.txt Sun May 26 11:01:05 2013 (r4605) @@ -15,6 +15,9 @@ * Fixed bugs in pickling and unpickling (remove/restore a weak proxy to self, fixed cache handling). +* Added an example of using SQLObject with web.py by Rhubarb Sin + to the links page. + SQLObject 1.3.2 =============== Modified: SQLObject/branches/1.3/docs/links.txt ============================================================================== --- SQLObject/branches/1.3/docs/links.txt Sun May 26 09:55:13 2013 (r4604) +++ SQLObject/branches/1.3/docs/links.txt Sun May 26 11:01:05 2013 (r4605) @@ -26,6 +26,9 @@ * `Using SQLObject with memcached <http://www.zachary.com/s/blog/2005/09/18/sqlobject_and_memcached,_part_1>`_. +* `Example of using SQLObject with web.py under mod_wsgi + <https://github.com/RhubarbSin/example-sqlobject-webpy>`_. + Open Source Projects -------------------- |
From: <sub...@co...> - 2013-05-26 15:55:23
|
Author: phd Date: Sun May 26 09:55:13 2013 New Revision: 4604 Log: Merged revision 4603 from branch 1.4: fixed bugs in (un)pickling Modified: SQLObject/trunk/docs/Authors.txt SQLObject/trunk/docs/News.txt SQLObject/trunk/sqlobject/main.py SQLObject/trunk/sqlobject/tests/test_pickle.py Modified: SQLObject/trunk/docs/Authors.txt ============================================================================== --- SQLObject/trunk/docs/Authors.txt Sun May 26 09:52:50 2013 (r4603) +++ SQLObject/trunk/docs/Authors.txt Sun May 26 09:55:13 2013 (r4604) @@ -28,6 +28,7 @@ * Petr Jakes <petr.jakes at tpc.cz> * Ken Lalonde * Andrew Ziem <ahz001 at gmail.com> +* Andrew Trusty <atrusty at gatech.edu> * Oleg Broytman <ph...@ph...> .. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10 Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Sun May 26 09:52:50 2013 (r4603) +++ SQLObject/trunk/docs/News.txt Sun May 26 09:55:13 2013 (r4604) @@ -7,8 +7,12 @@ .. _start: -SQLObject (trunk) -================= +SQLObject 1.4.1 +=============== + +Released 26 May 2013. + +* A few bugfixes were ported from `SQLObject 1.3.3`_. SQLObject 1.4.0 =============== @@ -29,6 +33,14 @@ * NCHAR/NVARCHAR and N''-quoted strings for MS SQL. +SQLObject 1.3.3 +=============== + +Released 26 May 2013. + +* Fixed bugs in pickling and unpickling (remove/restore a weak proxy to self, + fixed cache handling). + SQLObject 1.3.2 =============== Modified: SQLObject/trunk/sqlobject/main.py ============================================================================== --- SQLObject/trunk/sqlobject/main.py Sun May 26 09:52:50 2013 (r4603) +++ SQLObject/trunk/sqlobject/main.py Sun May 26 09:55:13 2013 (r4604) @@ -1676,21 +1676,27 @@ if self.sqlmeta._perConnection: from pickle import PicklingError raise PicklingError('Cannot pickle an SQLObject instance that has a per-instance connection') + if self.sqlmeta.lazyUpdate and self._SO_createValues: + self.syncUpdate() d = self.__dict__.copy() del d['sqlmeta'] + del d['_SO_validatorState'] del d['_SO_writeLock'] + del d['_SO_createValues'] return d def __setstate__(self, d): self.__init__(_SO_fetch_no_create=1) + self._SO_validatorState = sqlbuilder.SQLObjectState(self) self._SO_writeLock = threading.Lock() + self._SO_createValues = {} self.__dict__.update(d) cls = self.__class__ cache = self._connection.cache if cache.tryGet(self.id, cls) is not None: raise ValueError( "Cannot unpickle %s row with id=%s - a different instance with the id already exists in the cache" % (cls.__name__, self.id)) - cache.created(id, cls, self) + cache.created(self.id, cls, self) def setterName(name): Modified: SQLObject/trunk/sqlobject/tests/test_pickle.py ============================================================================== --- SQLObject/trunk/sqlobject/tests/test_pickle.py Sun May 26 09:52:50 2013 (r4603) +++ SQLObject/trunk/sqlobject/tests/test_pickle.py Sun May 26 09:55:13 2013 (r4604) @@ -21,7 +21,9 @@ pickle_data = pickle.dumps(test, pickle.HIGHEST_PROTOCOL) connection.cache.clear() test = pickle.loads(pickle_data) + test2 = connection.cache.tryGet(test.id, TestPickle) + assert test2 is test assert test.question == test_question assert test.answer == test_answer |
From: <sub...@co...> - 2013-05-26 15:52:58
|
Author: phd Date: Sun May 26 09:52:50 2013 New Revision: 4603 Log: Merged revisions 4601, 4602 from branch 1.3: fixed bugs in (un)pickling Modified: SQLObject/branches/1.4/docs/Authors.txt SQLObject/branches/1.4/docs/News.txt SQLObject/branches/1.4/sqlobject/main.py SQLObject/branches/1.4/sqlobject/tests/test_pickle.py Modified: SQLObject/branches/1.4/docs/Authors.txt ============================================================================== --- SQLObject/branches/1.4/docs/Authors.txt Sun May 26 09:08:50 2013 (r4602) +++ SQLObject/branches/1.4/docs/Authors.txt Sun May 26 09:52:50 2013 (r4603) @@ -28,6 +28,7 @@ * Petr Jakes <petr.jakes at tpc.cz> * Ken Lalonde * Andrew Ziem <ahz001 at gmail.com> +* Andrew Trusty <atrusty at gatech.edu> * Oleg Broytman <ph...@ph...> .. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10 Modified: SQLObject/branches/1.4/docs/News.txt ============================================================================== --- SQLObject/branches/1.4/docs/News.txt Sun May 26 09:08:50 2013 (r4602) +++ SQLObject/branches/1.4/docs/News.txt Sun May 26 09:52:50 2013 (r4603) @@ -7,8 +7,12 @@ .. _start: -SQLObject (trunk) -================= +SQLObject 1.4.1 +=============== + +Released 26 May 2013. + +* A few bugfixes were ported from `SQLObject 1.3.3`_. SQLObject 1.4.0 =============== @@ -29,6 +33,14 @@ * NCHAR/NVARCHAR and N''-quoted strings for MS SQL. +SQLObject 1.3.3 +=============== + +Released 26 May 2013. + +* Fixed bugs in pickling and unpickling (remove/restore a weak proxy to self, + fixed cache handling). + SQLObject 1.3.2 =============== Modified: SQLObject/branches/1.4/sqlobject/main.py ============================================================================== --- SQLObject/branches/1.4/sqlobject/main.py Sun May 26 09:08:50 2013 (r4602) +++ SQLObject/branches/1.4/sqlobject/main.py Sun May 26 09:52:50 2013 (r4603) @@ -1676,21 +1676,27 @@ if self.sqlmeta._perConnection: from pickle import PicklingError raise PicklingError('Cannot pickle an SQLObject instance that has a per-instance connection') + if self.sqlmeta.lazyUpdate and self._SO_createValues: + self.syncUpdate() d = self.__dict__.copy() del d['sqlmeta'] + del d['_SO_validatorState'] del d['_SO_writeLock'] + del d['_SO_createValues'] return d def __setstate__(self, d): self.__init__(_SO_fetch_no_create=1) + self._SO_validatorState = sqlbuilder.SQLObjectState(self) self._SO_writeLock = threading.Lock() + self._SO_createValues = {} self.__dict__.update(d) cls = self.__class__ cache = self._connection.cache if cache.tryGet(self.id, cls) is not None: raise ValueError( "Cannot unpickle %s row with id=%s - a different instance with the id already exists in the cache" % (cls.__name__, self.id)) - cache.created(id, cls, self) + cache.created(self.id, cls, self) def setterName(name): Modified: SQLObject/branches/1.4/sqlobject/tests/test_pickle.py ============================================================================== --- SQLObject/branches/1.4/sqlobject/tests/test_pickle.py Sun May 26 09:08:50 2013 (r4602) +++ SQLObject/branches/1.4/sqlobject/tests/test_pickle.py Sun May 26 09:52:50 2013 (r4603) @@ -21,7 +21,9 @@ pickle_data = pickle.dumps(test, pickle.HIGHEST_PROTOCOL) connection.cache.clear() test = pickle.loads(pickle_data) + test2 = connection.cache.tryGet(test.id, TestPickle) + assert test2 is test assert test.question == test_question assert test.answer == test_answer |
From: <sub...@co...> - 2013-05-26 15:08:59
|
Author: phd Date: Sun May 26 09:08:50 2013 New Revision: 4602 Log: Fixed cache handling on unpickling Modified: SQLObject/branches/1.3/docs/Authors.txt SQLObject/branches/1.3/docs/News.txt SQLObject/branches/1.3/sqlobject/main.py SQLObject/branches/1.3/sqlobject/tests/test_pickle.py Modified: SQLObject/branches/1.3/docs/Authors.txt ============================================================================== --- SQLObject/branches/1.3/docs/Authors.txt Sun May 26 09:05:11 2013 (r4601) +++ SQLObject/branches/1.3/docs/Authors.txt Sun May 26 09:08:50 2013 (r4602) @@ -26,6 +26,7 @@ * Daniel Fetchinson <fetchinson at googlemail.com> * Neil Muller <drnlmuller+sqlobject at gmail.com> * Petr Jakes <petr.jakes at tpc.cz> +* Andrew Trusty <atrusty at gatech.edu> * Oleg Broytman <ph...@ph...> .. image:: http://sflogo.sourceforge.net/sflogo.php?group_id=74338&type=10 Modified: SQLObject/branches/1.3/docs/News.txt ============================================================================== --- SQLObject/branches/1.3/docs/News.txt Sun May 26 09:05:11 2013 (r4601) +++ SQLObject/branches/1.3/docs/News.txt Sun May 26 09:08:50 2013 (r4602) @@ -7,6 +7,14 @@ .. _start: +SQLObject 1.3.3 +=============== + +Released 26 May 2013. + +* Fixed bugs in pickling and unpickling (remove/restore a weak proxy to self, + fixed cache handling). + SQLObject 1.3.2 =============== Modified: SQLObject/branches/1.3/sqlobject/main.py ============================================================================== --- SQLObject/branches/1.3/sqlobject/main.py Sun May 26 09:05:11 2013 (r4601) +++ SQLObject/branches/1.3/sqlobject/main.py Sun May 26 09:08:50 2013 (r4602) @@ -1696,7 +1696,7 @@ if cache.tryGet(self.id, cls) is not None: raise ValueError( "Cannot unpickle %s row with id=%s - a different instance with the id already exists in the cache" % (cls.__name__, self.id)) - cache.created(id, cls, self) + cache.created(self.id, cls, self) def setterName(name): Modified: SQLObject/branches/1.3/sqlobject/tests/test_pickle.py ============================================================================== --- SQLObject/branches/1.3/sqlobject/tests/test_pickle.py Sun May 26 09:05:11 2013 (r4601) +++ SQLObject/branches/1.3/sqlobject/tests/test_pickle.py Sun May 26 09:08:50 2013 (r4602) @@ -21,7 +21,9 @@ pickle_data = pickle.dumps(test, pickle.HIGHEST_PROTOCOL) connection.cache.clear() test = pickle.loads(pickle_data) + test2 = connection.cache.tryGet(test.id, TestPickle) + assert test2 is test assert test.question == test_question assert test.answer == test_answer |
From: <sub...@co...> - 2013-05-26 15:05:24
|
Author: phd Date: Sun May 26 09:05:11 2013 New Revision: 4601 Log: Remove and restore _SO_validatorState and _SO_createValues Call syncUpdate and remove _SO_validatorState and _SO_createValues before pickling to avoid pickling a weak proxy to self. Restore _SO_validatorState and _SO_createValues on unpickling. Modified: SQLObject/branches/1.3/sqlobject/main.py Modified: SQLObject/branches/1.3/sqlobject/main.py ============================================================================== --- SQLObject/branches/1.3/sqlobject/main.py Sat May 18 03:36:59 2013 (r4600) +++ SQLObject/branches/1.3/sqlobject/main.py Sun May 26 09:05:11 2013 (r4601) @@ -1676,14 +1676,20 @@ if self.sqlmeta._perConnection: from pickle import PicklingError raise PicklingError('Cannot pickle an SQLObject instance that has a per-instance connection') + if self.sqlmeta.lazyUpdate and self._SO_createValues: + self.syncUpdate() d = self.__dict__.copy() del d['sqlmeta'] + del d['_SO_validatorState'] del d['_SO_writeLock'] + del d['_SO_createValues'] return d def __setstate__(self, d): self.__init__(_SO_fetch_no_create=1) + self._SO_validatorState = sqlbuilder.SQLObjectState(self) self._SO_writeLock = threading.Lock() + self._SO_createValues = {} self.__dict__.update(d) cls = self.__class__ cache = self._connection.cache |
From: <sub...@co...> - 2013-05-18 09:37:21
|
Author: phd Date: Sat May 18 03:36:59 2013 New Revision: 4600 Log: Stable version 1.4.0 Modified: SQLObject/tags/1.4.0/README.txt SQLObject/tags/1.4.0/setup.cfg SQLObject/tags/1.4.0/sqlobject/__version__.py Modified: SQLObject/tags/1.4.0/README.txt ============================================================================== --- SQLObject/tags/1.4.0/README.txt Sat May 18 03:34:24 2013 (r4599) +++ SQLObject/tags/1.4.0/README.txt Sat May 18 03:36:59 2013 (r4600) @@ -1,5 +1,5 @@ -SQLObject 1.4 -============= +SQLObject 1.4.0 +=============== Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python Modified: SQLObject/tags/1.4.0/setup.cfg ============================================================================== --- SQLObject/tags/1.4.0/setup.cfg Sat May 18 03:34:24 2013 (r4599) +++ SQLObject/tags/1.4.0/setup.cfg Sat May 18 03:36:59 2013 (r4600) @@ -5,10 +5,6 @@ [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/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt Modified: SQLObject/tags/1.4.0/sqlobject/__version__.py ============================================================================== --- SQLObject/tags/1.4.0/sqlobject/__version__.py Sat May 18 03:34:24 2013 (r4599) +++ SQLObject/tags/1.4.0/sqlobject/__version__.py Sat May 18 03:36:59 2013 (r4600) @@ -1,8 +1,8 @@ -version = '1.4' +version = '1.4.0' major = 1 minor = 4 micro = 0 -release_level = 'branch' +release_level = 'final' serial = 0 version_info = (major, minor, micro, release_level, serial) |
From: <sub...@co...> - 2013-05-18 09:34:46
|
Author: phd Date: Sat May 18 03:34:24 2013 New Revision: 4599 Log: Tagging 1.4.0 Added: SQLObject/tags/1.4.0/ - copied from r4598, SQLObject/branches/1.4/ |
From: <sub...@co...> - 2013-05-18 09:33:37
|
Author: phd Date: Sat May 18 03:33:29 2013 New Revision: 4598 Log: Merged revisions 4596, 4597 from branch 1.4 Added Ken Lalonde. SQLObject 1.4.0 was released at 18 May 2013. Modified: SQLObject/trunk/docs/Authors.txt SQLObject/trunk/docs/News.txt Modified: SQLObject/trunk/docs/Authors.txt ============================================================================== --- SQLObject/trunk/docs/Authors.txt Sat May 18 03:29:49 2013 (r4597) +++ SQLObject/trunk/docs/Authors.txt Sat May 18 03:33:29 2013 (r4598) @@ -26,6 +26,7 @@ * Daniel Fetchinson <fetchinson at googlemail.com> * Neil Muller <drnlmuller+sqlobject at gmail.com> * Petr Jakes <petr.jakes at tpc.cz> +* Ken Lalonde * Andrew Ziem <ahz001 at gmail.com> * Oleg Broytman <ph...@ph...> Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Sat May 18 03:29:49 2013 (r4597) +++ SQLObject/trunk/docs/News.txt Sat May 18 03:33:29 2013 (r4598) @@ -13,6 +13,8 @@ SQLObject 1.4.0 =============== +Released 18 May 2013. + Features & Interface -------------------- |
From: <sub...@co...> - 2013-05-18 09:29:59
|
Author: phd Date: Sat May 18 03:29:49 2013 New Revision: 4597 Log: SQLObject 1.4.0 was released at 18 May 2013 Modified: SQLObject/branches/1.4/docs/News.txt Modified: SQLObject/branches/1.4/docs/News.txt ============================================================================== --- SQLObject/branches/1.4/docs/News.txt Sat May 18 03:28:55 2013 (r4596) +++ SQLObject/branches/1.4/docs/News.txt Sat May 18 03:29:49 2013 (r4597) @@ -13,6 +13,8 @@ SQLObject 1.4.0 =============== +Released 18 May 2013. + Features & Interface -------------------- |
From: <sub...@co...> - 2013-05-18 09:29:04
|
Author: phd Date: Sat May 18 03:28:55 2013 New Revision: 4596 Log: Added Ken Lalonde Modified: SQLObject/branches/1.4/docs/Authors.txt Modified: SQLObject/branches/1.4/docs/Authors.txt ============================================================================== --- SQLObject/branches/1.4/docs/Authors.txt Sat May 4 10:04:58 2013 (r4595) +++ SQLObject/branches/1.4/docs/Authors.txt Sat May 18 03:28:55 2013 (r4596) @@ -26,6 +26,7 @@ * Daniel Fetchinson <fetchinson at googlemail.com> * Neil Muller <drnlmuller+sqlobject at gmail.com> * Petr Jakes <petr.jakes at tpc.cz> +* Ken Lalonde * Andrew Ziem <ahz001 at gmail.com> * Oleg Broytman <ph...@ph...> |
From: <sub...@co...> - 2013-05-04 16:05:06
|
Author: phd Date: Sat May 4 10:04:58 2013 New Revision: 4595 Log: Merged revision 4594 from branch 1.4: PyPI has moved to https-only Modified: SQLObject/trunk/setup.py Modified: SQLObject/trunk/setup.py ============================================================================== --- SQLObject/trunk/setup.py Sat May 4 10:03:26 2013 (r4594) +++ SQLObject/trunk/setup.py Sat May 4 10:04:58 2013 (r4595) @@ -118,7 +118,7 @@ http://news.gmane.org/gmane.comp.python.sqlobject Download: -http://pypi.python.org/pypi/SQLObject/@@ +https://pypi.python.org/pypi/SQLObject/@@ News and changes: http://sqlobject.org/docs/News.html |
From: <sub...@co...> - 2013-05-04 16:03:35
|
Author: phd Date: Sat May 4 10:03:26 2013 New Revision: 4594 Log: PyPI has moved to https-only Modified: SQLObject/branches/1.4/setup.py Modified: SQLObject/branches/1.4/setup.py ============================================================================== --- SQLObject/branches/1.4/setup.py Sat May 4 09:38:48 2013 (r4593) +++ SQLObject/branches/1.4/setup.py Sat May 4 10:03:26 2013 (r4594) @@ -118,7 +118,7 @@ http://news.gmane.org/gmane.comp.python.sqlobject Download: -http://pypi.python.org/pypi/SQLObject/@@ +https://pypi.python.org/pypi/SQLObject/@@ News and changes: http://sqlobject.org/docs/News.html |
From: <sub...@co...> - 2013-05-04 15:38:56
|
Author: phd Date: Sat May 4 09:38:48 2013 New Revision: 4593 Log: Preparing release 1.4.0 beta1 Modified: SQLObject/tags/1.4.0b1/README.txt SQLObject/tags/1.4.0b1/setup.py SQLObject/tags/1.4.0b1/sqlobject/__version__.py Modified: SQLObject/tags/1.4.0b1/README.txt ============================================================================== --- SQLObject/tags/1.4.0b1/README.txt Sat May 4 09:33:16 2013 (r4592) +++ SQLObject/tags/1.4.0b1/README.txt Sat May 4 09:38:48 2013 (r4593) @@ -1,5 +1,5 @@ -SQLObject 1.4 -============= +SQLObject 1.4.0b1 +================= Thanks for looking at SQLObject. SQLObject is an object-relational mapper, i.e., a library that will wrap your database tables in Python Modified: SQLObject/tags/1.4.0b1/setup.py ============================================================================== --- SQLObject/tags/1.4.0b1/setup.py Sat May 4 09:33:16 2013 (r4592) +++ SQLObject/tags/1.4.0b1/setup.py Sat May 4 09:38:48 2013 (r4593) @@ -56,7 +56,7 @@ author="Ian Bicking", author_email="ia...@co...", url="http://sqlobject.org/", - download_url="http://pypi.python.org/pypi/SQLObject/%s" % version, + download_url="http://pypi.python.org/pypi/SQLObject/1.4.0b1dev-r4593", license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin", "scripts/sqlobject-convertOldURI"], Modified: SQLObject/tags/1.4.0b1/sqlobject/__version__.py ============================================================================== --- SQLObject/tags/1.4.0b1/sqlobject/__version__.py Sat May 4 09:33:16 2013 (r4592) +++ SQLObject/tags/1.4.0b1/sqlobject/__version__.py Sat May 4 09:38:48 2013 (r4593) @@ -1,8 +1,8 @@ -version = '1.4' +version = '1.4.0b1' major = 1 minor = 4 micro = 0 -release_level = 'branch' -serial = 0 +release_level = 'beta' +serial = 1 version_info = (major, minor, micro, release_level, serial) |
From: <sub...@co...> - 2013-05-04 15:33:23
|
Author: phd Date: Sat May 4 09:33:16 2013 New Revision: 4592 Log: Tagging 1.4.0b1 Added: SQLObject/tags/1.4.0b1/ - copied from r4591, SQLObject/branches/1.4/ |
From: <sub...@co...> - 2013-05-04 15:29:12
|
Author: phd Date: Sat May 4 09:29:04 2013 New Revision: 4591 Log: Merged revision 4590 from branch 1.4: changed email template -- moved "What's new" to the top Modified: SQLObject/trunk/setup.py Modified: SQLObject/trunk/setup.py ============================================================================== --- SQLObject/trunk/setup.py Sat May 4 09:26:57 2013 (r4590) +++ SQLObject/trunk/setup.py Sat May 4 09:29:04 2013 (r4591) @@ -83,6 +83,16 @@ """ @@ INTRO + +What's new in SQLObject +======================= + +@@ CHANGES + +For a more complete list, please see the news: +http://sqlobject.org/docs/News.html + + What is SQLObject ================= @@ -94,6 +104,7 @@ through the `psycopg` package, SQLite, Firebird, MaxDB (SAP DB), MS SQL Sybase and Rdbhost. It should support Python versions back to 2.4. + Where is SQLObject ================== @@ -112,15 +123,6 @@ News and changes: http://sqlobject.org/docs/News.html - -What's New -========== - -@@ CHANGES - -For a more complete list, please see the news: -http://sqlobject.org/docs/News.html - -- Ian Bicking / ia...@co... / http://blog.ianbicking.org """ |
From: <sub...@co...> - 2013-05-04 15:27:08
|
Author: phd Date: Sat May 4 09:26:57 2013 New Revision: 4590 Log: Changed email template -- moved "What's new" to the top Modified: SQLObject/branches/1.4/setup.py Modified: SQLObject/branches/1.4/setup.py ============================================================================== --- SQLObject/branches/1.4/setup.py Fri May 3 08:01:49 2013 (r4589) +++ SQLObject/branches/1.4/setup.py Sat May 4 09:26:57 2013 (r4590) @@ -83,6 +83,16 @@ """ @@ INTRO + +What's new in SQLObject +======================= + +@@ CHANGES + +For a more complete list, please see the news: +http://sqlobject.org/docs/News.html + + What is SQLObject ================= @@ -94,6 +104,7 @@ through the `psycopg` package, SQLite, Firebird, MaxDB (SAP DB), MS SQL Sybase and Rdbhost. It should support Python versions back to 2.4. + Where is SQLObject ================== @@ -112,15 +123,6 @@ News and changes: http://sqlobject.org/docs/News.html - -What's New -========== - -@@ CHANGES - -For a more complete list, please see the news: -http://sqlobject.org/docs/News.html - -- Ian Bicking / ia...@co... / http://blog.ianbicking.org """ |
From: <sub...@co...> - 2013-05-03 14:01:57
|
Author: phd Date: Fri May 3 08:01:49 2013 New Revision: 4589 Log: The trunk will become SQLObject 1.5 Modified: SQLObject/trunk/README.txt SQLObject/trunk/sqlobject/__version__.py Modified: SQLObject/trunk/README.txt ============================================================================== --- SQLObject/trunk/README.txt Fri May 3 08:00:28 2013 (r4588) +++ SQLObject/trunk/README.txt Fri May 3 08:01:49 2013 (r4589) @@ -1,4 +1,4 @@ -SQLObject 1.4 +SQLObject 1.5 ============= Thanks for looking at SQLObject. SQLObject is an object-relational Modified: SQLObject/trunk/sqlobject/__version__.py ============================================================================== --- SQLObject/trunk/sqlobject/__version__.py Fri May 3 08:00:28 2013 (r4588) +++ SQLObject/trunk/sqlobject/__version__.py Fri May 3 08:01:49 2013 (r4589) @@ -1,7 +1,7 @@ -version = '1.4' +version = '1.5' major = 1 -minor = 4 +minor = 5 micro = 0 release_level = 'trunk' serial = 0 |
From: <sub...@co...> - 2013-05-03 14:00:37
|
Author: phd Date: Fri May 3 08:00:28 2013 New Revision: 4588 Log: Stable branch 1.4. Modified: SQLObject/branches/1.4/setup.py SQLObject/branches/1.4/sqlobject/__version__.py Modified: SQLObject/branches/1.4/setup.py ============================================================================== --- SQLObject/branches/1.4/setup.py Fri May 3 07:57:49 2013 (r4587) +++ SQLObject/branches/1.4/setup.py Fri May 3 08:00:28 2013 (r4588) @@ -55,7 +55,7 @@ ], author="Ian Bicking", author_email="ia...@co...", - url="http://sqlobject.org/devel/", + url="http://sqlobject.org/", download_url="http://pypi.python.org/pypi/SQLObject/%s" % version, license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], Modified: SQLObject/branches/1.4/sqlobject/__version__.py ============================================================================== --- SQLObject/branches/1.4/sqlobject/__version__.py Fri May 3 07:57:49 2013 (r4587) +++ SQLObject/branches/1.4/sqlobject/__version__.py Fri May 3 08:00:28 2013 (r4588) @@ -3,6 +3,6 @@ major = 1 minor = 4 micro = 0 -release_level = 'trunk' +release_level = 'branch' serial = 0 version_info = (major, minor, micro, release_level, serial) |
From: <sub...@co...> - 2013-05-03 13:57:56
|
Author: phd Date: Fri May 3 07:57:49 2013 New Revision: 4587 Log: Branch 1.4 Added: SQLObject/branches/1.4/ - copied from r4586, SQLObject/trunk/ |
From: <sub...@co...> - 2013-05-03 13:57:10
|
Author: phd Date: Fri May 3 07:57:01 2013 New Revision: 4586 Log: Preparing for SQLObject 1.4. Modified: SQLObject/trunk/docs/News.txt Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Sun Apr 28 04:50:18 2013 (r4585) +++ SQLObject/trunk/docs/News.txt Fri May 3 07:57:01 2013 (r4586) @@ -10,6 +10,9 @@ SQLObject (trunk) ================= +SQLObject 1.4.0 +=============== + Features & Interface -------------------- |
From: <sub...@co...> - 2013-04-28 10:50:29
|
Author: phd Date: Sun Apr 28 04:50:18 2013 New Revision: 4585 Log: NCHAR/NVARCHAR and N''-quoted strings for MS SQL [closes bugs 277, 278, 279] Modified: SQLObject/trunk/docs/News.txt SQLObject/trunk/sqlobject/col.py Modified: SQLObject/trunk/docs/News.txt ============================================================================== --- SQLObject/trunk/docs/News.txt Sat Apr 20 04:24:27 2013 (r4584) +++ SQLObject/trunk/docs/News.txt Sun Apr 28 04:50:18 2013 (r4585) @@ -22,6 +22,8 @@ * Changed the way to get if the table has identity in MS SQL. +* NCHAR/NVARCHAR and N''-quoted strings for MS SQL. + SQLObject 1.3.2 =============== Modified: SQLObject/trunk/sqlobject/col.py ============================================================================== --- SQLObject/trunk/sqlobject/col.py Sat Apr 20 04:24:27 2013 (r4584) +++ SQLObject/trunk/sqlobject/col.py Sun Apr 28 04:50:18 2013 (r4585) @@ -474,7 +474,7 @@ if self.connection and self.connection.can_use_max_types(): type = 'VARCHAR(MAX)' else: - type = 'varchar(4000)' + type = 'VARCHAR(4000)' elif self.varchar: type = 'VARCHAR(%i)' % self.length else: @@ -533,6 +533,17 @@ class StringCol(Col): baseClass = SOStringCol + +class NQuoted(sqlbuilder.SQLExpression): + def __init__(self, value): + assert isinstance(value, unicode) + self.value = value + def __hash__(self): + return hash(self.value) + def __sqlrepr__(self, db): + assert db == 'mssql' + return "N" + sqlbuilder.sqlrepr(self.value, db) + class UnicodeStringValidator(validators.Validator): def getDbEncoding(self, state): @@ -561,6 +572,13 @@ if isinstance(value, (str, sqlbuilder.SQLExpression)): return value if isinstance(value, unicode): + try: + connection = state.connection or state.soObject._connection + except AttributeError: + pass + else: + if connection.dbName == 'mssql': + return NQuoted(value) return value.encode(self.getDbEncoding(state)) if hasattr(value, '__unicode__'): return unicode(value).encode(self.getDbEncoding(state)) @@ -572,6 +590,11 @@ self.dbEncoding = kw.pop('dbEncoding', None) super(SOUnicodeCol, self).__init__(**kw) + def _mssqlType(self): + if self.customSQLType is not None: + return self.customSQLType + return 'N' + super(SOUnicodeCol, self)._mssqlType() + def createValidators(self): return [UnicodeStringValidator(name=self.name, soCol=self)] + \ super(SOUnicodeCol, self).createValidators() |