Re: [python-committers] [RELEASED] Python 3.3.4 release candidate 1

2014-01-29 Thread Andrew Svetlov
BA5FfkwF > rLUAnRg0RpL/b6apv+Dt2/sgnUd3hTPA > =Z4Ss > -END PGP SIGNATURE- > _______ > python-committers mailing list > python-committ...@python.org > https://mail.python.org/mailman/listinfo/python-committers -- Thanks, Andrew Svetlov -- https://mail.python.org/mailman/listinfo/python-list

Re: importing with .m instead of .py

2009-09-25 Thread Andrew Svetlov
On Sep 25, 1:16 pm, Wanderer wrote: > execfile(x) does what I'm looking for. > Perhaps you are looking for Python import hook: http://www.python.org/dev/peps/pep-0302/ In you import hook you can do everything (and locate/import file with any extension :) -- http://mail.python.org/mailman/listi

Re: How do I begin debugging a python memory leak?

2009-09-16 Thread Andrew Svetlov
guppy-pe On Sep 16, 8:10 pm, Matthew Wilson wrote: > I have a web app based on TurboGears 1.0.  In the last few days, as > traffic and usage has picked up, I noticed that the app went from using > 4% of my total memory all the way up to 50%. > > I suspect I'm loading data from the database and som

Re: python decimals

2009-09-16 Thread Andrew Svetlov
ource. Perhaps I will start to work on it about end of next week - it's high priority task for my company. On Sep 16, 4:49 am, Mark Dickinson wrote: > On Sep 16, 1:35 am, Andrew Svetlov wrote: > > > It only reflects the fact what comp.lang.python replicated by several > > web si

Re: python decimals

2009-09-15 Thread Andrew Svetlov
It only reflects the fact what comp.lang.python replicated by several web sites. Unfortunately looks like there are no link to library implements that : ( On Sep 15, 5:17 pm, Terry Reedy wrote: > Mark Dickinson wrote: > > On Sep 15, 2:27 am, Andrew Svetlov wrote: > >> Is

python decimals

2009-09-14 Thread Andrew Svetlov
Is there some kind of python binding for decNumber library? Standard decimal.Decimal is good enough, but very slow. My current project toughly coupled with 'currency' operations and we have performance problems related to decimal calculations. >From my perspective decNumber is fast and has well wid

Re: How to free /destroy object created by PyTuple_New

2009-04-04 Thread Andrew Svetlov
To destroy every python object you need to call Py_DECREF. To call python code fron you C thread you need to use pair PyGILState_Ensure/PyGILState_Release. -- http://mail.python.org/mailman/listinfo/python-list