[pypy-svn] r65665 - in pypy/trunk/pypy: lang/smalltalk lang/smalltalk/tool rlib rlib/test
fijal at codespeak.net
fijal at codespeak.net
Mon Jun 8 18:05:39 CEST 2009
Author: fijal
Date: Mon Jun 8 18:05:38 2009
New Revision: 65665
Added:
pypy/trunk/pypy/rlib/bitmanipulation.py
- copied unchanged from r65499, pypy/trunk/pypy/lang/smalltalk/tool/bitmanipulation.py
pypy/trunk/pypy/rlib/test/test_bitmanipulation.py
- copied, changed from r65499, pypy/trunk/pypy/lang/smalltalk/tool/test_bitmanipulation.py
Removed:
pypy/trunk/pypy/lang/smalltalk/tool/bitmanipulation.py
pypy/trunk/pypy/lang/smalltalk/tool/test_bitmanipulation.py
Modified:
pypy/trunk/pypy/lang/smalltalk/model.py
pypy/trunk/pypy/lang/smalltalk/squeakimage.py
pypy/trunk/pypy/rlib/runicode.py
Log:
move bitmanipulation routines from lang/smalltalk/tool to rlib/
Modified: pypy/trunk/pypy/lang/smalltalk/model.py
==============================================================================
--- pypy/trunk/pypy/lang/smalltalk/model.py (original)
+++ pypy/trunk/pypy/lang/smalltalk/model.py Mon Jun 8 18:05:38 2009
@@ -20,7 +20,7 @@
from pypy.lang.smalltalk import constants, error
from pypy.tool.pairtype import extendabletype
from pypy.rlib.objectmodel import instantiate
-from pypy.lang.smalltalk.tool.bitmanipulation import splitter
+from pypy.rlib.bitmanipulation import splitter
class W_Object(object):
"""Root of Squeak model, abstract."""
Modified: pypy/trunk/pypy/lang/smalltalk/squeakimage.py
==============================================================================
--- pypy/trunk/pypy/lang/smalltalk/squeakimage.py (original)
+++ pypy/trunk/pypy/lang/smalltalk/squeakimage.py Mon Jun 8 18:05:38 2009
@@ -3,7 +3,7 @@
from pypy.lang.smalltalk import constants
from pypy.lang.smalltalk import model
from pypy.rlib import objectmodel
-from pypy.lang.smalltalk.tool.bitmanipulation import splitter
+from pypy.rlib.bitmanipulation import splitter
def chrs2int(b):
assert len(b) == 4
Modified: pypy/trunk/pypy/rlib/runicode.py
==============================================================================
--- pypy/trunk/pypy/rlib/runicode.py (original)
+++ pypy/trunk/pypy/rlib/runicode.py Mon Jun 8 18:05:38 2009
@@ -1,5 +1,5 @@
import sys
-from pypy.lang.smalltalk.tool.bitmanipulation import splitter
+from pypy.rlib.bitmanipulation import splitter
from pypy.rpython.lltypesystem import lltype, rffi
from pypy.rlib.objectmodel import we_are_translated
Copied: pypy/trunk/pypy/rlib/test/test_bitmanipulation.py (from r65499, pypy/trunk/pypy/lang/smalltalk/tool/test_bitmanipulation.py)
==============================================================================
--- pypy/trunk/pypy/lang/smalltalk/tool/test_bitmanipulation.py (original)
+++ pypy/trunk/pypy/rlib/test/test_bitmanipulation.py Mon Jun 8 18:05:38 2009
@@ -1,4 +1,4 @@
-from pypy.lang.smalltalk.tool.bitmanipulation import splitter
+from pypy.rlib.bitmanipulation import splitter
def test_simple_splitbits():
More information about the Pypy-commit
mailing list