User: Password:
Subscribe / Log in / New account

blist 1.0.2 released

From:  Daniel Stutzbach <>
Subject:  ANN: blist 1.0.2
Date:  Sun, 1 Nov 2009 12:52:03 -0500
Message-ID:  <>
Archive-link:  Article

blist 1.0.2 is now available:

What is blist?

The blist is a type that looks, acts, and quacks like a Python list, but has
better asymptotic performance when inserting or deleting elements (O(log
n)). For small lists, blists and the built-in list have very similar
performance.  The blist also features copy-on-write behavior, so copying or
taking large slices from a list is inexpensive.

What's new?

blist version 1.0.2 includes two important bug fixes:

- Fixed a crash in the .index method, which was not properly sanitizing the
optional arguments.
- Fixed a possible crash when modifying the blist during iteration

Other changes include:

- Changed int to Py_ssize_t in several places for better 64-bit hygiene
- Removed some over-zealous assertion checks that were causing crashes in
oddball (but legal!) cases in debug builds
- Ported tests to run under Python 2.6 and Python 3.1 (but no longer Python
- Got rid of warnings on non-ix86 platforms

Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <>

        Support the Python Software Foundation:

(Log in to post comments)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds