Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r74149:f779ab150be3
Date: 2014-10-24 00:28 -0700
http://bitbucket.org/pypy/pypy/changeset/f779ab150be3/

Log:    kill

diff --git a/pypy/objspace/std/marshal_impl.py 
b/pypy/objspace/std/marshal_impl.py
--- a/pypy/objspace/std/marshal_impl.py
+++ b/pypy/objspace/std/marshal_impl.py
@@ -245,9 +245,6 @@
 
 @marshaller(W_BytesObject)
 def marshal_bytes(space, w_str, m):
-    if not isinstance(w_str, W_BytesObject):
-        raise_exception(space, "unmarshallable object")
-
     s = w_str.unwrap(space)
     m.atom_str(TYPE_STRING, s)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to