SF.net SVN: jython:[7225] trunk/jython/Lib/_abcoll.py

[email protected] Sun, 13 Mar 2011 04:28:47 +0000
Newsgroups gmane.comp.lang.jython.cvs
Message-ID <[email protected]>
Revision: 7225
          http://jython.svn.sourceforge.net/jython/?rev=7225&view=rev
Author:   fwierzbicki
Date:     2011-03-13 04:28:47 +0000 (Sun, 13 Mar 2011)

Log Message:
-----------
Jython does not have buffer.

Modified Paths:
--------------
    trunk/jython/Lib/_abcoll.py

Modified: trunk/jython/Lib/_abcoll.py
===================================================================
--- trunk/jython/Lib/_abcoll.py	2011-03-13 04:17:29 UTC (rev 7224)
+++ trunk/jython/Lib/_abcoll.py	2011-03-13 04:28:47 UTC (rev 7225)
@@ -556,7 +556,8 @@
 
 Sequence.register(tuple)
 Sequence.register(basestring)
-Sequence.register(buffer)
+if sys.platform[:4] != "java":
+    Sequence.register(buffer)
 Sequence.register(xrange)
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d