Announcing new project, Tftpy, a Pure Python TFTP implementation.
About Release 0.1:
==
This is an initial release in the spirit of release early, release often.
Currently the sample client works, supporting RFC 1350. The server is not yet
implemented, and RFC 2347 and 2348
Announcing Urwid 0.9.7.1
Urwid home page:
http://excess.org/urwid/
Tarball:
http://excess.org/urwid/urwid-0.9.7.1.tar.gz
About this release:
===
This release fixes bugs introduced in the Padding and Overlay classes in
the previous release.
I am pleased to announce version 2.12.2 of the Python bindings for GObject.
The new release is available from ftp.gnome.org as and its mirrors
as soon as its synced correctly:
http://download.gnome.org/sources/pygobject/2.12/
What's new since PyGObject 2.12.1:
- Make PyGObject 64-bit
QOTW: If you want your objects to know their name, give them a name as
an attribute. - Georg Brandl
Unfortunately forty years of programming experience has taught me that
there's an essentially infinite supply of mistakes to make ... your
mistakes just get smarter most of the time. - Steve
Larry Hastings wrote:
John Machin wrote:
try benchmarking this ... well style may not be the appropriate word
Running this under Python 2.5 release:
x = []
xappend = x.append
for i in xrange(1000):
xappend(a)
y = .join(x)
took 3281ms.
Running this under
Bryan wrote:
i would like to save an exception and reraise it at a later time.
something similar to this:
exception = None
def foo():
try:
1/0
except Exception, e:
exception = e
if exception: raise exception
with the above code, i'm able to successfully raise
Ted Zeng wrote:
Hi,
I store some test results into a database after I use python
To pickle them (say, misfiles=['file1','file2'])
Now I want to display the result on a web page which uses PHP.
How could the web page unpickle the results and display them?
Is there a PHP routine that can
Daniel Nogradi wrote:
What would the simplest way to make an application that has both a web
interface and runs from behind a web server but also can be used as a
standalone app with a gui? More precisely is it possible to avoid
creating an html/xml/whatever based web interface for the web
Bryan wrote:
hi,
i would like to save an exception and reraise it at a later time.
something similar to this:
exception = None
def foo():
try:
1/0
except Exception, e:
exception = e
if exception: raise exception
i have a need to do this because in
What's your set-up and which cord are you pulling?
Well i now i think the clue is in the OS, i have sniffed and it seems
that Twisted have no magic.
It is seems that i simply tested things in a wrong way -
when i pulled cord from ethernet card windows determined that network
lost and started
Thanks a bunch! That is just what I was looking for !
Best regards Jakob
Bryan Olson skrev:
[EMAIL PROTECTED] wrote:
Hi. How can I determin the hwaddr or ipaddress of the networkinterface
that is used in an outgoing connection?
Is sock_object.getsockname() enough?
At Tuesday 3/10/2006 02:15, Bryan wrote:
i would like to save an exception and reraise it at a later time.
def foo():
  try:
    1/0
  except Exception, e:
    exception = e
if exception: raise exception
with the above code, i'm able to successfully raise the exception,
[EMAIL PROTECTED] wrote:
Hi,
it is a kind of nooby question. Is there a way to transfer a CGI python
script to mod_python without rewriting the code?
Did you look in the mod_python documentation?
http://www.modpython.org/live/current/doc-html/hand-cgi.html
It certainly isn't the
Check out the os module, especially the
os.getgid(),
os.getuid(),
os.setgid(),
os.getuid(),
methods. There are more , take at a look at Python documentation.
You can start a script as root then change your priveleges with
os.setgid() os.setuid() methods. Note: those methods operate with
integer
Michele Simionato ha scritto:
Paolo wrote:
Ciao a tutti, sto cercando di implementare un applicazione che si
interfaccia con postgresql(8.1), utilizzando Psycopg2, in ambiente
windows (python versione 2.5). Ho installato Psycopg2 e provando
solamente fare: import psycopg mi ritorna il
On Mon, 02 Oct 2006 14:42:15 +0200, Paolo Pantaleo
[EMAIL PROTECTED] wrote:
Hi,
I am going on writing my video conference software. I wrote the video
grab, code/decode, and netwoark (multicast) transport.
I have one thread doing this:
[thread 1]
while True:
for some times:
Eric Brunel [EMAIL PROTECTED] writes:
General answer: no, it isn't. The only thing that seems to work
everytime on tk widgets from secondary threads is generating events
as above.
I wouldn't bet on even that always being safe.
If you try to do anything else, you may experience deadlocks or
Hello,
I'm running on Windows and I want to test VTK but I don't understand
how build it
Somebody can help me to build VTK for Python 2.5 under Windows? (or
Python 2.43 if python 2.5 is a problem)
I have no C compiler but I can install one if it's free.
Thank you
Seb
--
Looking around for a Cryptography tool kit, the best recommendations I
found about was for pyCrypto. I try to install it unsuccessfully in my
windowsXP SP2 with python 2.4.3 and I get the following message :
C:\Python24\pycrypto-2.0.1python setup.py build
running build
running build_py
running
Dennis Lee Bieber [EMAIL PROTECTED] wrote:
Of course, there is also the confusion between type cast and type
conversion -- at least, for me...
cast taking the bit-pattern of a value in one type and
interpreting the same bit-pattern as if it were a different type
conversion
NicolasG [EMAIL PROTECTED] writes:
Can some one guide me how to fix the problem above or point me to
another Cyrptography library that I can use easily ?
There are several. What do you want to do with it?
--
http://mail.python.org/mailman/listinfo/python-list
NicolasG wrote:
I have installed .NET framework latest release.
The SDK is different from the framework. ;)
Can some one guide me how to fix the problem above or point me to
another Cyrptography library that I can use easily ?
Prebuilt binaries:
OneMustFall a écrit :
What's your set-up and which cord are you pulling?
Well i now i think the clue is in the OS, i have sniffed and it seems
that Twisted have no magic.
It is seems that i simply tested things in a wrong way -
when i pulled cord from ethernet card windows determined
Hello,
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation, recommends
using a non open source tracker (called JIRA - never heard before of course)
for Python itself.
Does
Hi Daniel.
What would the simplest way to make an application that has both a web
interface and runs from behind a web server but also can be used as a
standalone app with a gui? More precisely is it possible to avoid
creating an html/xml/whatever based web interface for the web version
and
Hello guys,
I have data stored in the database which has special characters
like , etc.
Case 1: Whenever I wanted to present the output to a browser
I need to escape these special characters into the browser
equivalent like lt; gt; etc.( for example by using the cgi module)
Case 2:
Correction: I meant __builtin__.getattr method and not the other one I
mentioned.
:-)
Thanks
Raja
Raja Raman Sundararajan skrev:
Hello guys,
I have data stored in the database which has special characters
like , etc.
Case 1: Whenever I wanted to present the output to a browser
I
Giovanni Bajo wrote:
Hello,
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends
using a non open source tracker (called JIRA - never heard before of
Thanks Dave for this tip, this is excellent, exactly what I have been
looking for!
I'm using it already :-)
Kind Regards,
Peter
[EMAIL PROTECTED] wrote:
On Oct 1, 2006, at 6:28 PM, Peter Mexbacher wrote:
Hello,
we want to teach absolute programming newbies
a first language, so they can
Giovanni Bajo wrote:
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends
using a non open source tracker (called JIRA - never heard before of course)
for
I have made a site using Karrigell as a web server and I want to
provide cryptography services to the visitors. They should wirte their
text on the site and be able choose different encryption algorithms to
apply on the text .
MonkeeSage wrote:
NicolasG wrote:
I have installed .NET framework
NicolasG [EMAIL PROTECTED] writes:
I have made a site using Karrigell as a web server and I want to
provide cryptography services to the visitors. They should wirte their
text on the site and be able choose different encryption algorithms to
apply on the text .
Um, why? Just as an exercise?
Giovanni Bajo [EMAIL PROTECTED] writes:
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends using a non open source tracker (called JIRA - never
heard before
At Tuesday 3/10/2006 05:24, Raja Raman Sundararajan wrote:
Hello guys,
I have data stored in the database which has special characters
like , etc.
Case 1: Whenever I wanted to present the output to a browser
I need to escape these special characters into the browser
equivalent like
Robert Kern wrote:
Does this smell Bitkeeper fiasco to anyone else than me?
No.
that's just not true. lots of people have voiced concerns over using
closed-sourced stuff originally designed for enterprise-level Java users
for an application domain where Python has several widely used
I have data stored in the database which has special characters
like , etc.
Case 1: Whenever I wanted to present the output to a browser
I need to escape these special characters into the browser
equivalent like lt; gt; etc.( for example by using the cgi module)
Case 2: Whenever
George Young wrote:
...
I am puzzled that creating large dicts with an explicit iterable of
key,value pairs seems to be slow. I thought to save time by doing:
palettes = dict((w,set(w)) for w in words)
instead of:
palettes={}
for w in words:
palettes[w]=set(w)
In the
NicolasG wrote:
I need the modules source to use it with my web server.
I thought you were trying to compile and install the pyCrypto
extension? If that is the case, then download the installer from the
page I linked to.
Regards,
Jordan
--
http://mail.python.org/mailman/listinfo/python-list
Hi everybody,
I am currently playing around with ctypes and a C library (libWand
from ImageMagick), and as I want to easily deploy it on Mac, Linux and
Windows, I prefer a ctypes solution over a C module. At least on
windows, I would have resource problems to compile the C module. So,
ctypes is
Hi,
How can I pass Array, Hash, and a plain variable
in to a function at the same time.
I come from Perl. Where as you probably know
it is done like this:
sub myfunc {
my ($plain_var, $hash_ref,$arref) = @_;
# Do sth with those variables
return;
}
I wonder how can that be
Wijaya Edward wrote:
I wonder how can that be done in Python.
def myfunc(plain_var, hash_ref, arref):
# Do sth with those variables
return
Regards,
Jordan
--
http://mail.python.org/mailman/listinfo/python-list
MonkeeSage wrote:
Wijaya Edward wrote:
I wonder how can that be done in Python.
def myfunc(plain_var, hash_ref, arref):
# Do sth with those variables
return
At the risk of being a jerk (sorry, I'm really just curious):
Why isn't that obvious?
wildemar (sorry)
--
Wildemar Wildenburger wrote:
MonkeeSage wrote:
Wijaya Edward wrote:
I wonder how can that be done in Python.
def myfunc(plain_var, hash_ref, arref):
# Do sth with those variables
return
At the risk of being a jerk (sorry, I'm really just curious):
Why isn't that obvious?
At Tuesday 3/10/2006 06:05, Wijaya Edward wrote:
How can I pass Array, Hash, and a plain variable
in to a function at the same time.
I come from Perl. Where as you probably know
it is done like this:
sub myfunc {
my ($plain_var, $hash_ref,$arref) = @_;
# Do sth with those variables
[EMAIL PROTECTED] wrote:
it is a kind of nooby question. Is there a way to transfer a CGI python
script to mod_python without rewriting the code?
Had you used WebStack [1] to begin with, this migration would involve
changing a few lines of glue code. However, as others have pointed out,
WSGI
What would the simplest way to make an application that has both a web
interface and runs from behind a web server but also can be used as a
standalone app with a gui? More precisely is it possible to avoid
creating an html/xml/whatever based web interface for the web version
and
In article [EMAIL PROTECTED], Paul Boddie wrote:
it is a kind of nooby question. Is there a way to transfer a CGI python
script to mod_python without rewriting the code?
Had you used WebStack [1] to begin with, this migration would involve
changing a few lines of glue code.
Or Jonpy ;-)
It's a dream of human beings to build machines that can think and
behave like human beings. The most important part of of such a machine
is an artificial mind that can emulate the cognitive processing of
human mind.
This book, Next Generation Artificial Intelligence, Artificial Mind -
Part One -
Hi,
I would expect this to work,
rawstring=r'some things\new things\some other things\'
But it fails as the last backslash escapes the single quote.
..although writing this I think I have solved my own problem. Is \' the
only thing escaped in a raw string so you can place ' in a raw string?
Paul Rubin wrote:
Giovanni Bajo [EMAIL PROTECTED] writes:
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends using a non open source tracker (called JIRA -
I have a system that has a few lists that are very large (thousands or
tens of thousands of entries) and some that are rather small. Many times
I have to produce the difference between a large list and a small one,
without destroying the integrity of either list. I was wondering if
anyone has any
Matthew Warren wrote in news:mailman.1152.1159872720.10491.python-
[EMAIL PROTECTED] in comp.lang.python:
I would expect this to work,
rawstring=r'some things\new things\some other things\'
It in the docs:
url:http://docs.python.org/ref/strings.html#l2h-14
... Specifically, a raw string
Matthew Warren [EMAIL PROTECTED] wrote:
I would expect this to work,
rawstring=r'some things\new things\some other things\'
But it fails as the last backslash escapes the single quote.
..although writing this I think I have solved my own problem. Is \'
the only thing escaped in a raw
Chaz Ginger [EMAIL PROTECTED] wrote:
I have a system that has a few lists that are very large (thousands or
tens of thousands of entries) and some that are rather small. Many times
I have to produce the difference between a large list and a small one,
without destroying the integrity of
Chaz Ginger [EMAIL PROTECTED] writes:
I have a system that has a few lists that are very large (thousands or
tens of thousands of entries) and some that are rather small. Many times
I have to produce the difference between a large list and a small one,
without destroying the integrity of
In article [EMAIL PROTECTED], Matthew Warren wrote:
I would expect this to work,
rawstring=r'some things\new things\some other things\'
But it fails as the last backslash escapes the single quote.
String constants in Python are weird - raw strings doubly so.
In a raw string, backslashes
Johan, your way of doing it resembles XUL somewhat, although I can't
say I fully understand XUL I just took a look some days ago. Let me
see if I understand your approach:
Yes it's a lot like XUL, but there are some major differences. The most
important one is that, at least back then, you had
I agree with Steve and I would advise to use an Ajax toolkit (such as
JQuery for example) which will help to make your UI act as a desktop
application (and even better if you are creative).
Olive.
--
http://mail.python.org/mailman/listinfo/python-list
Giovanni Bajo wrote:
Does this smell Bitkeeper fiasco to anyone else than me?
I can't understand why people waste time arguing this stuff.
Use whatever tool is best at it's job... if it's not written in Python
it doesn't mean that Python is not good for the task, only that there
hasn't been
Hello,
Does anyone know of the most straightforward way to get rid of the
intensely annoying console window that py2app feels so compelled to
create?
On a related but less important note, why would anyone want that stupid
window in the first place?
James
--
Jon Ribbens [EMAIL PROTECTED] wrote:
I presume there was originally some reason for this bizarre behaviour
- it'd be interesting to know what it is/was, if anyone knows?
See the FAQ for the explanation:
Chaz Ginger írta:
I have a system that has a few lists that are very large (thousands or
tens of thousands of entries) and some that are rather small. Many times
I have to produce the difference between a large list and a small one,
without destroying the integrity of either list. I was
Steve Holden [EMAIL PROTECTED] writes:
Paul Rubin wrote:
Giovanni Bajo [EMAIL PROTECTED] writes:
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends using a
Hi Everyone, am a developer using Zope and wanted to know if any of you have ever implemented a pdf generating/creating system using python? This just means mostly manipulating pdfs (create and/or edit) via web. If you guys have any suggestions or recommendations please post, thanks.
--
Paul Rubin wrote:
Giovanni Bajo [EMAIL PROTECTED] writes:
Does this smell Bitkeeper fiasco to anyone else than me?
I probably said as much before, possibly to the distaste of some
individuals. Still, the BitKeeper story should serve as a reminder
about relinquishing control of infrastructure
Hello,
I using py_s60 for calling from my program to phone,but I have one
problem.
When I want run py_s60 with python 2.4:
FIRST ERROR:
import telephone
Traceback (most recent call last):
File pyshell#2, line 1, in -toplevel-
if e32.s60_version_info=(3,0):
AttributeError: 'module' object
Hello,I heard a lot of people from the Ruby community claiming that Python, like Perl, was a scripting langagethat was changed aftewards to be object compatible, and that was making it not as good as Ruby, object-oriented from the begenning.
Is that true ?Thanks for your answersBertrand
--
MonkeeSage wrote:
Wildemar Wildenburger wrote:
MonkeeSage wrote:
Wijaya Edward wrote:
I wonder how can that be done in Python.
def myfunc(plain_var, hash_ref, arref):
# Do sth with those variables
return
At the risk of being a jerk (sorry, I'm really just curious):
Why isn't that
Hi,
On 10/3/06, Giovanni Bajo [EMAIL PROTECTED] wrote:
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends
using a non open source tracker (called JIRA -
James Stroud wrote:
Hello,
Does anyone know of the most straightforward way to get rid of the
intensely annoying console window that py2app feels so compelled to
create?
On a related but less important note, why would anyone want that stupid
window in the first place?
James
I
Hello Gabriel Genellina and Diez B. Roggisch,
Thanks for sharing your opinions. I agree with Gabriel when he
talks about the separation between the presentation and the DB level
access and the drawbacks of introducing character manipulation. The
problem that I am facing right now is that the
tommak wrote:
It's a dream of human beings to build machines that can think and
behave like human beings. The most important part of of such a machine
is an artificial mind that can emulate the cognitive processing of
human mind.
This book, Next Generation Artificial Intelligence,
Matthew Warren wrote:
I would expect this to work,
rawstring=r'some things\new things\some other things\'
But it fails as the last backslash escapes the single quote.
raw string literals are parsed in exactly the same way as ordinary string
literals; it's
just the mapping from the string
Bertrand Ballis wrote:
I heard a lot of people from the Ruby community claiming that Python, like
Perl, was a scripting langage that was changed aftewards to be object
compatible, and that was making it not as good as Ruby, object-oriented
from the begenning.
Is that true ?
nope.
/F
[EMAIL PROTECTED] wrote:
Giovanni Bajo wrote:
Does this smell Bitkeeper fiasco to anyone else than me?
I can't understand why people waste time arguing this stuff.
Because people care about it, I guess.
Use whatever tool is best at it's job... if it's not written in Python
it doesn't
On Tue, 03 Oct 2006 08:19:10 GMT,
Giovanni Bajo [EMAIL PROTECTED] wrote:
... using a non open source tracker (called JIRA - never heard
before of course) for Python itself.
Other projects do use it; see
http://wiki.apache.org/general/ApacheJira for a partial list, and a
link to the
I was looking at vpython and it would seem to be an easy thing to
add to boa-constuctors classes but I am not sure if that is possible
within the boa-constructor interface. Is it possible to do without
combining it with wxwindows?? Is there any examples besides the simple
one that comes
Ben Finney [EMAIL PROTECTED] writes:
The existing SourceForge system runs on non-free software, which is a
significant differentiator from Bugzilla.
The SourceForge software, at least in some versions, is free software.
See for example http://savannah.gnu.org for an instantiation, which
may be
Giovanni Bajo schrieb:
I just read this mail by Brett Cannon:
http://mail.python.org/pipermail/python-dev/2006-October/069139.html
where the PSF infrastracture committee, after weeks of evaluation,
recommends
using a non open source tracker (called JIRA - never heard before of course)
for
Ben Finney schrieb:
I would be greatly dismayed to see the PSF choosing to move critical
Python development data into a non-free system.
Then volunteer to help operating the Roundup installation. It will
become reality if there are enough volunteers to keep it running.
I hope this
In article [EMAIL PROTECTED], Duncan Booth wrote:
I presume there was originally some reason for this bizarre behaviour
- it'd be interesting to know what it is/was, if anyone knows?
See the FAQ for the explanation:
Paul Rubin schrieb:
Sounds crazy, what's wrong with bugzilla?
Nobody offers to operate it: that's wrong. We put out a call
for trackers, and nobody (niemand, nirgendwo) was willing
to setup a bugzilla installation, work on an SF data import,
and offered to operate this installation for the
Bertrand Ballis wrote:
I heard a lot of people from the Ruby community claiming that Python, like
Perl, was a scripting langage that was changed aftewards to be object
compatible, and that was making it not as good as Ruby, object-oriented
from the begenning.
Sounds like a bunch of hooey on
NicolasG wrote:
Looking around for a Cryptography tool kit, the best recommendations I
found about was for pyCrypto. I try to install it unsuccessfully in my
windowsXP SP2 with python 2.4.3 and I get the following message :
C:\Python24\pycrypto-2.0.1python setup.py build
running build
Does George's example raise the question:
why do dictionaries not implement efficient creation
for two common cases?
- Making a dict from two sequences of the same length.
- Making a dict from a sequence and a function
(as in George's example in this thread).
The current situation is:
use a
Hi,
I'm wondering if anyone can please help me on figuring out a better way
of doing an excepthook. I have a script which is using an excepthook to
catch any uncaught exceptions - there usually aren't any except when I
am messing with the code, like right now :-)
The problem is that the
David Isaac wrote:
The current situation is: use a loop because the obvious generator
approach is not efficient.
not efficient compared to what ?
/F
--
http://mail.python.org/mailman/listinfo/python-list
I've install MS Visual C++ toolkit 2003 and cmake
but I don't really know how it work.
there's somebody who can compile VTK for python 2.5 under windows for
me ?
thank you
(And sorry for my english, I'm French)
Seb
Sébastien Ramage wrote:
Hello,
I'm running on Windows and I want to test
Hello group!We know that Python have many components not too knowledge.I think that I'm looking for one of them.I need embed a good document editor ( as Word or Writer ) in my small python application, for document editing.
It's to lawyers make important documents and control them using the
On 10/3/06, Weko Altamirano [EMAIL PROTECTED] wrote:
Hi Everyone, am a developer using Zope and wanted to know if any of you have
ever implemented a pdf generating/creating system using python? This just
means mostly manipulating pdfs (create and/or edit) via web. If you guys
have any
John Machin wrote:
Frederic Rentsch wrote:
Hi all,
I have a class Time_Series derived from list. It lists days and
contains a dictionary of various Lists also derived from list which
contain values related to said days. (e.g. Stock quotes, volumes traded,
etc.)
I defined an
Hello AllI want to import a module I wrote to use it in a script. But, it is not in the same directory as the script I want to import it into. So my solution is to put the following piece of code in the script:import osos.chdir(the direcotry where the module is kept)import the moduleThis generates
I don't know enough about Python internals, but the suggested solutions
all seem to involve scanning bigList. Can this presumably linear
operation be avoided by using dict or similar to find all occurrences of
smallist items in biglist and then deleting those occurrences?
Bill Williams
In
Thanks for your understanding Steve.
Furthermore, my related concern
is how does Python actually deal with 'reference' in Perl.
But now, it is clear to me now that Python simply
treats them as object.
Regards,
Edward WIJAYA
SINGAPORE
From: [EMAIL
I don't know much about the python internals either, so this may be the
blind leading the blind, but aren't dicts much slower to work with than
lists and therefore wouldn't your suggestion to use dicts be much
slower? I think it's something to do with the comparative overhead of
using keys in
izak marais [EMAIL PROTECTED] writes:
I want to import a module I wrote to use it in a script. But, it is
not in the same directory as the script I want to import it into.
I can think of two sensible solutions.
One is to change the 'sys.path' list to include the directory where
you want
On 10/3/06, Oliver Andrich [EMAIL PROTECTED] wrote:
Hi everybody,
I am currently playing around with ctypes and a C library (libWand
from ImageMagick), and as I want to easily deploy it on Mac, Linux and
Windows, I prefer a ctypes solution over a C module. At least on
windows, I would have
Hi,
I am trying to replace the eval() in the following code:
def myfunc(type, table):
module = __import__(type)
type = 'module' + '.' + type
obj = eval(type)
return obj(row[table.c.name], row[table.c.handle])
I am out of ideas. Any hints?
Thanks,
-Samuel
--
MonkeeSage wrote:
Eric S. Johansson wrote:
the problem with this solution is that it does not handle the read
nonexclusive/write exclusive locking model. In this model, reads don't
block, they only register that the request is in process. writes lock
request block until all outstanding
Bill Williams enlightened us with:
I don't know enough about Python internals, but the suggested
solutions all seem to involve scanning bigList. Can this presumably
linear operation be avoided by using dict or similar to find all
occurrences of smallist items in biglist and then deleting those
1 - 100 of 270 matches
Mail list logo