Jython Monthly |
|
October 2006 -- Issue #4 |
In Progress
Welcome to the October 2006 issue of Jython Monthly. The content of this newsletter will focus on using and developing the Jython languge. I want to encourage the readers of Jython Monthly to send any articles, tips, tricks, or any other Jython related material to me if you think it should be distributed with this newsletter.
Special thanks to those who submitted material for this month's newsletter!
- Josh Juneau
Questions, comments, or suggestions?
Please send email to:
jython-monthly@mchsi.com or jython-users@lists.sourceforge.net for discussion.
Articles
Off The Lists
From Craig W:
I am trying to read in some large files using Jython. I have no problems with something under 12mb....but over 12mb, I get OutOfMemoryError: java heap space any suggestions on how to read in large files into Jython?
- I tried: data = open('blah.zip', 'rb').read() (where blah.zip is a 13.3MB file).
Response by Kent Johnson:
Did you try giving more heap space to Jython? In the batch file or whatever you use to launch your program, add the Java switch -Xmx512M, that will set the max heap to 512 MB.
Interested in Developing Jython?
If you are interested in developing Jython, please take a look at the [https://sourceforge.net/tracker/?func=browse&group_id=12867&atid=112867 current bug listing] and submit patches for items which you can repair.
IDE Information
[https://java-source-code.com/?q=node/111 JyConsole]
Pydev and Pydev Extensions 1.2.4 have been released
Details on Pydev Extensions: https://www.fabioz.com/pydev Details on Pydev: https://pydev.sf.net Details on its development: https://pydev.blogspot.com
Release Highlights in Pydev Extensions:
* Code analysis: analysis on imported modules do no longer give you errors on
classes that have getattribute or getattr overriden
- assigns that are initially None
- assigns to a function call and not a class definition
* Completions for parameters in a context-insensitive way, looking for all the methods/attributes declared in classes available to the project (after 3 chars)
Release Highlights in Pydev:
* Completions for parameters based on the tokens that were defined for it in a given context * Removed the default PyLint options, because its command-line interface changed (that was crashing PyLint in newer versions) * Changed the grammar so that 'yield' is correctly parsed as an expression * Giving better error message when external file is opened without any interpreter selected * Icons for the builtins gotten on large libraries (such as wx -- it was optimized not to do that before) * Adding jars relative to the project now works correctly
Who's Using Jython?
[https://hermesjms.com/python.html JMS Support]
Jython Blogs
[https://www.codemonkeyramblings.com/2006/10/misc.php Code Monkey Ramblings - Jython Advocate]
[https://tomcopeland.blogs.com/juniordeveloper/2006/09/jythonpydev_jav.html Jython/Pydev JavaCC grammar notes]
[https://blogs.sun.com/sundararajan/entry/java_javascript_and_jython Java, JavaScript, and Jython Part I]
[https://blogs.sun.com/sundararajan/entry/java_javascript_and_jython_part Java, JavaScript, and Jython Part II]
[https://jroller.com/page/berlinbrown?entry=simplest_jython_based_servlet_web Simplest Jython based Servlet Web Application ]
Interesting Facts
Jython - Average Job Salary & Stats in UK https://www.itjobswatch.co.uk/jobs/uk/jython.do
JExpress Forum (Jython scripting challenge: Automatic gene group multi-fss) - https://molmineus.com/forum/index.php?PHPSESSID=7093e1d1e3449b4417b726ea3cbf0132&board=4.0
Useful Links
Links |
[https://www.jython.org Jython Home] |
[https://python.domainunion.de Python Home] |
[https://freshmeat.net/projects/jython/ Freshmeat.net] |
[https://www.pythonware.com/daily/ Python Daily News] |