Hi,
On Mon, Jan 30, 2012 at 21:20, Andrew Francis wrote:
> If the stm library progresses a bit
> more, I would like to try writing Python versions of some of the STAMP
> examples.
You wouldn't be able to write pure Python versions of classical STM
examples, because the "transaction" module works
Hi Andrew,
On Mon, Jan 30, 2012 at 21:09, Andrew Francis wrote:
> I noticed a compare_and_swap function in atomic_ops.h. On the IRC channel,
> it was suggested that I look in _rffi_stm.py. However it is not there (I can
> understand thta). How can this function be exposed to a RPython programme?
Hi,
On Mon, Jan 30, 2012 at 17:26, wrote:
> I'm trying to build PyPy (1.7) on Solaris and keep getting this error very
> early in the translate process:
>
>
> /opt/app/nonc++/gcc-4.5.2/lib/gcc/i386-pc-solaris2.10/4.5.2/include-fixed/sys/feature_tests.h:345:2:
> error: #error "Compiler or
Hi Folks:
I understand that the STM module is still in its infancy. And subject to change
at a moment's notice. I enjoy reading the transactional memory related blog
posts. Over the weekend, I have been looking at the stm and transactionModule
and the C++ based rstm. I haven't written an C++ ba
Hi Folks:
I noticed a compare_and_swap function in atomic_ops.h. On the IRC channel, it
was suggested that I look in _rffi_stm.py. However it is not there (I can
understand thta). How can this function be exposed to a RPython programme? The
reason I am asking is if compare and swap functions ar
On Mon, Jan 30, 2012 at 7:40 PM, Davide Setti wrote:
> On Mon, Jan 30, 2012 at 5:05 PM, Maciej Fijalkowski
> wrote:
>>
>> I think it does not matter, and for
>> more than one reason in this particular case (on of those being that
>> even though bool objects are boxed, there are only two of them -
On Mon, Jan 30, 2012 at 5:05 PM, Maciej Fijalkowski wrote:
> I think it does not matter, and for
> more than one reason in this particular case (on of those being that
> even though bool objects are boxed, there are only two of them - True
> and False)
>
Probably this is another question: what ab
I'm trying to build PyPy (1.7) on Solaris and keep getting this error very
early in the translate process:
/opt/app/nonc++/gcc-4.5.2/lib/gcc/i386-pc-solaris2.10/4.5.2/include-fixed/sys/feature_tests.h:345:2:
error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
applica
On Mon, Jan 30, 2012 at 5:56 PM, Benjamin Peterson wrote:
> 2012/1/30 Serhat Sevki Dincer :
>> Hi,
>> Suppose you have a function to validate local/international phone numbers
>> (one space between number groups, no space at start/end, no zero at start)
>> like:
>>
>> def validatePhone(v):
>> i
2012/1/30 Serhat Sevki Dincer :
> Hi,
> Suppose you have a function to validate local/international phone numbers
> (one space between number groups, no space at start/end, no zero at start)
> like:
>
> def validatePhone(v):
> if not (9 < len(v) < 19 and '0' < v[0]): # recall ' ' < '0'
>
Hi,
Suppose you have a function to validate local/international phone numbers
(one space between number groups, no space at start/end, no zero at start)
like:
def validatePhone(v):
if not (9 < len(v) < 19 and '0' < v[0]): *# recall ' ' < '0'*
return False
for c in v:
if '0' <=
11 matches
Mail list logo