Open edransjsuarez opened 5 years ago
Hi @GlieseRay:
Please take a look at this again... and use 3.6
, home-brew defaults to 3.7
now.
Update:
Here's what's in py3.6's string.Template:
# r'[a-z]' matches to non-ASCII letters when used with IGNORECASE,
# but without ASCII flag. We can't add re.ASCII to flags because of
# backward compatibility. So we use local -i flag and [a-zA-Z] pattern.
# See https://bugs.python.org/issue31672
idpattern = r'(?-i:[_a-zA-Z][_a-zA-Z0-9]*)'
So, I'm changing this to:
r'(?-i:[a-zA-Z_][-a-zA-Z0-9_]*\.[a-zA-Z_][-a-zA-Z0-9_]*\.[a-zA-Z_][-a-zA-Z0-9_]*)'
Note this fix does not work with 2.7
yet.
@Kotaimen will change the implementation in next release to accommodate both 2.7 and 3.6
Hi,
Testing the new version 2.1.5::
Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic Python 3.6.7 pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
Regards, Jesús A Suárez