From 4233536ab4109371e1de12ef4b71dd3cf20ee345 Mon Sep 17 00:00:00 2001 From: xywei Date: Sun, 20 Oct 2019 13:03:40 -0500 Subject: [PATCH 1/2] Py2 fixes using unicode_literals --- modepy/quadrature/clenshaw_curtis.py | 2 +- modepy/quadrature/jacobi_gauss.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modepy/quadrature/clenshaw_curtis.py b/modepy/quadrature/clenshaw_curtis.py index f8d5b7f..fa35e92 100644 --- a/modepy/quadrature/clenshaw_curtis.py +++ b/modepy/quadrature/clenshaw_curtis.py @@ -1,4 +1,4 @@ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, unicode_literals __copyright__ = "Copyright (C) 2019 Xiaoyu Wei" diff --git a/modepy/quadrature/jacobi_gauss.py b/modepy/quadrature/jacobi_gauss.py index 07d85ad..90829c6 100644 --- a/modepy/quadrature/jacobi_gauss.py +++ b/modepy/quadrature/jacobi_gauss.py @@ -1,4 +1,4 @@ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, unicode_literals __copyright__ = "Copyright (C) 2007 Andreas Kloeckner" -- GitLab From 7bc5c1b158ba778e98c6f995ae2c365dfdb618aa Mon Sep 17 00:00:00 2001 From: xywei Date: Sun, 20 Oct 2019 13:30:14 -0500 Subject: [PATCH 2/2] Fixes --- modepy/quadrature/clenshaw_curtis.py | 1 + modepy/quadrature/jacobi_gauss.py | 1 + 2 files changed, 2 insertions(+) diff --git a/modepy/quadrature/clenshaw_curtis.py b/modepy/quadrature/clenshaw_curtis.py index fa35e92..1dbcd77 100644 --- a/modepy/quadrature/clenshaw_curtis.py +++ b/modepy/quadrature/clenshaw_curtis.py @@ -1,3 +1,4 @@ +# coding=utf-8 from __future__ import division, absolute_import, unicode_literals __copyright__ = "Copyright (C) 2019 Xiaoyu Wei" diff --git a/modepy/quadrature/jacobi_gauss.py b/modepy/quadrature/jacobi_gauss.py index 90829c6..64c4f4e 100644 --- a/modepy/quadrature/jacobi_gauss.py +++ b/modepy/quadrature/jacobi_gauss.py @@ -1,3 +1,4 @@ +# coding=utf-8 from __future__ import division, absolute_import, unicode_literals __copyright__ = "Copyright (C) 2007 Andreas Kloeckner" -- GitLab