User: Password:
|
|
Subscribe / Log in / New account

blist 1.0.2 released

From:  Daniel Stutzbach <daniel-AT-stutzbachenterprises.com>
To:  python-announce-list-AT-python.org, python-list-AT-python.org
Subject:  ANN: blist 1.0.2
Date:  Sun, 1 Nov 2009 12:52:03 -0500
Message-ID:  <eae285400911010952t24e0003fnc1bdedc1226db0d0@mail.gmail.com>
Archive-link:  Article

blist 1.0.2 is now available:

        http://pypi.python.org/pypi/blist/

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
2.5)
- Got rid of warnings on non-ix86 platforms

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations/



(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