Re: Python 3.0 port?

2008-04-08 Thread Andrew MacIntyre
Maxim Khitrov wrote: I posted this message to freebsd-ports and was redirected here. Would it be possible to get python 3.0 into the ports tree even though it's currently in alpha stages? I'm just starting to learn the language, but I want a chance to play with both 2.5 and 3.0 at the same time.

Re: Performance with python and FreeBSD 7.0 amd64

2008-06-12 Thread Andrew MacIntyre
Felipe Neuwald wrote: We have a few servers running zope + plone. On one server running FreeBSD 6.3-STABLE i386, I got no problems, but, with one server running FreeBSD 7.0-STABLE amd64, same versions of applications, I got some errors, like the following: dmesg result: pid 74775 (python), uid

Re: Performance with python and FreeBSD 7.0 amd64

2008-06-16 Thread Andrew MacIntyre
Felipe Neuwald wrote: Just to inform: after the weekend test, I still got no more errors. I think the problem is solved. Thank you very much, Felipe Neuwald. 2008/6/13 Felipe Neuwald <[EMAIL PROTECTED]>: Andrew and all, After recompile python 2.4 with HUGE_STACK_SIZE option, I got no more p

Re: py-bittorrent/twistedCore broken on 8.0?

2008-07-08 Thread Andrew MacIntyre
Kris Kennaway wrote: I am trying to use the python bittorrent tracker with python 2.5 and FreeBSD 8.0, but I am getting a lot of errors from the kqueue reactor in twisted. pointyhat# bittorrent-tracker track: create_serversocket, port= 80 Traceback (most recent call last): File "/usr/local/

Re: A FreeBSD specific patch to python 2.5.2

2008-12-10 Thread Andrew MacIntyre
Josh Paetzel wrote: I work in a fairly python-centric environment, we use FreeBSD for all of our production machines. Recently we have started using the following patch to python 2.5.2 in production, and it's solved some issues we've had with regards to python, FreeBSD, threads, and signals. I

Re: when building python-2.6 ...

2009-06-12 Thread Andrew MacIntyre
Robert Huff wrote: ... I get: Failed to find the necessary bits to build these modules: linuxaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. and the build continues, apparently successfull

Re: [RFC] lang/python30 (and lang/python*) fixes

2009-07-01 Thread Andrew MacIntyre
Li-Wen Hsu wrote: Hi all, After reviewing python31 port and freebsd-python's PRs, I propose this patch for lang/python30: http://people.freebsd.org/~lwhsu/python30.diff Changes are: - Honor EXAMPLESDIR, DATADIR and NOPORTEXAMPLES, NOPORTDATA - Remove bsddb module in pkg-message since it's rem

Re: [RFC] lang/python30 (and lang/python*) fixes

2009-07-03 Thread Andrew MacIntyre
Li-Wen Hsu wrote: On Wed, Jul 01, 2009 at 22:57:14 +1000, Andrew MacIntyre wrote: Given the experimental nature of Python 3.0, and the fact that 3.1 is out, it seems to me that Python 3.0's time in the ports collection should not be extended. Yes. But as long as we do not set Python 3

Re: python and HUGE_STACK_SIZE

2010-03-26 Thread Andrew MacIntyre
Doug Barton wrote: On 03/26/10 14:03, Steven Kreuzer wrote: So, it seems like most of the time python scripts will work with HUGE_STACK_SIZE turned off, but every once and a while some scripts will fail in non obvious ways that could leave a person scratching their head for weeks trying to get

Re: porting python script from linux to freebsd

2010-07-28 Thread Andrew MacIntyre
Rocky Borg wrote: I hope this is the right place to direct this question. I've been trying to track down a python issue that is specific to freebsd. The Cherokee webserver (http://www.freshports.org/www/cherokee/) has a python gui backend to admin the server. It works perfectly under Linux. Un

Re: Python malloc issue?

2011-03-21 Thread Andrew MacIntyre
Amit Dev wrote: I'm observing a strange memory usage pattern with python strings on Freebsd. Consider the following session. Idea is to create a list which holds some strings so that cumulative characters in the list is 100MB. l = [] for i in xrange(10): ... l.append(str(i) * (1000/len(st