Revision: 664
http://rpy.svn.sourceforge.net/rpy/?rev=664&view=rev
Author: lgautier
Date: 2008-10-28 19:06:30 +0000 (Tue, 28 Oct 2008)
Log Message:
-----------
rpy_classic:
- Fixed the typeof() not callable error
doc:
- Added Laurent Oget as currently building win32 binaries
Modified Paths:
--------------
branches/rpy_nextgen/NEWS
branches/rpy_nextgen/doc/source/overview.rst
branches/rpy_nextgen/rpy/rpy_classic.py
Modified: branches/rpy_nextgen/NEWS
===================================================================
--- branches/rpy_nextgen/NEWS 2008-10-26 14:09:49 UTC (rev 663)
+++ branches/rpy_nextgen/NEWS 2008-10-28 19:06:30 UTC (rev 664)
@@ -36,7 +36,8 @@
- __pow__ was missing from the delegator object for robjects.RVector (while
the documentation was claiming it was there) # bug report by Robert Nuske
-
+- Earlier change from Sexp.typeof() to getter Sexp.typeof was not reflected in
:mod:`rpy2.rpy_classic` # bug report by Robert Denham
+
Release 2.0.0b1
===============
Modified: branches/rpy_nextgen/doc/source/overview.rst
===================================================================
--- branches/rpy_nextgen/doc/source/overview.rst 2008-10-26 14:09:49 UTC
(rev 663)
+++ branches/rpy_nextgen/doc/source/overview.rst 2008-10-28 19:06:30 UTC
(rev 664)
@@ -69,6 +69,8 @@
`rpy2` has been reported compiling successfully on all 3 platforms, provided
that development items such as Python headers and a C compiler are installed.
+At the time of writing, Microsoft Windows binaries are contributed by Laurent
Oget.
+
Check on the `Sourceforge download page
<http://downloads.sourceforge.net/rpy>`_
what is available..
Modified: branches/rpy_nextgen/rpy/rpy_classic.py
===================================================================
--- branches/rpy_nextgen/rpy/rpy_classic.py 2008-10-26 14:09:49 UTC (rev
663)
+++ branches/rpy_nextgen/rpy/rpy_classic.py 2008-10-28 19:06:30 UTC (rev
664)
@@ -151,10 +151,10 @@
def rpy2py_basic(obj):
if hasattr(obj, '__len__'):
- if obj.typeof() in [ri.INTSXP, ri.REALSXP, ri.CPLXSXP,
+ if obj.typeof in [ri.INTSXP, ri.REALSXP, ri.CPLXSXP,
ri.STRSXP]:
res = [x for x in obj]
- elif obj.typeof() in [ri.VECSXP]:
+ elif obj.typeof in [ri.VECSXP]:
res = [rpy2py(x) for x in obj]
else:
raise ValueError("Invalid type for 'obj'.")
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list