Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Kenworthy, Edward <Edward.K<enworthy@ma...> - 2002-07-23 07:13:51
How about Vector ?
From: tsailipu@... [mailto:tsailipu@...]
Sent: 23 July 2002 02:10
Subject: [Jython-users] any good workaround for the missing array
I learned from Jython's documentation that the Python
array module is currently unsupported. I am writing to
see whether you would happen to know a clean, good
workaround? So, instead of "import array" in the *.py,
one can perhaps do something about equally easy and
efficient in Jython....
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
Jython-users mailing list
> From: Philip Tsai [mailto:tsailipu@...]
> Well, jarray module exposes only two methods (according to
> http://www.jython.org/docs/jarray.html) while the python
> array module includes
> many more useful methods; the two modules look to have
> different purposes in
> I asked because it would be quite some hassle to rewrite py
> modules that use the
> array module and many of its methods. I thought that I
> probably am not the
> first one that run into this situation, so thought of asking
> whether anyone
> knows of any good workarounds.
It shouldn't be difficult to write a functional wrapper around another data
structure for this purpose (trading off memory vs functionality).
Lter optimising it would of course be another matter. If your aim is to get
code written for the array module to work, a functional wrapper is a good