Re: Pyro4 complains when imported by Jython 2.5 -- patch attached

Irmen de Jong <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24-5-2012 12:06, Lars Buitinck wrote:
> Hi all,
> 
> While trying to use Pyro4 in a joint Python/Jython project, I found that it gives
> a warning when imported in Jython 2.5, currently the stable version. Since Jy2.5 
> should be supported per the docs, I decided to put in a check for Jython. The
> patch is attached (I hope this is the proper way to submit a patch).

Hi Lars.
Patch seems fine at first glance, thanks a lot.

I've been too lazy to care about the warning on Jython so far, but I'll certainly
consider merging your patch.

A thing to note though; Jython 2.7 will probably be available somewhere in the summer
according to its main developer. (it's in Alpha now). As soon as it's released
officially I'll drop Jython 2.5 support in Pyro4. It's a hassle, and I think it is
time we leave that era behind.


Cheers
Irmen de Jong


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPvqjLAAoJEHC9o7RHFlf2vUUIAKy2ULDwOJqL0n09ObD4TVBY
HAy1jV+fe2yMM9reAApEbOasqDjdgU68sPiD01Q5xSyLq/2DvAkNMaURH1VcKqjC
KspHXEAALk92tguXlfxZJZKxxSLbf+HbXfmeuyHXxtAfW7cv/tvf80utgJXlpcRQ
almRLKXqA1fAs9eBnp4I/dBKtBd/wvaq5UG7gAKSWmu8A6sdzSR7VIYLyGw/oJrf
L7QHPzZA5s15PnDOTGqG+uqOLlpMb7N3n/0QaLiEH/c7ivHVMMVunih0aZuVAolZ
N+Nd6WlNKgJTdfGXs7cSdNh/qMeuhf2S4pxfIgGp0gRmayEQZHdPxI4Lfidcags=
=obl7
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.