The O'Reilly Open Source Convention has opened up the Call For
Participation -- deadline for proposals is Tuesday Feb 3.
OSCON will be held July 20-24 in San Jose, California.
For more information, see
http://conferences.oreilly.com/oscon
http://en.oreilly.com/oscon2009/public/cfp/57
--
Aahz
On Tue, 20 Jan 2009 15:04:34 +1000, James Mills wrote:
Having come from all kinda of programming backgrounds and paradigms you
learn to see the value in Python and the kind of simplicity it has to
offer.
Oh yes, it is liberating to say I don't care if my method crashes
(raises an exception),
On Mon, 19 Jan 2009 20:22:55 -0700, Joe Strout wrote:
What if a curious user simple looks at a file with an editor and saves
it without change?
You can't do that, on the Mac at least...
Are you sure? That's a rather incredible claim. Surely you mean *some Mac
editors* disable the Save
On Jan 19, 11:17 pm, alex23 wuwe...@gmail.com wrote:
...
Hi Daniel Weinreb,
Xah wrote:
• A Ruby Illustration of Lisp Problems
http://xahlee.org/UnixResource_dir/writ/lisp_problems_by_ruby.html
Daniel Weinreb wrote:
Xah Lee: Elisp is an interesting choice. But without converting the
strings
Luis Zarrabeitia ky...@uh.cu wrote:
It boggles me when I see python code with properties that only set and
get the attribute, or even worse, getters and setters for that
purpose. In my university they teach the students to write properties
for the attributes in C# (never make a public
Luis Zarrabeitia ky...@uh.cu writes:
No wonder you can't get Bruno's point. For the second, static checks
to prevent accidents, you have pylint. For the first, not only you
are using the wrong tool, but you are barking at python for not
having it. Assuming that pylint is perfect (big
On Jan 20, 5:45 am, Chris Rebert c...@rebertia.com wrote:
On Mon, Jan 19, 2009 at 11:36 AM, koranthala koranth...@gmail.com wrote:
Hi,
Is it possible somehow to have the logging module rotate the files
every time I start it.
Basically, I can automatically rotate using
On 1/18/2009 9:36 AM Alan G Isaac apparently wrote:
I do not much care about the disappearance of ``execfile``.
I was asking, why is it a **good thing** that
``exec`` does not accept a TextIOWrapper?
Or is it just not implemented yet?
What is the gain from this particular backwards
Hi,
Does subprocess.Popen() count a new open file for each suprocess? I mean does
it occupy an entry in file descriptor table of parent process?
If so, wat is each file descriptor connected to?
Thanks,
Srini
Add more friends to your messenger and enjoy! Go to
Carl I just looked at the boost documentation, which claims that
Carl multiple asynchronous writes to the same shared_ptr results in
Carl undefined behavior. That will not suffice for Python reference
Carl counting.
Carl, I'm quite unfamiliar with Boost and am not a C++ person,
Hey,
I know the basics of interacting with databases in Python.
How to start a transaction in case I want to group a couple of insert
and update statements into a single operation?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Hussein B wrote:
Hey,
I know the basics of interacting with databases in Python.
How to start a transaction in case I want to group a couple of insert
and update statements into a single operation?
Please read the python database API documentation:
http://www.python.org/dev/peps/pep-0249/
s...@pobox.com writes:
Carl, I'm quite unfamiliar with Boost and am not a C++ person, so may have
read what you saw but not recognized it in the C++ punctuation soup. I
couldn't find what you referred to. Can you provide a URL?
Hi,
Wanting to print the correct plural after numbers, I did the following:
for num in range(1,4):
string_ = %d event%s % (num,lambda num: num 1 and s or )
print string_
However, instead of getting the expected output:
1 event
2 events
3 events
I get:
1 eventfunction lambda at
Hi all,
I have found the actual solution for this problem.
I tried using BeautifulSoup.SoupStrainer() and it improved memory usage
to the greatest extent.Now it uses max of 20 MB(earlier
it was 800 MB on 1GB RAM system).
thanks all.
--
Yours,
S.Selvam
--
Hi,
Barak, Ron wrote:
Hi,
Wanting to print the correct plural after numbers, I did the following:
for num in range(1,4):
string_ = %d event%s % (num,lambda num: num 1 and s or )
print string_
However, instead of getting the expected output:
1 event
2 events
3 events
I get:
1
Thanks Tino: your solutions without the lambda work nicely.
What I still don't understand is why the print does not execute the lambda and
prints the result, instead of printing the lambda's object description.
Bye,
Ron.
-Original Message-
From: Tino Wildenhain
srinivasan srinivas wrote:
Hi,
Does subprocess.Popen() count a new open file for each suprocess? I mean
does it occupy an entry in file descriptor table of parent process? If so,
wat is each file descriptor connected to?
Usually, each new process has three file-descriptors associated with it
Barak, Ron wrote:
Thanks Tino: your solutions without the lambda work nicely.
What I still don't understand is why the print does not execute the lambda and
prints the result, instead of printing the lambda's object description.
Bye,
Ron.
Well its up to the implemention what a class is
Ah, okay.
Now it's clear.
Thanks Tino.
Ron.
-Original Message-
From: Tino Wildenhain [mailto:t...@wildenhain.de]
Sent: Tuesday, January 20, 2009 14:45
To: Barak, Ron
Cc: python-list@python.org
Subject: Re: How to print lambda result ?
Barak, Ron wrote:
Thanks Tino: your solutions
Дамјан Георгиевски gdam...@gmail.com writes:
Something *like* this could work:
myip = urllib2.urlopen('http://whatismyip.org/').read()
This is going to cause all manner of problems.
Firstly, many users are stuck behind NAT routers. In this case, the
external service will report the
On Jan 20, 7:33 am, Mark Wooding m...@distorted.org.uk wrote:
Дамјан Георгиевски gdam...@gmail.com writes:
Something *like* this could work:
myip = urllib2.urlopen('http://whatismyip.org/').read()
This is going to cause all manner of problems.
Firstly, many users are stuck behind NAT
On Jan 20, 10:34 pm, Barak, Ron ron.ba...@lsi.com wrote:
What I still don't understand is why the print does not
execute the lambda and prints the result, instead of
printing the lambda's object description.
The following two statements are identical:
def f(x): return x
...
f = lambda x: x
alex23 wuwe...@gmail.com writes:
On Jan 20, 10:34 pm, Barak, Ron ron.ba...@lsi.com wrote:
for num in range(1, 4):
... string_ = %d event%s % (num, (lambda num: num 1 and s or
)(num))
... print string_
The notation here suggests Ron is sligtly confused about what he
created. It was
srinivasan srinivas sri_anna...@yahoo.co.in writes:
Does subprocess.Popen() count a new open file for each suprocess? I
mean does it occupy an entry in file descriptor table of parent
process? If so, wat is each file descriptor connected to?
On Unix, subprocess.Popen will use up a file
Hey,
I'm trying to get the get the date before today, I tried this:
d = datetime.now() - timedelta(days = -1)
But I got the date of tomorrow.
when I tried:
d = datetime.now() + timedelta(days = -1)
I got the date of yesterday.
Would you please explain to me why I got the date of yesterday when I
2009/1/20 Hussein B hubaghd...@gmail.com:
Hey,
I'm trying to get the get the date before today, I tried this:
d = datetime.now() - timedelta(days = -1)
But I got the date of tomorrow.
That's because you are taking away a negative value. This is like doing:
0 - (-1)
1
--
Cheers,
Simon B.
On Tuesday 20 January 2009 02:00:43 am Russ P. wrote:
On Jan 19, 10:33 pm, Luis Zarrabeitia ky...@uh.cu wrote:
(Why do you keep calling it 'encapsulation'?).
I keep calling it encapsulation because that is a widely accepted,
albeit not universal, definition of encapsulation.
[...]
On 2009-01-20 12:23, Hussein B wrote:
Hey,
I know the basics of interacting with databases in Python.
How to start a transaction in case I want to group a couple of insert
and update statements into a single operation?
If you use a Python DB-API compatible database module, then
transactions
On Tuesday 20 January 2009 05:00:34 am Paul Rubin wrote:
Luis Zarrabeitia ky...@uh.cu writes:
No wonder you can't get Bruno's point. For the second, static checks
to prevent accidents, you have pylint. For the first, not only you
are using the wrong tool, but you are barking at python for
Paul Rubin a écrit :
Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid writes:
Take some not-that-trivial projects like Zope/Plone. There are quite a
few lines of code involved, and quite a lot of programmers worked on it.
Zope is about 375 KLOC[1],
I was thinking about Zope2 +
1) Threads: the simulation is going to be run in a very parallel
environment with several CPUs and
http://docs.python.org/c-api/init.html#thread-state-and-
the-global-interpreter-lock there is a global lock mentioned. Does that
mean that the python code can not benefit from this ?
Not if it
Hey all,
I've been using Paramiko for sometime now and I never had any
problems. I've already submitted this question to Paramiko mailling
list but I thought I should post it in CLP as someone might have used
it in past. I'm using Paramiko for SSH. Are there any other good SSH
libraries that
Do parent process will have different file descriptor in it for each
subprocesses or paprent uses a single file descriptor for all?
I really want to know creation of each subprocess will occupy an entry in
parents'file descriptor table. B'cos if i create more than 200 subprocesses, i
am getting
Hey,
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
Would you please tell me how to do this?
Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 20 Jan 2009 12:34:04 +
Barak, Ron ron.ba...@lsi.com wrote:
Thanks Tino: your solutions without the lambda work nicely.
What I still don't understand is why the print does not execute the lambda
and prints the result, instead of printing the lambda's object description.
Because
On Jan 20, 2009, at 9:19 AM, srinivasan srinivas wrote:
Do parent process will have different file descriptor in it for each
subprocesses or paprent uses a single file descriptor for all?
I really want to know creation of each subprocess will occupy an
entry in parents'file descriptor
I've just started working with unittests and already hit a snag. I
couldn't find out how to implement a setup function, that is executed
only _once_ before all of the tests. Specifically, I need this for
testing my database interface, and naturally I don't want to create a
new database in-memory
On Tue, 20 Jan 2009 09:26:14 -0500
D'Arcy J.M. Cain da...@druid.net wrote:
%s % lambda num: int(num)
Of course I meant...
%s % (lambda num: int(num))
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
http://www.druid.net/darcy/| and a sheep voting on
On Jan 20, 8:19 am, Hussein B hubaghd...@gmail.com wrote:
Hey,
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
Would you please tell me how to do this?
Thanks in advance.
I
Hussein B wrote:
Hey,
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
Would you please tell me how to do this?
First day: create a new date-object with the day==1.
Last day:
Georg Schmid wrote:
I've just started working with unittests and already hit a snag. I
couldn't find out how to implement a setup function, that is executed
only _once_ before all of the tests. Specifically, I need this for
testing my database interface, and naturally I don't want to create a
In article
45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com,
Georg Schmid gspsch...@gmail.com wrote:
I've just started working with unittests and already hit a snag. I
couldn't find out how to implement a setup function, that is executed
only _once_ before all of the tests.
En Tue, 20 Jan 2009 08:11:52 -0200, koranthala koranth...@gmail.com
escribió:
On Jan 20, 5:45 am, Chris Rebert c...@rebertia.com wrote:
On Mon, Jan 19, 2009 at 11:36 AM, koranthala koranth...@gmail.com
wrote:
Is it possible somehow to have the logging module rotate the files
every time
Hussein B wrote:
Hey,
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
In order to not deprive you of the sense of accomplishment from figuring
things out for yourself, I'll give
Hussein B wrote:
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
Would you please tell me how to do this?
Thanks in advance.
dateutil can do this and much, much more.
from
On Jan 20, 10:57 pm, Tim Northover t.p.northo...@sms.ed.ac.uk wrote:
Notice that there's no actual mention of num there, it's a function that
takes one parameter. If that parameter happens to be num it does what
you want, but there's no way for the interpreter to know what was
intended.
Which
Carsten Haese wrote:
In order to not deprive you of the sense of accomplishment
Sorry for spoiling that. If you still want the sense of accomplishment,
try to reimplement dateutil (and rrule). It's not as easy as it seems :-o
--
http://mail.python.org/mailman/listinfo/python-list
I am using 'smtplib' module to send an email but getting exception...
smtplib.SMTP(nailservernam throw error :
here is trace back snippet :-
smtp = smtplib.SMTP(self.server)
File D:\Python24\lib\smtplib.py, line 244, in __init__
(code, msg) = self.connect(host, port)
File
Marco Mariani wrote:
dateutil can do this and much, much more.
Using dateutil for this is like using a sledgehammer to kill a fly. The
task at hand can (and IMHO should) be solved with the standard datetime
module.
--
Carsten Haese
http://informixdb.sourceforge.net
--
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
Would you please tell me how to do this?
from datetime import date, datetime, timedelta
def prev_bounds(when=None):
... if not
Carsten Haese wrote:
dateutil can do this and much, much more.
Using dateutil for this is like using a sledgehammer to kill a fly. The
task at hand can (and IMHO should) be solved with the standard datetime
module.
Sure, but many python programmers are not even aware of the existence of
Spoofy spoo...@gmx.net writes:
.. snip ..
2.
For maintaining the character attributes I creates a seperate class. I
wonder weather this is an overuse of OO (instead of just making the
attributes plain variables of the Char class) and if the way I wrote
this is OK (somehow this looks cool
On Jan 20, 3:57 pm, Roy Smith r...@panix.com wrote:
In article
45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com,
Georg Schmid gspsch...@gmail.com wrote:
I've just started working with unittests and already hit a snag. I
couldn't find out how to implement a setup function,
hi...
in general, i've found that using route to find the iface for the default
gets me the interface in use... i then parse either ifconfig/iwconfig, to
get the address of the nic for that interface.. it's worked ok so far on
most machines i've dealt with...
thoughts/comments are of course
En Mon, 19 Jan 2009 20:50:43 -0200, Grimes, George georgegri...@ti.com
escribió:
I am trying to learn Python and I installed version 2.6 both at home and
at work. At home, on
Vista, everything works fine. At work, on XP, IDLE would not run. I
uninstalled/reinstalled
and got the same
On Jan 20, 5:04 pm, Carsten Haese carsten.ha...@gmail.com wrote:
Hussein B wrote:
Hey,
I'm creating a report that is supposed to harvest the data for the
previous month.
So I need a way to get the first day and the last day of the previous
month.
In order to not deprive you of the
You told me to think how to get the first day of the previous month,
well how to know if the previous month is 28, 29, 30 or 31 days?
Find the first day of the *current* month, and then subtract one
day (use the timedelta object). You'll end up with the last day
of the previous month as a
Roy Smith r...@panix.com wrote:
You might have your setUp() method re-assign the global to an instance
variable and then your test cases can access it via self.whatever.
The reason for that is if at some point in the future you change your
mind and decide to re-build the database in setUp()
I have a thread that is off reading things some of which will get
written into a file while another UI thread manages input from a user.
The reader-thread and the UI-thread will both want to write stuff to the
same output file. What first comes to mind is that there may be write
collisions,
On Jan 20, 9:19 am, srinivasan srinivas sri_anna...@yahoo.co.in
wrote:
Do parent process will have different file descriptor in it for each
subprocesses or paprent uses a single file descriptor for all?
I really want to know creation of each subprocess will occupy an entry in
parents'file
On Tue, 20 Jan 2009 10:57:52 -0500
RGK bl...@empty.blank wrote:
I have a thread that is off reading things some of which will get
written into a file while another UI thread manages input from a user.
The reader-thread and the UI-thread will both want to write stuff to the
same output
RGK wrote:
I have a thread that is off reading things some of which will get
written into a file while another UI thread manages input from a user.
The reader-thread and the UI-thread will both want to write stuff to the
same output file. What first comes to mind is that there may be write
On Monday 19 January 2009 09:24:09 Eric Brunel wrote:
This is not the procedure I describe in the original post. The first time,
it works for me too. It's only after I used the file dialog that it stops
working.
You are right, my mistake.
--
José Abílio
--
MatthewS schaefer...@gmail.com writes:
I'd like to know if the following behavior is expected and can be
avoided: I have a Pyro server object that maintains a queue of work,
and multiple Pyro worker objects that take work off the queue by
calling a method on the server (get_work) and then
Diez B. Roggisch de...@nospam.web.de writes:
Usually, each new process has three file-descriptors associated with
it - stdin,stdout and stderr.
So when you span a process, the overall count of FDs should increase
by three.
Yes, but that's irrelevant. There are two file limits which are
I'll let this thought fester but I thought I'd put together a PEP to make
this a function. Possibly in some util library but preferibly in the sys
library sense this is where to get information about the system you are
running on.
On Tue, Jan 20, 2009 at 6:33 AM, Mark Wooding
rasikasriniva...@gmail.com rasikasriniva...@gmail.com writes:
one way to get your head around this is - IP Addresses are associated
with the interface and not the computer. distinction may be subtle but
critical.
Actually this is wrong for most Unix systems, which use the `weak
end-system
That doesn't mean that you can get away with a single address for the
entire host, though: you need addresses which correspond to the networks
you're attached to.
-- [mdw]
especially sense we are also getting into virtual NICs where you can have a
webserver listening to one and broadcasting
Free-test russian xxx site http://xxx.gamapa.ru http://xxx.gamapa.ru
--
View this message in context:
http://www.nabble.com/Free-test-russian-xxx-site-tp21568375p21568375.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
Can you overload methods in Python?
Can I have multiple __inits__ with different parameters passed in?
Thanks.
Kevin
--
http://mail.python.org/mailman/listinfo/python-list
Free-test russian xxx site http://xxx.gamapa.ru http://xxx.gamapa.ru
--
View this message in context:
http://www.nabble.com/Free-test-russian-xxx-site-tp21568438p21568438.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
Free-test russian xxx site http://xxx.gamapa.ru http://xxx.gamapa.ru
--
View this message in context:
http://www.nabble.com/Free-test-russian-xxx-site-tp21568445p21568445.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
so the question really starts to look like:
-what's the default listening address for my app (insert nic)?
-what's the default sending address for my app (insert nic)?
-what's the default listening address for my server?
-what's the default sending address for my server?
-what's the default
On Jan 17, 6:10 pm, The Music Guy music...@alphaios.net wrote:
Wow, impressive responses.
It sounds like the general consensus is that English would not be a good
choice for programming even if there were an interpreter capable of
turning human language into machine language. But that makes
¡Muchas gracias! That was the hint that I needed, Gabriel. I had a problem
with my path definition and running idle the way you indicated gave me an
error message saying that it could not find a valid init.tcl on the path.
I have fixed the problem and can now run idle at work.
Thanks again!
Free-test russian xxx site http://xxx.gamapa.ru http://xxx.gamapa.ru
--
View this message in context:
http://www.nabble.com/Free-test-russian-xxx-site-tp21568578p21568578.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
K-Dawg wrote:
Can you overload methods in Python?
Can I have multiple __inits__ with different parameters passed in?
Simple answer: no.
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 20, 5:23 am, John Machin sjmac...@lexicon.net wrote:
On Jan 20, 12:54 pm, gert gert.cuyk...@gmail.com wrote:
How do you convert s back to binary data in python 3 so I can put in a
sqlite blob ?
Is there a build in function or do I need to use binascii ?
byte(s) or bin(s) would
On Tue, Jan 20, 2009 at 10:18 AM, MRAB goo...@mrabarnett.plus.com wrote:
K-Dawg wrote:
Can you overload methods in Python?
Can I have multiple __inits__ with different parameters passed in?
Simple answer: no.
More complicated answer: Yes, with some caveats.
You usually don't need to
Thanks for the suggestions - sounds like a couple good options, I
apprecieate it.
Ross.
MRAB wrote:
RGK wrote:
I have a thread that is off reading things some of which will get
written into a file while another UI thread manages input from a user.
The reader-thread and the UI-thread will
On Tue, 20 Jan 2009 11:08:46 -0500, D'Arcy J.M. Cain wrote:
On Tue, 20 Jan 2009 10:57:52 -0500
RGK bl...@empty.blank wrote:
I have a thread that is off reading things some of which will get
written into a file while another UI thread manages input from a user.
The reader-thread and the
Aaron Brady wrote:
I think it would be a good step if you could make some sensible
interpretation of a typical statement without its parentheses.
f abc 123
--
f( abc, 123 )
It would be just the thing in a couple of situations...
Such a language is possible -- take a look at REALbasic
On Jan 20, 9:57 am, Roy Smith r...@panix.com wrote:
In article
45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com,
Georg Schmid gspsch...@gmail.com wrote:
I've just started working with unittests and already hit a snag. I
couldn't find out how to implement a setup function,
On Jan 20, 5:33 am, Luis Zarrabeitia ky...@uh.cu wrote:
On Tuesday 20 January 2009 05:00:34 am Paul Rubin wrote:
Luis Zarrabeitia ky...@uh.cu writes:
No wonder you can't get Bruno's point. For the second, static checks
to prevent accidents, you have pylint. For the first, not only you
Python is English-like enough that everybody including non-programmers can
understand it.e.g
# Import the operating system module
import os
# define new function
def open_dir_tree(path):
for File in os.listdir(path):
file_or_dir = os.path.join(path, File)
# Read the line
On Jan 21, 2:07 am, Marco Mariani ma...@sferacarta.com wrote:
Carsten Haese wrote:
In order to not deprive you of the sense of accomplishment
Sorry for spoiling that. If you still want the sense of accomplishment,
try to reimplement dateutil (and rrule). It's not as easy as it seems :-o
On Tue, Jan 20, 2009 at 7:27 PM, Tim Arnold tim.arn...@sas.com wrote:
I had the same problem you did, but then I changed the code to create a new
soup object for each file.That drastically increased the speed. I don't
know why, but it looks like the soup object just keeps getting bigger with
On Jan 20, 12:58 pm, Joe Strout j...@strout.net wrote:
Aaron Brady wrote:
I think it would be a good step if you could make some sensible
interpretation of a typical statement without its parentheses.
f abc 123
--
f( abc, 123 )
It would be just the thing in a couple of situations...
bruce bedoug...@earthlink.net writes:
[a top-posted monstrosity]
so the question really starts to look like:
-what's the default listening address for my app (insert nic)?
-what's the default sending address for my app (insert nic)?
-what's the default listening address for my server?
Aaron Brady wrote:
Unambiguity and readability are two different things. (This should be
a quasi-tangent, neither agreed, nor opposed, nor unrelated to what
you said.)
If you have
f abc 123
it's unambiguous, but, if you have
g f abc 123 def
there's no sure way to determine where the call
On Tue, Jan 20, 2009 at 3:46 AM, Paul Rubin
http://phr.cx@nospam.invalid wrote:
s...@pobox.com writes:
Carl, I'm quite unfamiliar with Boost and am not a C++ person, so may have
read what you saw but not recognized it in the C++ punctuation soup. I
couldn't find what you referred to. Can you
On Jan 20, 12:04 pm, Russ P. russ.paie...@gmail.com wrote:
Hey, if pylint can reliably detect private data access violations,
that's good news to me. I haven't used it, so I don't know. (I used
pychecker a while back, but I haven't used that for a while either.)
If pylint can check access
Thank you for the explanation. With my background in Java, I have to get
myself to think a little differently.
Kevin
On Tue, Jan 20, 2009 at 1:41 PM, Chris Rebert c...@rebertia.com wrote:
On Tue, Jan 20, 2009 at 10:18 AM, MRAB goo...@mrabarnett.plus.com wrote:
K-Dawg wrote:
Can you
Carl Banks pavlovevide...@gmail.com wrote:
I just looked at the boost documentation, which claims that multiple
asynchronous writes to the same shared_ptr results in undefined
behavior. That will not suffice for Python reference counting.
If you read the Boost documentation you'll see that
(top-posting just for consistency)
In that case, you might also be interested in:
http://dirtsimple.org/2004/12/python-is-not-java.html
Cheers,
Chris
On Tue, Jan 20, 2009 at 12:19 PM, K-Dawg kdaw...@gmail.com wrote:
Thank you for the explanation. With my background in Java, I have to get
On Jan 16, 5:37 pm, Brendan Miller catph...@catphive.net wrote:
So I kind of wanted to ask this question on the pypy mailing list..
but there's only a pypy-dev list, and I don't want to put noise on the
dev list.
What's the point of RPython? By this, I don't mean What is RPython?
I get that.
On Jan 21, 5:31 am, gert gert.cuyk...@gmail.com wrote:
On Jan 20, 5:23 am, John Machin sjmac...@lexicon.net wrote:
On Jan 20, 12:54 pm, gert gert.cuyk...@gmail.com wrote:
How do you convert s back to binary data in python 3 so I can put in a
sqlite blob ?
Is there a build in function
On Jan 19, 9:24 am, bill wgr...@draper.com wrote:
All,
This may sound somewhat convoluted, but here goes:
1. I have a Python script that invokes builds in Visual Studio via the
command line interface - 'devenv'
2. It works GREAT
3. I have added a post_build event to a VS Solution that has
On Jan 19, 9:00 pm, Brendan Miller catph...@catphive.net wrote:
Maybe I'm missing something here but a lock free algorithm for
reference counting seems pretty trivial. As long as you can atomically
increment and decrement an integer without locking you are pretty much
done.
lock free is
1 - 100 of 277 matches
Mail list logo