Jurjen N. E. Bos
Jurjen N. E. Bos
Strange. The errors are all on python 2.6. I thought this wasn't supported anymore. Anyway, I'll make a fix to make it work even if bit_length is not available.
In that case, it is better to pull 001eb877c3e615804fe41cb59120d367ee65ef29 instead of 249ce5540caa080abf381a6c7839274980ccd8a9, saving seven lines of code and a try block :-).
Good point. I went for readability, and the fact that this solution already does 95% of the gain that you could get. But indeed, a load time check would give...
Let's see if this works. If it does, we'll get incredible speed for size and GCD as they contain no Python code whatsoever :-)
Sorry, I meant _checking for negative numbers_ before calling .bit_length() would really slow the code down.
So this is all works and calls the native routines _directly_ for size and GCD!
I just made pull request #484 that addresses this issue and does two more improvements.
I had a good look at this, and the problem is with the font files. If a font name is exactly 8 characters and has a _ in it, it...
Oops, I forget the control characters; that is fixed now. Here's a file that can replace 5x8.flf (don't forget to remove the .txt ending) [5x8.flf.txt](https://github.com/pwaller/pyfiglet/files/3157423/5x8.flf.txt)
I just learnt this week how to do that. Nice Christmas activity :-) Jurjen Op vr 13 dec. 2019 21:11 schreef Peter Waller : > Thanks, are you able to...