<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy">
    <title>gmane.comp.python.pypy</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11573"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11572"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11571"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11570"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11569"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11568"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11567"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11566"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11565"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11564"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11563"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11562"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11561"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11560"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11559"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11558"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11557"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11556"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11555"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.pypy/11554"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11573">
    <title>Re: Problems in connecting C++ and python with cppyy</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11573</link>
    <description>&lt;pre&gt;Hi, Wim

I tried, but when I use the automatic class loader, the problem still exists.

HERE is the error.

1.

$ echo $LD_LIBRARY_PATH
/home/GeV/work/hello/v1/src:/opt/root/lib/root

$ ls /home/GeV/work/hello/v1/src
libMyClassDict.rootmap  libMyClassDict.so  MyClass.h         MyClass_rflx.cpp

Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
AttributeError: &amp;lt;class '__main__.::'&amp;gt; object has no attribute
'MyClass' (details: '&amp;lt;class '__main__.::'&amp;gt;' has no attribute
'MyClass')

2. TRY explicit load statements, Just as that Armin told me, It's OK,
works perfectly

$ echo $LD_LIBRARY_PATH
/opt/root/lib/root

42

3. Use LD_LIBRARY_PATH to clarify the path to libMyClassDict.so, still error

$ echo $LD_LIBRARY_PATH
/home/GeV/work/hello/v1/src:/opt/root/lib/root

Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
RuntimeError: libMyClassDict.so: cannot open shared object file: No
such file or directory


I don't understand why the LD_LIBRARY_PATH did not work well on my P&lt;/pre&gt;</description>
    <dc:creator>Xia Xin</dc:creator>
    <dc:date>2013-05-25T02:02:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11572">
    <title>Re: Problems in connecting C++ and python with cppyy</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11572</link>
    <description>&lt;pre&gt;Hi,


yes, or add '.' to LD_LIBRARY_PATH. The call is basically just a dlopen:
internally, it uses libffi.CDLL().

Note that if the automatic class loader is used, the same rules apply, as
.rootmap files available through LD_LIBRARY_PATH are used for auto-loading.

I've clarified this in the documentation.

Thanks,
      Wim
&lt;/pre&gt;</description>
    <dc:creator>wlavrijsen&lt; at &gt;lbl.gov</dc:creator>
    <dc:date>2013-05-24T17:08:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11571">
    <title>Re: Problems in connecting C++ and python with cppyy</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11571</link>
    <description>&lt;pre&gt;Hi,

On Fri, May 24, 2013 at 8:45 AM, Xia Xin &amp;lt;xiaxinx&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

I believe that you need to say "./libMyClassDict.so".  Otherwise it's
searching for the .so in the system's standard places, which do not
include ".".


A bientôt,

Armin.
&lt;/pre&gt;</description>
    <dc:creator>Armin Rigo</dc:creator>
    <dc:date>2013-05-24T08:58:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11570">
    <title>Problems in connecting C++ and python with cppyy</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11570</link>
    <description>&lt;pre&gt;Hi,

When I use cppyy to connect the C++ with the python, I got a failure.
Following this page, https://pypy.readthedocs.org/en/improve-docs/cppyy.html

Define a new class

$ cat MyClass.h
class MyClass {
public:
    MyClass(int i = -99) : m_myint(i) {}

    int GetMyInt() { return m_myint; }
    void SetMyInt(int i) { m_myint = i; }

public:
    int m_myint;
};

then compile it.
$ genreflex MyClass.h
$ g++ -fPIC -rdynamic -O2 -shared -I$REFLEXHOME/include
MyClass_rflx.cpp -o libMyClassDict.so -L$REFLEXHOME/lib -lReflex
$ ls
libMyClassDict.so       MyClass.h         MyClass_rflx.cpp

BUT, when I tried to load it in pypy-c, error occurred.
$ pypy-c
Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
RuntimeError: libMyClassDict.so: cannot open shared object file: No
such file or directory

Help me please? Thanks.
&lt;/pre&gt;</description>
    <dc:creator>Xia Xin</dc:creator>
    <dc:date>2013-05-24T06:45:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11569">
    <title>Re: Python 3 ...</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11569</link>
    <description>&lt;pre&gt;
which goes great with indention, you shall use 4 spaces to indent, never 3.

Harald
&lt;/pre&gt;</description>
    <dc:creator>Massa, Harald Armin</dc:creator>
    <dc:date>2013-05-24T06:26:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11568">
    <title>Re: Fail to compile psycopg2</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11568</link>
    <description>&lt;pre&gt;Thanks, It install cleanly (have not tried to test by making some
connection etc.. but hopefuly all good)

The MySQL-python works though

cheers


On Fri, May 24, 2013 at 3:40 PM, Alex Gaynor &amp;lt;alex.gaynor&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>Steve Kieu</dc:creator>
    <dc:date>2013-05-24T05:48:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11567">
    <title>Re: Fail to compile psycopg2</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11567</link>
    <description>&lt;pre&gt;Hi Steve,

In general you probably want to avoid C-extensions when running under PyPy.
In this case I reccomend using psycopg2cffi instead:
https://pypi.python.org/pypi/psycopg2cffi it's basically a drop-in
replacement and works well under PyPy.

Alex


On Fri, May 24, 2013 at 1:36 AM, Steve Kieu &amp;lt;msh.computing&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Alex Gaynor</dc:creator>
    <dc:date>2013-05-24T05:40:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11566">
    <title>Fail to compile psycopg2</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11566</link>
    <description>&lt;pre&gt;Hello All,

I tried to install psycopg2 but failed with the following message


building 'psycopg2._psycopg' extension

cc -O2 -fPIC -Wimplicit -DPSYCOPG_DEFAULT_PYDATETIME=1
-DPSYCOPG_VERSION="2.5 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1
-I/home/stevek/pypy/include -I. -I/usr/include/postgresql
-I/usr/include/postgresql/9.1/server -c psycopg/psycopgmodule.c -o
build/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o
-Wdeclaration-after-statement

In file included from psycopg/psycopgmodule.c:38:0:

./psycopg/error.h:32:5: error: unknown type name ‘PyBaseExceptionObject’

error: command 'cc' failed with exit status 1


Looks like the python header from pypy does not declare
PyBaseExceptionObject

Any way to fix this?

Thanks in adanvace,



&lt;/pre&gt;</description>
    <dc:creator>Steve Kieu</dc:creator>
    <dc:date>2013-05-24T05:36:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11565">
    <title>Re: Python 3 ...</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11565</link>
    <description>&lt;pre&gt;


.. or 2 :-)
_______________________________________________
pypy-dev mailing list
pypy-dev&amp;lt; at &amp;gt;python.org
http://mail.python.org/mailman/listinfo/pypy-dev
&lt;/pre&gt;</description>
    <dc:creator>Alexander Belopolsky</dc:creator>
    <dc:date>2013-05-24T02:29:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11564">
    <title>Re: Python 3 ...</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11564</link>
    <description>&lt;pre&gt;I'll save a google search to a lot of people.

http://docs.python.org/dev/library/constants.html#Ellipsis
http://stackoverflow.com/questions/772124/what-does-the-python-ellipsis-object-do
_______________________________________________
pypy-dev mailing list
pypy-dev&amp;lt; at &amp;gt;python.org
http://mail.python.org/mailman/listinfo/pypy-dev
&lt;/pre&gt;</description>
    <dc:creator>Paulo Köch</dc:creator>
    <dc:date>2013-05-23T23:21:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11563">
    <title>Python 3 ...</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11563</link>
    <description>&lt;pre&gt;Hi all,

Unrelated to everything, a comment about Python 3's unrivalled syntax.
You can now be hesitant in your programs!  Try it out:

    if len(x) &amp;gt; 0 and... and... and x[0] == 5:

More seriously, I'm used to type "..." somewhere to mean "fix me
first!".  I didn't move to Python 3 so far, but if I had to pick a
reason, this one would be high on the list.  Now the program will
associate a useless meaning to my "..." and try to execute it.  Even
worse, in the usual case (a line containing only "...") it will work:
the line is completely ignored!  You can write this:

    def foo():
        x = ...
        ...

and actually execute foo() without getting any error.  Likely you'll
end with a crash later because this call to foo() didn't have the
expected effect, which you did not implement so far.  Same with
"assert...", which just passes.  Great!

I guess I just have to remember: use 4 dots, never 3.

&amp;lt;/rant&amp;gt;


Armin
&lt;/pre&gt;</description>
    <dc:creator>Armin Rigo</dc:creator>
    <dc:date>2013-05-23T23:00:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11562">
    <title>PyPy logo update</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11562</link>
    <description>&lt;pre&gt;Hi!

Let's update the logo to have `PyPy` instead of `pypy`.
Too see my idea go to http://pypy.org and execute this javascript
(Ctrl+Shift+J for Chrome, Ctrl+Shift+K for Firefox):

$('#header').prepend('&amp;lt;h1 class="title" style="position:
fixed;font-size: 350%;margin-top: 31px;margin-left: 152px;background:
white;width: 300px;height: 40px;color:black;"&amp;gt;PyPy&amp;lt;/h1&amp;gt;');

Any objection? If no then I'll make a pull request.

--
Best regards,
Arseniy Terekhin
&lt;/pre&gt;</description>
    <dc:creator>Arseniy Terekhin</dc:creator>
    <dc:date>2013-05-22T15:04:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11561">
    <title>Re: Killing OOType? (was Re: Translating pypy on FreeBSD with CLI backend)</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11561</link>
    <description>&lt;pre&gt;
Nobody is working on any of the OO backends at the moment.

It might be worthwhile to document what we mean by 'from scratch',
too.  Graphs that haven't been rtyped actually have most of the
information that oo-style or untyped backends might care about, the
most significant things missing probably involve dealing with
constants as well as the extregistry.

--
William Leslie

Notice:
Likely much of this email is, by the nature of copyright, covered
under copyright law.  You absolutely may reproduce any part of it in
accordance with the copyright law of the nation you are reading this
in.  Any attempt to deny you those rights would be illegal without
prior contractual agreement.
&lt;/pre&gt;</description>
    <dc:creator>William ML Leslie</dc:creator>
    <dc:date>2013-05-22T06:23:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11560">
    <title>Re: Killing OOType? (was Re: Translating pypy on FreeBSD with CLI backend)</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11560</link>
    <description>&lt;pre&gt;I really wish pypy is able to support jvm, cli and dalvik, so that it is
possible to write core business logic in python which runs everywhere.

Is there any plan to implement a better ootype as well as OO backends?


On Thu, May 9, 2013 at 2:19 AM, Armin Rigo &amp;lt;arigo&amp;lt; at &amp;gt;tunes.org&amp;gt; wrote:

_______________________________________________
pypy-dev mailing list
pypy-dev&amp;lt; at &amp;gt;python.org
http://mail.python.org/mailman/listinfo/pypy-dev
&lt;/pre&gt;</description>
    <dc:creator>James Lan</dc:creator>
    <dc:date>2013-05-22T06:11:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11559">
    <title>PyPy 2.0.2 released</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11559</link>
    <description>&lt;pre&gt;Hi all,

The bugfix PyPy 2.0.2 has been released (on all platforms but OS/X
which should come later in the day).


=========================
PyPy 2.0.2 - Fermi Panini
=========================

We're pleased to announce PyPy 2.0.2.  This is a stable bugfix release
over 2.0 and 2.0.1.  You can download it here:

    http://pypy.org/download.html

It fixes a crash in the JIT when calling external C functions (with
ctypes/cffi) in a multithreaded context.

What is PyPy?
=============

PyPy is a very compliant Python interpreter, almost a drop-in replacement for
CPython 2.7. It's fast (pypy 2.0 and cpython 2.7.3 performance comparison:
http://speed.pypy.org) due to its integrated tracing JIT compiler.

This release supports x86 machines running Linux 32/64, Mac OS X 64 or
Windows 32.  Support for ARM is progressing but not bug-free yet.

Highlights
==========

This release contains only the fix described above.  A crash (or wrong
results) used to occur if all these conditions were true:

- your program is multit&lt;/pre&gt;</description>
    <dc:creator>Armin Rigo</dc:creator>
    <dc:date>2013-05-21T09:27:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11558">
    <title>Re: Is cpyext dead forever?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11558</link>
    <description>&lt;pre&gt;
In a way it should not have happened at all. But also in a way I would
argue cpyext is broken (annotation-wise) and my changes merely exposed
brokenness. It's still my duty to fix it though ;-)

Cheers,
fijal
&lt;/pre&gt;</description>
    <dc:creator>Maciej Fijalkowski</dc:creator>
    <dc:date>2013-05-18T19:57:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11557">
    <title>Re: Is cpyext dead forever?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11557</link>
    <description>&lt;pre&gt;_______________________________________________
pypy-dev mailing list
pypy-dev&amp;lt; at &amp;gt;python.org
http://mail.python.org/mailman/listinfo/pypy-dev
&lt;/pre&gt;</description>
    <dc:creator>Matti Picus</dc:creator>
    <dc:date>2013-05-18T19:49:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11556">
    <title>Re: Is cpyext dead forever?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11556</link>
    <description>&lt;pre&gt;
It's disabled because I broke it. I'll unbreak it some time soon, it's
just that issue is involved. I'm sorry about that, but there was no
goal to deprecate it any time soon.

Cheers,
fijal
&lt;/pre&gt;</description>
    <dc:creator>Maciej Fijalkowski</dc:creator>
    <dc:date>2013-05-18T19:45:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11555">
    <title>Is cpyext dead forever?</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11555</link>
    <description>&lt;pre&gt;cpyext is currently disabled on default. Is there a branch to revive it?
Or are we expecting cffi to replace all interaction with external c code?
I'm not sure what will be more painful, getting the world to rewrite all 
modules or supporting cpyext, both seem non-trivial.
(I'm opening the discussion here since I'm not sure if everyone was 
heard in the discussion on IRC)
Matti
&lt;/pre&gt;</description>
    <dc:creator>Matti Picus</dc:creator>
    <dc:date>2013-05-18T18:51:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11554">
    <title>Re: pypy performance on fractal terrain generator.</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11554</link>
    <description>&lt;pre&gt;
Cool, thanks for sharing!

Cheers,
fijal

PS. No, it's not a spam message despite looking like one, genuinely thanks
&lt;/pre&gt;</description>
    <dc:creator>Maciej Fijalkowski</dc:creator>
    <dc:date>2013-05-18T18:10:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.pypy/11553">
    <title>pypy performance on fractal terrain generator.</title>
    <link>http://permalink.gmane.org/gmane.comp.python.pypy/11553</link>
    <description>&lt;pre&gt;FYI. Performance comparison of pypy and CPython using a fractal terrain
generator and writing out a png file. Pypy is 6-11x faster on my Ubuntu
Intel system.


For 1024x1024 map:

sriley&amp;lt; at &amp;gt;xxxy:/data/src/cityserver$ time pypy map.py
real 0m0.656s
user 0m0.596s
sys 0m0.052s

sriley&amp;lt; at &amp;gt;xxx:/data/src/cityserver$ time python map.py
real 0m4.189s
user 0m4.132s
sys 0m0.044s

For 4096x4096 map:

sriley&amp;lt; at &amp;gt;xxx:/data/src/cityserver$ time pypy map.py
real 0m6.511s
user 0m6.152s
sys 0m0.328s

sriley&amp;lt; at &amp;gt;xxx:/data/src/cityserver$ time python map.py
real 1m7.641s
user 1m7.124s
sys 0m0.324s


Sean.
_______________________________________________
pypy-dev mailing list
pypy-dev&amp;lt; at &amp;gt;python.org
http://mail.python.org/mailman/listinfo/pypy-dev
&lt;/pre&gt;</description>
    <dc:creator>sean riley</dc:creator>
    <dc:date>2013-05-18T18:03:47</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.pypy">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.pypy</link>
  </textinput>
</rdf:RDF>
