[pypy-svn] r46926 - pypy/dist/pypy/module/struct

arigo at codespeak.net arigo at codespeak.net
Thu Sep 27 10:17:59 CEST 2007


Author: arigo
Date: Thu Sep 27 10:17:59 2007
New Revision: 46926

Modified:
   pypy/dist/pypy/module/struct/interp_struct.py
Log:
Remove these lines, checked in by mistake.


Modified: pypy/dist/pypy/module/struct/interp_struct.py
==============================================================================
--- pypy/dist/pypy/module/struct/interp_struct.py	(original)
+++ pypy/dist/pypy/module/struct/interp_struct.py	Thu Sep 27 10:17:59 2007
@@ -31,8 +31,6 @@
         raise e.at_applevel(space)
     except OverflowError:
         raise overflow(space)
-    # XXX check that all arguments have been consumed
-    "too many arguments for struct format"
     result = ''.join(fmtiter.result)
     return space.wrap(result)
 pack.unwrap_spec = [ObjSpace, str, 'args_w']
@@ -46,7 +44,5 @@
         raise e.at_applevel(space)
     except OverflowError:
         raise overflow(space)
-    # XXX check that the input string has been fully consumed
-    "unpack str size too long for format"
     return space.newtuple(fmtiter.result_w)
 unpack.unwrap_spec = [ObjSpace, str, str]



More information about the Pypy-commit mailing list