python-excel/xlrd — pull request #9 by jaymzcd (2012-06-11 11:09:43+00:00)
Title: Add XL_CELL_NUMBER to xlrd __init__

I tracked down a failure to open/write an excel file on a webapp we've built to a missing import. We were using the latest versions from git for xlrd, xlutils & xlwt.

The stack trace was:

---> 14 from xlutils.copy import copy
----> 7 from xlutils.filter import process,XLRDReader,XLWTWriter
---> 16 from xlutils.margins import cells_all_junk
---> 10 from xlrd import open_workbook, XL_CELL_EMPTY, XL_CELL_TEXT, XL_CELL_NUMBER

ImportError: cannot import name XL_CELL_NUMBER

When I checked the xlrd __init__ it had a `from bffi import XL_...` but CELL_NUMBER was missing, which xlutils is looking to import in [all cases](https://github.com/python-excel/xlutils/blob/master/xlutils/margins.py#L5) in margins.py.