top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why is CPython 2.5 a dependency for Jython 2.5?

0 votes
285 views

I'm running a box with Debian squeeze, and I just ran:

sudo aptitude install jython

which ended up installing Python 2.5:

[...]
Linking and byte-compiling packages for runtime python2.5...
Setting up python2.5 (2.5.5-11) ...

Does anyone know why CPython 2.5 is a dependency for Jython 2.5.1+ on Debian squeeze?

posted Jul 3, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

Not exactly answering your question...
The debian dependencies can be fairly 'conservative' which means all kinds of stuff is pulled in 'just-in-case' eg Ive seen aptitude build-dep pull in a ridiculous amount of doc-stuff like latex (whose size is of the order of GBs) probably because some document format may require it.

answer Jul 3, 2013 by anonymous
+1 vote

Might Jython use some Python modules/packages unmodified? Does sys.path in Jython refer to the CPython tree?

answer Jul 3, 2013 by anonymous
Similar Questions
+2 votes

http://www.python.org/workshops/1998-11/proceedings/papers/montanaro/montanaro.html

Just wanted to clarify whether CPython already includes these kind of byte code optimizations? Are all the temporary variables removed when byte code is generated?

0 votes

I'm currently trying to make sense of Python's Timsort function. From the wikipedia page I was told the algorithm is located somewhere here: http://hg.python.org/cpython/file/default/Objects/listobject.c

So of all the functions in there, could somebody point to me which one is timsort?

+2 votes

I have an application which uses extensively python 2.7.6 (CPython).

The issue that I see is the following: "If there are only pyc files, the loading time of the application is much more than if I have pyc and py files. It is behind with 2 minutes more than if it had py files"

Do you have any idea why this is happening?

0 votes

We are developing our own automation test toolkit basing on MonkeyRunner. We intent to reuse some of our old python classes. I just realized that I came across 'jython version is too low' problem. our Python classes are targeting for 2.7. currently MonkeyRunner is running on top of 2.53.

my question is as follows:
Can I update jython only for monkeyrunner? if yes, how?

+1 vote

I have installed, de-installed and reinstalled this s/w and MySQL itself on my Win8 box. However, when I go to use it from a script, I get the following error:

"C:Python27libsite-packagesMySQLdb__init.py__", line 27 in  import _mysql
ImportError: DLL load failed: %1 is not valid Win32 application. 

I'm running Win8 which is 64-bit, Python 27, MySQL 5.5. Please help?

...