#288 Fix python3 incompatible syntax
Merged by puiterwijk. Opened by puiterwijk.
puiterwijk/ipsilon py3syntax  into  master

Download 288.patch

Interesting, I wasn't familiar with this syntax, but it looks good:

>>> 0o700
448
>>> 0b111000000
448

LGTM

Python2 implied that you meant octal numbers when you prefix with a 0, but python3 considers that a syntax error, because it wants you to explicitly say it's octal with "0o", just like "0x".

Commit 4f554db8 fixes this pull-request

Pull-Request has been merged by patrick@puiterwijk.org

Metadata