lp://staging/~cjwatson/storm/py3-listify-resultset

Created by Colin Watson and last modified
Get this branch:
bzr branch lp://staging/~cjwatson/storm/py3-listify-resultset
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
Storm
Status:
Merged

Recent revisions

555. By Colin Watson

Allow SQLObjectResultSet.__len__ too.

554. By Colin Watson

Fix list() on security-proxied ResultSets on Python 3.

On Python 3, list() calls len() internally to preallocate the correct
amount of space if possible. If __len__ is unimplemented, then it falls
back to guessing, but ForbiddenAttribute confuses it and results in
failing to create the list. Allowing __len__ through the security
proxy, even though it's unimplemented, avoids this.

(We don't want to implement ResultSet.__len__ in terms of
ResultSet.count because it would make it too easy to write code that
implicitly issued extra SQL queries. On the other hand,
EmptyResultSet.__len__ can trivially be implemented, so do so here.)

553. By Colin Watson

Add basic tests for security-wrapped result sets.

552. By Colin Watson

Bump version to 0.23.0.99.

551. By Colin Watson

Release Storm 0.23.

550. By Colin Watson

Add a couple more bug numbers to NEWS.

549. By Colin Watson

Update ZCML for BoundReferenceSet to include __getitem__ and is_empty. [r=twom]

548. By Colin Watson

Implement is_empty on bound ReferenceSets. [r=twom]

547. By Colin Watson

Return self from EmptyResultSet.config() to match ResultSet. [r=free.ekanayaka,cjwatson]

546. By Colin Watson

A new block_access context manager blocks database access for one or more stores in the managed scope. [r=cjwatson]

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/storm
This branch contains Public information 
Everyone can see this information.

Subscribers