Re: [Python-Dev] Add const to python API - issue 6952

2009-10-19 Thread Martin v. Löwis
> The patch I developed for comment only adds const to the input > parameters and used casts to > allow output parameters to stay without the const. What specific APIs are you talking about here? Regards, Martin ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] Python 2.6.4rc2

2009-10-19 Thread Lisandro Dalcin
I'm getting this warning. It seems nothing is actually broken, but the fix is pretty easy. gcc -pthread -c -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c Objects/unicodeobject.c: In function 'PyUnico

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-19 Thread Tim Peters
[Mark Dickinson] > By the way, here's an example of an *almost* real-life use of million digit > calculations. > > For an elementary number theory course that I taught a while ago, there > was an associated (optional) computer lab, where the students used > Python to investigate various ideas, conj

[Python-Dev] Add const to python API - issue 6952

2009-10-19 Thread Barry Scott
http://bugs.python.org/issue6952 Martin v. Löwis suggested that solutions to this issue should be discussed here. My goal is to avoid compiler warning and the need to cast to remove const when calling the python API. For example I see compiler messages like this on Mac OS X Snow Leopard

Re: [Python-Dev] Proposal : Python Trusted Computing API

2009-10-19 Thread Nick Coghlan
Abhiram Kasina wrote: > I would love to learn more and provide you with any more information. > Please let me know what you guys think of it? This is really an off-topic question for python-dev. This list is just about developing the core interpreter and standard library - we have no control over

Re: [Python-Dev] Proposal : Python Trusted Computing API

2009-10-19 Thread Guido van Rossum
On Sun, Oct 18, 2009 at 11:29 PM, Abhiram Kasina wrote: > Trusted Computing (TC) is a technology developed and promoted by the Trusted > Computing Group (TCG)[3]. So, basically the group came up with these chips > called TPM chips which are present on most motherboards nowadays. The main > purpose

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-19 Thread Mark Dickinson
On Sun, Oct 18, 2009 at 9:01 PM, Antoine Pitrou wrote: > Can we remove this check, or are there people doing million-digits > calculations > they want to interrupt using Control-C ? By the way, here's an example of an *almost* real-life use of million digit calculations. For an elementary numb

Re: [Python-Dev] Python 2.6.4rc2

2009-10-19 Thread Barry Warsaw
On Oct 19, 2009, at 3:59 AM, Vinay Sajip wrote: Barry Warsaw python.org> writes: http://www.python.org/download/releases/2.6.4/ Good news, but just one little nit: the page above appears to link to the NEWS file for 2.6.4rc1. Ooops! Fixed, thanks. -Barry PGP.sig Description: This i

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-19 Thread Mark Dickinson
On Sun, Oct 18, 2009 at 11:46 PM, Antoine Pitrou wrote: > Sure, but it's no different than doing, e.g.: >    list(range(1)).sort() > > (don't try this, it just made by computer slow down to a crawl and I had to > kill > -9 the Python interpreter) Maybe you were running out of RAM? On a

Re: [Python-Dev] Python 2.6.4rc2

2009-10-19 Thread Vinay Sajip
Barry Warsaw python.org> writes: > http://www.python.org/download/releases/2.6.4/ Good news, but just one little nit: the page above appears to link to the NEWS file for 2.6.4rc1. Regards, Vinay Sajip ___ Python-Dev mailing list Python-Dev@python.or