Skip to content

Segmentation Fault when casted to int #10

@D3f0

Description

@D3f0

I thought I would get a zero from this code, but an segfault is raised

>>> from bitarray import bitarray
>>> b = bitarray()
>>> int(b)
[1]    23442 segmentation fault (core dumped)  python

Tested in python 2.7.3 on arch linux 64 bit, installed though pip.

I came across this lib in http://kmike.ru/python-data-structures/ and got interested since it could replace bitfield in my projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions