Home » Developing U++ » U++ Developers corner » STARTED: Python in bazaar
Re: STARTED: Python in bazaar [message #31860 is a reply to message #31856] |
Thu, 31 March 2011 12:06   |
chickenk
Messages: 171 Registered: May 2007 Location: Grenoble, France
|
Experienced Member |
|
|
PyConsoleCtrlTest works for me under Linux, in both Optimal and Debug modes, with 2 important remarks:
1. I tested with my own upp-waf build system and not theIDE directly since I was too lazy to open up theIDE... I'll try it when I can though
2. On my system (let's say it's a Gentoo even though it's a bit more complicated), python 2.7 library is called libpython2.7.so and I had no debug library associated, so I made the following changes to Python.upp:
library(!DEBUG) python2.7;
library(DEBUG) python2.7;
Another question: is there a way to get the error message or stack trace when python fails? I get the -1 exit code when I write wrong code, but no more precised clue... Is it expected for now?
I also tested other packages, they look good and work nice. Here is another patch I made for PyShell:
Index: bazaar/PyShell/PyShell.h
===================================================================
--- bazaar/PyShell/PyShell.h (revision 3320)
+++ bazaar/PyShell/PyShell.h (working copy)
@@ -21,7 +21,7 @@
if(!t.IsOpen()) t.Run(THISBACK(Proc));
}
void Wait() { t.Wait(); }
- bool IsRunning() const { return AtomicRead(a>0); }
+ bool IsRunning() const { return AtomicRead(a)>0; }
void Proc();
Not sure it's what you expect the function to be but at least it compiles.
Lionel
|
|
|
 |
|
STARTED: Python in bazaar
By: kohait00 on Wed, 30 March 2011 23:09
|
 |
|
Re: STARTED: Python in bazaar
By: Novo on Thu, 31 March 2011 06:28
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Thu, 31 March 2011 09:44
|
 |
|
Re: STARTED: Python in bazaar
By: mirek on Thu, 31 March 2011 09:57
|
 |
|
Re: STARTED: Python in bazaar
By: mirek on Thu, 31 March 2011 09:58
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Thu, 31 March 2011 10:22
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Thu, 31 March 2011 10:37
|
 |
|
Re: STARTED: Python in bazaar
By: mirek on Thu, 31 March 2011 12:05
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Thu, 31 March 2011 12:08
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Thu, 31 March 2011 12:10
|
 |
|
Re: STARTED: Python in bazaar
By: Novo on Mon, 04 April 2011 06:28
|
 |
|
Re: STARTED: Python in bazaar
By: mirek on Mon, 04 April 2011 09:35
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Mon, 04 April 2011 15:08
|
 |
|
Re: STARTED: Python in bazaar
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Mon, 04 April 2011 20:12
|
 |
|
Re: STARTED: Python in bazaar
|
 |
|
Re: STARTED: Python in bazaar
By: chickenk on Mon, 04 April 2011 21:35
|
 |
|
Re: STARTED: Python in bazaar
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Mon, 11 April 2011 14:56
|
 |
|
Re: STARTED: Python in bazaar
By: kohait00 on Tue, 12 April 2011 23:57
|
 |
|
Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: Python in bazaar growing
|
 |
|
Re: STARTED: Python in bazaar
By: chickenk on Thu, 31 March 2011 12:06
|
 |
|
Re: STARTED: Python in bazaar
By: mirek on Thu, 31 March 2011 12:06
|
Goto Forum:
Current Time: Sun Jun 08 23:04:45 CEST 2025
Total time taken to generate the page: 0.09880 seconds
|