Skip to content

Commit 91ae6cb

Browse files
committed
Python 3 fixs: imports, prints, etc
1 parent f99ee9c commit 91ae6cb

18 files changed

+2646
-1479
lines changed

CREDITS.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ Contributors
1616
* Andrew Straw : the Von Mises distribution and code to strip trailing whitespace.
1717
* Max Nickel : A bugfix in the Raftery-Lewis convergence diagnostic
1818
* Joonas Paalasmaa : Fixed an installation bug
19-
* Nicholas Matsakis : Changed typographer's quotes to straight quotes in documentation
19+
* Nicholas Matsakis : Changed typographer's quotes to straight quotes in documentation
20+
* Nick Ward : Fixed breaking behaviour for Python 3

pymc/Container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ def __init__(self):
3838
from .Node import Node, ContainerBase, Variable, StochasticBase, DeterministicBase, PotentialBase, ContainerRegistry
3939
from copy import copy
4040
from numpy import ndarray, array, zeros, shape, arange, where, dtype, Inf
41-
from pymc.Container_values import LCValue, DCValue, ACValue, OCValue
41+
from .Container_values import LCValue, DCValue, ACValue, OCValue
4242
from types import ModuleType
4343
import pdb
4444

45-
from pymc import six
45+
from . import six
4646
xrange = six.moves.xrange
4747

4848
__all__ = ['Container', 'DictContainer', 'TupleContainer', 'ListContainer', 'SetContainer', 'ObjectContainer', 'ArrayContainer']

0 commit comments

Comments
 (0)