Author: Amaury Forgeot d'Arc <[email protected]>
Branch: decimal-libmpdec
Changeset: r73810:0bde01cb23ae
Date: 2014-10-01 19:08 +0200
http://bitbucket.org/pypy/pypy/changeset/0bde01cb23ae/

Log:    Fix cross-pickling between _decimal and decimal.py

diff --git a/pypy/module/_decimal/interp_context.py 
b/pypy/module/_decimal/interp_context.py
--- a/pypy/module/_decimal/interp_context.py
+++ b/pypy/module/_decimal/interp_context.py
@@ -387,7 +387,7 @@
     return interp2app(func_w)
 
 W_Context.typedef = TypeDef(
-    '_decimal.Context',
+    'decimal.Context',
     __new__ = interp2app(descr_new_context),
     __init__ = interp2app(W_Context.descr_init),
     # Attributes
diff --git a/pypy/module/_decimal/interp_decimal.py 
b/pypy/module/_decimal/interp_decimal.py
--- a/pypy/module/_decimal/interp_decimal.py
+++ b/pypy/module/_decimal/interp_decimal.py
@@ -1115,7 +1115,7 @@
                                exact=True)
 
 W_Decimal.typedef = TypeDef(
-    '_decimal.Decimal',
+    'decimal.Decimal',
     __new__ = interp2app(descr_new_decimal),
     __str__ = interp2app(W_Decimal.descr_str),
     __repr__ = interp2app(W_Decimal.descr_repr),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to