[pypy-commit] pypy py3k: kill

pjenvey noreply at buildbot.pypy.org
Fri Oct 24 09:30:38 CEST 2014


Author: Philip Jenvey <pjenvey at 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)
 


More information about the pypy-commit mailing list