Closed eldipa closed 3 years ago
Hi, thanks for letting me know about these. I should really have the docs examples all in the unit tests to catch these regressions.
Only documentation issues I think though (but that exception message could be clearer).
Thanks! I'm glad to contributed even if it was just a little.
Fixed in 3.1-update branch.
I found two bugs in the README.
The first is a minor issue: the README shows one output but another is obtained:
The value returned from the last expression is
BitArray('0x1af1af1af, 0b100')
instead ofBitArray('0o0657056705674')
as it is expected.The other issue is more severe (also in the README):
The code fails with the following exception:
I tested these snippets with the latest version (
3.1.7
) and with the version of master (2643ac3a), both with Python 3.5.3.For the record, I used byexample for testing:
Disclaimer: I'm the author of
byexample
so I'm doing a little of marketing here. Nevertheless I tested the two snippets in a Python console and both issues exist.