Vlad Riscutia <riscutiav...@gmail.com> added the comment: Updated patch to reflect review feedback. Allocation strategy is now specified as string in Python code.
I kept asserts in CanContinueField/CanExpandField because, as I said, default case should never be hit. Input is validated in stgdict and this should make it clear to whoever reads the code that something is very wrong if execution gets to default case. ---------- Added file: http://bugs.python.org/file22728/configurable_bitfield_allocation_v2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12528> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com