[ANN] eric 5.0.0 released Hi, I just uploaded eric 5.0.0. This is the first official release. It is available via the eric web site. http://eric-ide.python-projects.org/index.html What is it? ----------- eric5 is the Python3 variant of the well know eric4 Python IDE and is the first development environment, that runs natively wit... 4 Jul 2010 05:47
SyntaxError not honoured in list comprehension? Python all versions. It's not a bug, but I'm suprised the following does not raise a SyntaxError (missing space between '9' and 'for'). [9for c in 'abc'] [9, 9, 9] Side effect: If this behaviour is considered as correct, it makes a correct Python code styling (IDLE, editors, ...) practically impo... 5 Jul 2010 16:38
How to disable readline when building Python? For licensing reasons, I need to disable readline, except editline on OSX, when building Python. For the life of me, I cannot figure out how this can be done ("./configure --help" does not show anything relevant); I've tried the following, and readline.so will still be built: - ./configure --without-readline ... 4 Jul 2010 01:29
Lua is faster than Fortran??? I was just looking at Debian's benchmarks. It seems LuaJIT is now (on median) beating Intel Fortran! C (gcc) is running the benchmarks faster by less than a factor of two. Consider that Lua is a dynamically typed scripting language very similar to Python. LuaJIT also runs the benchmarks faster than Java 6 se... 13 Jul 2010 11:59
python app development an anyone recommend a resource (book,tutorial,etc.) that focuses on application development in python? something similar to Practical Django Projects, but for stand alone applications instead of web apps (for now). i'm in a bit of a funny place, i have a decent/good grasp of python syntax and my logic isn't bad,... 14 Jul 2010 12:04
My extension code generator for C++ It's still in the rough, but I wanted to give an update on my C++ extension generator. It's available at http://github.com/Rouslan/PyExpose The documentation is a little slim right now but there is a comprehensive set of examples in test/test_kompile.py (replace the k with a c. For some reason, if I post this ... 4 Jul 2010 03:38
subprocess query Hi, What's wrong with the following code. The program waits indefenitely at 'output = p2.stdout.read()' from subprocess import * p1=Popen(['tr', 'a-z', 'A-Z'],stdin=PIPE,stdout=PIPE) p2=Popen(['tr','A-Z', 'a-z'],stdin=p1.stdout,stdout=PIPE) p1.stdin.write("hello") p1.stdin.close() output = p2.stdout.r... 3 Jul 2010 16:46
The real problem with Python 3 - no business case forconversion On Sat, 03 Jul 2010 08:46:57 -0400, D'Arcy J.M. Cain wrote: On Fri, 02 Jul 2010 22:40:34 -0700 John Nagle <nagle(a)animats.com> wrote: Not according to Vex's published package list: http://www.vex.net/info/tech/pkglist/ Hold on. That *is* the generated list and Python 3.1 is on it. We ... 3 Jul 2010 11:15
The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3") On Fri, 02 Jul 2010 12:07:33 -0700, John Nagle wrote: I think one point which needs to be emphasized more is what does python 3 bring to people. The" what's new in python 3 page" gives the impression that python 3 is about removing cruft. That's a very poor argument to push people to switch. ... 3 Jul 2010 07:58
loading configuration files that are themselves python Hi, Is there a more idiomatic way of loading in a configuration file that's python code than: _temp=__import__(path,fromlist='cachestrs') cachestrs=_temp.cachestrs ? I mean, that's pretty ugly...Plain "import" doesn't work in this case because 'path' is a variable defined elsewhere TIA, Matthew -- ... 29 Jul 2010 06:23 |