Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
calling this 0.4.2a
Tags
rel_0_4_2a
Mike Bayer
- fixed fairly critical bug whereby the same instance could be listed more than once in the unitofwork.new collection; most typically reproduced when using a combination of inheriting mappers and ScopedSession.mapper, as the multiple __init__ calls per instance could save() the object with distinct _state objects
jason kirtland
Experimental: modestly more informative repr() for some expressions (using .description)
jason kirtland
Migrated a few in-function 'from x import y' to the 'global x; if x is None' style.
jason kirtland
Refined bulk-assignment aspects of the r3999 in-place collection operator fix. Also? r4000!
jason kirtland
Fixed in-place set mutation operator support [ticket:920]
jason kirtland
Added REPLACE statements to mysql autocommit list.
Mike Bayer
func unittest fix
Mike Bayer
fix select tests for labeled functions
Mike Bayer
add anonymous labels to function calls
Ants Aasma
fix not calling the result processor of PGArray subtypes. (a rather embarrasing copypaste error) [ticket:913]
Mike Bayer
- added very rudimentary yielding iterator behavior to Query. Call query.yield_per(<number of rows>) and evaluate the Query in an iterative context; every collection of N rows will be packaged up and yielded. Use this method with extreme caution since it does not attempt to reconcile eagerly loaded collections across result batch boundaries, nor will it behave nicely if the same instance occurs in more than one batch. This means that an eagerly loaded collectio…
Mike Bayer
fix weakref issue seen on one buildbot test
Tags
rel_0_4_2
Mike Bayer
- further fix to new TypeDecorator, so that subclasses of TypeDecorators work properly - _handle_dbapi_exception() usage changed so that unwrapped exceptions can be rethrown with the original stack trace
Mike Bayer
happy new year
Mike Bayer
fix to new TypeDecorator
Mike Bayer
fix up oracle handling of LOB/string [ticket:902], slight fixes to defaults.py but we will need to fix up result-type handling some more
Mike Bayer
filter() criterion takes mapper equivalent_columns into account when it adapts to select_table. more to come in [ticket:917] .
Mike Bayer
remove "is None" from boolean tests
Mike Bayer
limit scope of try/except
Mike Bayer
use long for query runid counter
Mike Bayer
- added is_disconnect() support for oracle - fixed _handle_dbapi_error to detect endless loops, doesn't call rollback/cursor.close etc. in case of disconnect
Mike Bayer
- mapped classes which extend "object" and do not provide an __init__() method will now raise TypeError if non-empty *args or **kwargs are present at instance construction time (and are not consumed by any extensions such as the scoped_session mapper), consistent with the behavior of normal Python classes [ticket:908]
Mike Bayer
- fixed Query bug when filter_by() compares a relation against None [ticket:899]
Mike Bayer
- MapperExtension.before_update() and after_update() are now called symmetrically; previously, an instance that had no modified column attributes (but had a relation() modification) could be called with before_update() but not after_update() [ticket:907]
Mike Bayer
- fixed session.refresh() with instance that has custom entity_name [ticket:914]
Mike Bayer
some rudimentary fixes to get instance-level deferreds/lazy loads to transfer over on merge()
Mike Bayer
cruft ! who knew
Mike Bayer
added assertion for expiry's current inability to detect a PK switch in the DB
Mike Bayer
- disabled the "populate expired/deferred attributes as we come across them" functionality in mapper._instance(), as its not completed, doesn't properly handle mutable scalar attributes, and has poor test coverage
  1. Prev
  2. Next