Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-12-01 Thread Maciej Fijalkowski
On Wed, Dec 1, 2010 at 9:48 AM, Stefan Behnel wrote: > Paolo Giarrusso, 01.12.2010 00:34: >> Anyway, this does not interact with benchmarks above - Stefan, I still >> don't get why you complained that pyexpat is slow by showing >> benchmarks for another module, I guess I do not understand your ema

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-30 Thread Stefan Behnel
Paolo Giarrusso, 01.12.2010 00:34: > Anyway, this does not interact with benchmarks above - Stefan, I still > don't get why you complained that pyexpat is slow by showing > benchmarks for another module, I guess I do not understand your email, > but it asks "reasonable?" after Amaury talks about py

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-30 Thread Paolo Giarrusso
On Tue, Nov 30, 2010 at 08:13, Maciej Fijalkowski wrote: > On Tue, Nov 30, 2010 at 1:45 AM, Amaury Forgeot d'Arc > wrote: >> 2010/11/30 Paolo Giarrusso >>> >>> As a matter of fact, however, pyexpat is not involved here for PyPy, >>> and here (v1.4) it is still implemented through ctypes (in >>>

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Maciej Fijalkowski
On Tue, Nov 30, 2010 at 1:45 AM, Amaury Forgeot d'Arc wrote: > 2010/11/30 Paolo Giarrusso >> >> As a matter of fact, however, pyexpat is not involved here for PyPy, >> and here (v1.4) it is still implemented through ctypes (in >> lib_pypy/pyexpat.py), and not in RPython in pypy/rlib/. It's also

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Amaury Forgeot d'Arc
2010/11/30 Paolo Giarrusso > As a matter of fact, however, pyexpat is not involved here for PyPy, > and here (v1.4) it is still implemented through ctypes (in > lib_pypy/pyexpat.py), and not in RPython in pypy/rlib/. > Did you compile pypy yourself? if the expat development files are present, th

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Piotr Skamruk
simplier would be set ulimit -n to 65536 (probably in /etc/security/limits.conf) 2010/11/29 Amaury Forgeot d'Arc : > 2010/11/29 Paolo Giarrusso >> >> Inspection of the pypy process confirms a leak of file handles to the >> XML files. Whether it is GC not being invoked, a missing destructor, >> or

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Amaury Forgeot d'Arc
2010/11/29 Paolo Giarrusso > Inspection of the pypy process confirms a leak of file handles to the > XML files. Whether it is GC not being invoked, a missing destructor, > or simply because the code should release file handles, I dunno. Is > there a way to trigger explicit GC to workaround such i

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Paolo Giarrusso
On Mon, Nov 29, 2010 at 14:40, Stefan Behnel wrote: > Amaury Forgeot d'Arc, 28.11.2010 11:44: >> 2010/11/28 Maciej Fijalkowski >> >>> On Sun, Nov 28, 2010 at 11:58 AM, René Dudfield wrote: what xml libraries are people using with pypy?  What is working well? >>> >>> PyExpat works, although it

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Stefan Behnel
René Dudfield, 29.11.2010 14:52: > On Mon, Nov 29, 2010 at 1:40 PM, Stefan Behnel wrote: >> Amaury Forgeot d'Arc, 28.11.2010 11:44: >>> 2010/11/28 Maciej Fijalkowski >>> On Sun, Nov 28, 2010 at 11:58 AM, René Dudfield wrote: > what xml libraries are people using with pypy? What is working

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread René Dudfield
Ah, does etree work in pypy? That's just python right? On Mon, Nov 29, 2010 at 1:40 PM, Stefan Behnel wrote: > Amaury Forgeot d'Arc, 28.11.2010 11:44: > > 2010/11/28 Maciej Fijalkowski > > > >> On Sun, Nov 28, 2010 at 11:58 AM, René Dudfield wrote: > >>> what xml libraries are people using with

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Stefan Behnel
Amaury Forgeot d'Arc, 28.11.2010 11:44: > 2010/11/28 Maciej Fijalkowski > >> On Sun, Nov 28, 2010 at 11:58 AM, René Dudfield wrote: >>> what xml libraries are people using with pypy? What is working well? >> >> PyExpat works, although it's slow (ctypes-based implementation). I >> know genshi has s

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-28 Thread Amaury Forgeot d'Arc
Hi 2010/11/28 Maciej Fijalkowski > On Sun, Nov 28, 2010 at 11:58 AM, René Dudfield wrote: > > what xml libraries are people using with pypy? What is working well? > > PyExpat works, although it's slow (ctypes-based implementation). I > know genshi has some troubles with it, someone is debuggin

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-28 Thread Maciej Fijalkowski
On Sun, Nov 28, 2010 at 11:58 AM, René Dudfield wrote: > Hi, > > what xml libraries are people using with pypy?  What is working well? > > cu, PyExpat works, although it's slow (ctypes-based implementation). I know genshi has some troubles with it, someone is debugging now. Besides I don't think

[pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-28 Thread René Dudfield
Hi, what xml libraries are people using with pypy? What is working well? cu, On Sun, Nov 28, 2010 at 9:48 AM, Maciej Fijalkowski wrote: > Hey. > > On Sun, Nov 28, 2010 at 10:57 AM, Phyo Arkar > wrote: > > i got python-magic working , after i installed without easy_install > > (easy_install f