<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/test/base/dependency.py, branch 2020_tutorial</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>- unit tests have been migrated from unittest to nose.</title>
<updated>2009-06-10T21:18:24+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2009-06-10T21:18:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=45cec095b4904ba71425d2fe18c143982dd08f43'/>
<id>45cec095b4904ba71425d2fe18c143982dd08f43</id>
<content type='text'>
See README.unittests for information on how to run
the tests.  [ticket:970]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See README.unittests for information on how to run
the tests.  [ticket:970]
</pre>
</div>
</content>
</entry>
<entry>
<title>slight cleanup i want in 0.5/0.6</title>
<updated>2009-05-31T21:27:56+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2009-05-31T21:27:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c84dd331df47a55bd0650686644da050311135f3'/>
<id>c84dd331df47a55bd0650686644da050311135f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Removed 2.3 set emulations/enhancements.</title>
<updated>2008-07-15T19:23:52+00:00</updated>
<author>
<name>Jason Kirtland</name>
<email>jek@discorporate.us</email>
</author>
<published>2008-07-15T19:23:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=8fa48edbf9d84093152aced94fc1eb7996b9827f'/>
<id>8fa48edbf9d84093152aced94fc1eb7996b9827f</id>
<content type='text'>
  (sets.Set-based collections &amp; DB-API returns still work.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  (sets.Set-based collections &amp; DB-API returns still work.)
</pre>
</div>
</content>
</entry>
<entry>
<title>r4695 merged to trunk; trunk now becomes 0.5.</title>
<updated>2008-05-09T16:34:10+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2008-05-09T16:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=4a6afd469fad170868554bf28578849bf3dfd5dd'/>
<id>4a6afd469fad170868554bf28578849bf3dfd5dd</id>
<content type='text'>
0.4 development continues at /sqlalchemy/branches/rel_0_4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
0.4 development continues at /sqlalchemy/branches/rel_0_4
</pre>
</div>
</content>
</entry>
<entry>
<title>- updated the naming scheme of the base test classes in test/testlib/testing.py;</title>
<updated>2008-02-11T00:28:39+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2008-02-11T00:28:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c0b5a0446bf63bdac664421f49742f1156c1911a'/>
<id>c0b5a0446bf63bdac664421f49742f1156c1911a</id>
<content type='text'>
tests extend from either TestBase or ORMTest, using additional mixins for
special assertion methods as needed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests extend from either TestBase or ORMTest, using additional mixins for
special assertion methods as needed
</pre>
</div>
</content>
</entry>
<entry>
<title>- testbase is gone, replaced by testenv</title>
<updated>2008-01-12T22:03:42+00:00</updated>
<author>
<name>Jason Kirtland</name>
<email>jek@discorporate.us</email>
</author>
<published>2008-01-12T22:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=17d3c8764e020379e54053bca0b0a2bc71d48aa0'/>
<id>17d3c8764e020379e54053bca0b0a2bc71d48aa0</id>
<content type='text'>
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed test which didnt pass along 'allitems' collection to the sort...</title>
<updated>2007-12-08T19:15:12+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2007-12-08T19:15:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1b1f8d78dfe3a83cee1353fbdfe722bc1713124f'/>
<id>1b1f8d78dfe3a83cee1353fbdfe722bc1713124f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- flush() refactor merged from uow_nontree branch r3871-r3885</title>
<updated>2007-12-08T18:58:03+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2007-12-08T18:58:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=8693d4b2876e9239cf48bbc42a7ffaa11c01b506'/>
<id>8693d4b2876e9239cf48bbc42a7ffaa11c01b506</id>
<content type='text'>
- topological.py cleaned up, presents three public facing functions which
return list/tuple based structures, without exposing any internals.  only
the third function returns the "hierarchical" structure.  when results
include "cycles" or "child" items, 2- or 3- tuples are used to represent
results.
- unitofwork uses InstanceState almost exclusively now.  new and deleted lists
are now dicts which ref the actual object to provide a strong ref for the
duration that they're in those lists.  IdentitySet is only used for the public
facing versions of "new" and "deleted".
- unitofwork topological sort no longer uses the "hierarchical" version of the sort
for the base sort, only for the "per-object" secondary sort where it still
helps to group non-dependent operations together and provides expected insert
order.  the default sort deals with UOWTasks in a straight list and is greatly
simplified.  Tests all pass but need to see if svilen's stuff still works,
one block of code in _sort_cyclical_dependencies() seems to not be needed anywhere
but i definitely put it there for a reason at some point; if not hopefully we
can derive more test coverage from that.
- the UOWEventHandler is only applied to object-storing attributes, not
scalar (i.e. column-based) ones.  cuts out a ton of overhead when setting
non-object based attributes.
- InstanceState also used throughout the flush process, i.e. dependency.py,
mapper.save_obj()/delete_obj(), sync.execute() all expect InstanceState objects
in most cases now.
- mapper/property cascade_iterator() takes InstanceState as its argument,
but still returns lists of object instances so that they are not dereferenced.
- a few tricks needed when dealing with InstanceState, i.e. when loading a list
of items that are possibly fresh from the DB, you *have* to get the actual objects
into a strong-referencing datastructure else they fall out of scope immediately.
dependency.py caches lists of dependent objects which it loads now (i.e. history
collections).
- AttributeHistory is gone, replaced by a function that returns a 3-tuple of
added, unchanged, deleted.  these collections still reference the object
instances directly for the strong-referencing reasons mentiontioned, but
it uses less IdentitySet logic to generate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- topological.py cleaned up, presents three public facing functions which
return list/tuple based structures, without exposing any internals.  only
the third function returns the "hierarchical" structure.  when results
include "cycles" or "child" items, 2- or 3- tuples are used to represent
results.
- unitofwork uses InstanceState almost exclusively now.  new and deleted lists
are now dicts which ref the actual object to provide a strong ref for the
duration that they're in those lists.  IdentitySet is only used for the public
facing versions of "new" and "deleted".
- unitofwork topological sort no longer uses the "hierarchical" version of the sort
for the base sort, only for the "per-object" secondary sort where it still
helps to group non-dependent operations together and provides expected insert
order.  the default sort deals with UOWTasks in a straight list and is greatly
simplified.  Tests all pass but need to see if svilen's stuff still works,
one block of code in _sort_cyclical_dependencies() seems to not be needed anywhere
but i definitely put it there for a reason at some point; if not hopefully we
can derive more test coverage from that.
- the UOWEventHandler is only applied to object-storing attributes, not
scalar (i.e. column-based) ones.  cuts out a ton of overhead when setting
non-object based attributes.
- InstanceState also used throughout the flush process, i.e. dependency.py,
mapper.save_obj()/delete_obj(), sync.execute() all expect InstanceState objects
in most cases now.
- mapper/property cascade_iterator() takes InstanceState as its argument,
but still returns lists of object instances so that they are not dereferenced.
- a few tricks needed when dealing with InstanceState, i.e. when loading a list
of items that are possibly fresh from the DB, you *have* to get the actual objects
into a strong-referencing datastructure else they fall out of scope immediately.
dependency.py caches lists of dependent objects which it loads now (i.e. history
collections).
- AttributeHistory is gone, replaced by a function that returns a 3-tuple of
added, unchanged, deleted.  these collections still reference the object
instances directly for the strong-referencing reasons mentiontioned, but
it uses less IdentitySet logic to generate.
</pre>
</div>
</content>
</entry>
<entry>
<title>changed the anonymous numbering scheme to be more appealing</title>
<updated>2007-12-08T18:38:18+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2007-12-08T18:38:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=78bb82a44b7f382c6cfeab0cfc7f932e68c4de86'/>
<id>78bb82a44b7f382c6cfeab0cfc7f932e68c4de86</id>
<content type='text'>
got tests running
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
got tests running
</pre>
</div>
</content>
</entry>
<entry>
<title>merging 0.4 branch to trunk.  see CHANGES for details.  0.3 moves to maintenance branch in branches/rel_0_3.</title>
<updated>2007-07-27T04:08:53+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2007-07-27T04:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=ed4fc64bb0ac61c27bc4af32962fb129e74a36bf'/>
<id>ed4fc64bb0ac61c27bc4af32962fb129e74a36bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
