lp:~cjwatson/storm/py3-dict

Created by Colin Watson and last modified
Get this branch:
bzr branch lp:~cjwatson/storm/py3-dict
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

511. By Colin Watson

Handle Python 3's changes to dict iteration methods.

In most cases I opted for a somewhat pedantic translation of d.iterfoo() to
six.iterfoo(d) and d.foo() to list(six.iterfoo(d)), since there are enough
cases where this matters either for performance or to avoid iterating over a
dictionary while modifying it that it's simplest to be consistent.

There were a few cases where the Python 2 code was iterating over something
like d.items() when it didn't need to do a copy; I left those cases alone,
since they'll just become slightly more efficient under Python 3.

510. By Thiago Bellini

Use Python 3-compatible raise syntax. [r=simpoir]

509. By Colin Watson

Wrap DB-API exceptions rather than injecting virtual base classes. [r=simpoir]

508. By Colin Watson

Rename double-underscore identifiers in C extensions. [r=simpoir]

507. By Colin Watson

Import from six.moves where appropriate. [r=simpoir]

506. By Thiago Bellini

Use Python 3-compatible exec functions. [r=cjwatson]

505. By Martin v. Löwis

Make cextensions module build with 3.x. [r=cjwatson]

504. By Thiago Bellini

Use sys.maxsize rather than sys.maxint. [r=cjwatson]

503. By Colin Watson

Fix reversed logic for (no)cextensions factors in tox.ini. [r=simpoir]

502. By Colin Watson

Stop ZStormTest leaving files in the current directory. [r=simpoir]

Branch metadata

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

Subscribers