Re: How to distribute python console program

2014-06-22 Thread Jurko Gospodnetić
installs a stand-alone Python distribution together with your script, e.g. like something done by cx_Freeze or similar projects. Then your target machine does not need to have Python installed separately, but on the other hand, the installation is much larger and you risk getting multiple Python installations all over the same machine. :-) Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: How keep Python 3 moving forward - suds & Python 3

2014-05-25 Thread Jurko Gospodnetić
e I'm not aware of any other actively maintained fork, should I find more free time in the future I might rename it to suds and try to convert it to a formal successor to suds. Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Common issue but unable to find common solution (ez_setup.py on PC)

2014-05-07 Thread Jurko Gospodnetić
there or prepare your own private setuptools package based on the current development tip. So you should be able to get your scenario to work, whatever it is. Hope this helps. Best regards, Jurko Gospodnetić P.S. I guess you're using google groups. I really hate the double spaci

Re: Common issue but unable to find common solution (ez_setup.py on PC)

2014-05-07 Thread Jurko Gospodnetić
: https://bitbucket.org/pypa/setuptools/issue/168 https://bitbucket.org/pypa/setuptools/pull-request/48 But the patch is still waiting on the maintainer to apply it. Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Why has __new__ been implemented as a static method?

2014-05-03 Thread Jurko Gospodnetić
part of Python. I generally find Python highly intuitive and it's not often something about it takes me by surprise like this. :-) Thanks in advance. Best regards, Jurko Gospodnetić P.S. Normally, I'd chalk this issue up under 'bike-shedding', but it came up while tea

Re: segmentation fault, executable python file

2014-04-04 Thread Jurko Gospodnetić
n the culprit's direction in no time. Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Thread._stop() behavior changed in Python 3.4

2014-03-17 Thread Jurko Gospodnetić
bytecode instruction and is about to go on to processing the next one), another thread may pick up the GIL and do some of its work, e.g. print out some output. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: What does gc.get_objects() return?

2014-03-17 Thread Jurko Gospodnetić
olving the issue - in the end we tracked it down to a typical reference counting problem in a Python extension DLL. *doh* Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: What does gc.get_objects() return?

2014-03-13 Thread Jurko Gospodnetić
Hi. On 13.3.2014. 3:54, Terry Reedy wrote: On 3/12/2014 3:34 PM, Jurko Gospodnetić wrote: I was wondering if someone could explain gc.get_objects() in a bit more detail to me. Does it return a list of 'all objects known to Python'? Only some of them? Which does it return

Re: What does gc.get_objects() return?

2014-03-13 Thread Jurko Gospodnetić
Hi. On 12.3.2014. 23:40, Ian Kelly wrote: Or is it? a = 1,2,3 gc.is_tracked(a) True gc.collect() 0 gc.is_tracked(a) False Ufff.. nice one :-D Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: What does gc.get_objects() return?

2014-03-12 Thread Jurko Gospodnetić
.4 I guess strings and other atomic types such as ints are not, as well as raw object() instances. Custom class instances on the other hand seem to be under GC control. Thanks again. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

What does gc.get_objects() return?

2014-03-12 Thread Jurko Gospodnetić
ects() False >>> b in gc.get_objects() False Which shows that non-interned scripts such as these are not getting listed in gc.get_objects() either. :-s Many thanks. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Windows installation problem with 3.3.5

2014-03-10 Thread Jurko Gospodnetić
d to screw something up. I just now ran into something that might explain this. You could have run your new installation as 'for the current user only'. That would not have placed the new py.exe executable in C:\Windows. Hope this helps. Best regards, Jurko Gospodnetić -- htt

Re: Windows installation problem with 3.3.5

2014-03-10 Thread Jurko Gospodnetić
I just tested the same thing and the original executables that were there got overwritten with newer ones, as I expected. Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: [RELEASED] Python 3.4.0 release candidate 1

2014-02-11 Thread Jurko Gospodnetić
it, I had nothing exact to say other than 'did not work for me, now it does, don't know if it was me or you'. :-) Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: how to reduce bugs due to incorrect indentation

2014-02-08 Thread Jurko Gospodnetić
resulting issues as they occur. Clean coding & development practices, some of which have been mentioned earlier in this thread and are useful for many other reasons as well, will additionally reduce the chance of such errors causing any non-trivial issues. Best regards, Jurko Gospodn

Re: Differences between obj.attribute and getattr(obj, "attribute")

2013-12-11 Thread Jurko Gospodnetić
s require additional imports.] Hope this helps. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-27 Thread Jurko Gospodnetić
Hi. On 25.11.2013. 14:42, Jurko Gospodnetić wrote: So far all tests seem to indicate that things work out fine if we install to some dummy target folder, copy the target folder to some version specific location & uninstall. That leaves us with a working Python folder sans the start

Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-25 Thread Jurko Gospodnetić
t the moment I just run the pytest framework using different python interpreters, without having to install the package at all (possibly first running 'setup.py build' to get the sources converted to Python 3 format). Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-25 Thread Jurko Gospodnetić
file (python24.dll) into a Windows system folder and then the next installation deletes it from there, and overwrites it with its own. :-( But I can live with that... :-) Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-25 Thread Jurko Gospodnetić
itely going to read up on those packages soon. :-) Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-25 Thread Jurko Gospodnetić
restore the original registry state instead of reconstructing its content to what the script assumes it should be. Best regards, Jurko Gospodnetić -- https://mail.python.org/mailman/listinfo/python-list

Re: Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-25 Thread Jurko Gospodnetić
ed by Ned Batchelder to temporarily change the 'current installation' if needed for some external installer package to correctly recognize where to install its content. I'm still playing around with this, and will let you know how it goes. Thank you again for replying! Best regard

Parallel Python x.y.A and x.y.B installations on a single Windows machine

2013-11-25 Thread Jurko Gospodnetić
ects to always find its entries there, then I guess there is no way to do what we need without building customized Python executables. Is there a way to force a specific Python interpreter to not read in this information, read it from an .ini file or something similar? Many thanks. B

Re: ANN: psutil 1.0.0 released

2013-07-10 Thread Jurko Gospodnetić
rsion for Python 3.3 is not there. Best regards, Jurko Gospodnetić -- http://mail.python.org/mailman/listinfo/python-list

Re: Top-posting &c. (was Re: [ANNC] pybotwar-0.8)

2012-08-17 Thread Jurko Gospodnetić
Hi. As a lurker, I agree completely with Chris's sentiments. +1 Best regards, Jurko Gospodnetić -- http://mail.python.org/mailman/listinfo/python-list

Re: lambda in list comprehension acting funny

2012-07-11 Thread Jurko Gospodnetić
[ lambda x, i=i: x**i for i in range( 5 ) ] Hope this helps. Best regards, Jurko Gospodnetić -- http://mail.python.org/mailman/listinfo/python-list

os.path.realpath() and os.path.abspath()

2011-01-11 Thread Jurko Gospodnetić
th.abspath(os.path.realpath(x)) when we want to convert x to its full/canonical name? Best regards, Jurko Gospodnetić -- http://mail.python.org/mailman/listinfo/python-list