Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
bebb2727
Commit
bebb2727
authored
Jan 07, 2019
by
Martin Reinecke
Browse files
de-futurization, part 1
parent
8189bc41
Changes
14
Hide whitespace changes
Inline
Side-by-side
nifty5/compat.py
View file @
bebb2727
from
__future__
import
absolute_import
,
division
,
print_function
from
builtins
import
(
ascii
,
bytes
,
chr
,
dict
,
filter
,
hex
,
input
,
map
,
next
,
oct
,
open
,
pow
,
range
,
round
,
super
,
zip
)
...
...
nifty5/dobj.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
from
.compat
import
*
try
:
...
...
nifty5/domain_tuple.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
from
.
import
utilities
from
.compat
import
*
from
.domains.domain
import
Domain
...
...
nifty5/extra.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
import
numpy
as
np
from
.compat
import
*
...
...
nifty5/fft.py
View file @
bebb2727
from
__future__
import
absolute_import
,
division
,
print_function
from
.utilities
import
iscomplextype
import
numpy
as
np
...
...
nifty5/field.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
import
numpy
as
np
from
.
import
dobj
,
utilities
...
...
nifty5/linearization.py
View file @
bebb2727
from
__future__
import
absolute_import
,
division
,
print_function
import
numpy
as
np
from
.compat
import
*
...
...
nifty5/logger.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
from
.compat
import
*
...
...
nifty5/multi_domain.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
from
.compat
import
*
from
.domain_tuple
import
DomainTuple
from
.utilities
import
frozendict
,
indent
...
...
nifty5/multi_field.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
import
numpy
as
np
from
.
import
utilities
...
...
nifty5/plot.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
import
os
import
numpy
as
np
...
...
nifty5/probing.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
from
.compat
import
*
from
.field
import
Field
...
...
nifty5/sugar.py
View file @
bebb2727
...
...
@@ -16,8 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
import
sys
import
numpy
as
np
...
...
nifty5/utilities.py
View file @
bebb2727
...
...
@@ -16,13 +16,10 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
absolute_import
,
division
,
print_function
import
collections
from
itertools
import
product
import
numpy
as
np
from
future.utils
import
with_metaclass
from
.compat
import
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment