On Nov 21, 11:05 am, Krzysztof Retel [EMAIL PROTECTED]
wrote:
On Nov 21, 4:48 pm, Peter Pearson [EMAIL PROTECTED] wrote:
On Fri, 21 Nov 2008 08:14:19 -0800 (PST), Krzysztof Retel wrote:
I am not sure what do you mean by CPU-bound? How can I find out if I
run it on CPU-bound?
CPU-bound
On Nov 20, 9:03 am, Krzysztof Retel [EMAIL PROTECTED]
wrote:
Hi guys,
I am struggling writing fast UDP server. It has to handle around 1
UDP packets per second. I started building that with non blocking
socket and threads. Unfortunately my approach does not work at all.
I wrote a simple
Anyone have a pyparsing file for parsing C/C++ they are willing to
share?
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 14, 9:56 am, Giampaolo Rodola' [EMAIL PROTECTED] wrote:
Hi,
I'd like to know if there's a way to determine which is the best
buffer size to use when you have to send() and recv() some data over
the network.
I have an FTP server application which, on data channel, uses 8192
bytes as
On Nov 14, 1:58 pm, Giampaolo Rodola' [EMAIL PROTECTED] wrote:
On Nov 14, 5:27 pm, Greg Copeland [EMAIL PROTECTED] wrote:
On Nov 14, 9:56 am, Giampaolo Rodola' [EMAIL PROTECTED] wrote:
Hi,
I'd like to know if there's a way to determine which is the best
buffer size to use when you
On Sep 2, 7:20 am, Arnaud Delobelle [EMAIL PROTECTED] wrote:
On Sep 2, 12:51 pm, [EMAIL PROTECTED] wrote:
I'm pretty new to python, but am very happy with it. As well as using
it at work I've been using it to solve various puzzles on the Project
Euler site -http://projecteuler.net. So
On Aug 22, 8:30 am, paul [EMAIL PROTECTED] wrote:
Greg Copeland schrieb: On Aug 21, 9:40 pm, Bikal KC [EMAIL PROTECTED]
wrote:
Greg Copeland wrote:
I'm having a brain cramp right now. I can't see to recall the name of
Is your cramp gone now ? :P
I wish. If anyone can remember
On Aug 22, 10:00 am, srepmub [EMAIL PROTECTED] wrote:
Adding socket support would certainly open the door for many common
classes applications. If I had my pick, I say, sockets and then re.
Thanks. Especially sockets should be not too hard to add, but I
probably won't work on these
Anyone had any luck on using PyInstaller to package up Pygame? I
posted to the PyInstaller group some time ago and have yet to receive
a reply. Anyone have any tips to offer here?
A like-solution which runs on Linux would also be welcome. When
PyInstaller works, it's pretty nice. When it
On Aug 21, 9:40 pm, Bikal KC [EMAIL PROTECTED] wrote:
Greg Copeland wrote:
I'm having a brain cramp right now. I can't see to recall the name of
Is your cramp gone now ? :P
I wish. If anyone can remember the name of this module I'd realy
appreciate it.
Greg
--
http://mail.python.org
On Aug 20, 9:35 pm, JoeSox [EMAIL PROTECTED] wrote:
I must say this thing is pretty cool. I had a coworker try it out and
he ran into problems getting it to run on his Linux OS. So I am
really looking for some non-Windows developers to take a look at it.
All of the info is at the project
On Aug 21, 5:00 am, Joel Andres Granados [EMAIL PROTECTED]
wrote:
Hello list:
I have tried various times to use an IDE for python put have always been
disapointed.
I haven't revisited the idea in about a year and was wondering what the
python people
use.
I have also
On Aug 21, 5:00 am, Joel Andres Granados [EMAIL PROTECTED]
wrote:
Hello list:
I have tried various times to use an IDE for python put have always been
disapointed.
I haven't revisited the idea in about a year and was wondering what the
python people
use.
I have also
On Aug 20, 7:31 am, Mark Dufour [EMAIL PROTECTED] wrote:
Hi all,
I have just released Shed Skin 0.0.23. It doesn't contain the type
inference scalability improvements I was working on, but it does have
quite a few bug fixes and minor feature additions. Here's a list of
changes:
-support
On Aug 20, 7:31 am, Mark Dufour [EMAIL PROTECTED] wrote:
Hi all,
I have just released Shed Skin 0.0.23. It doesn't contain the type
inference scalability improvements I was working on, but it does have
quite a few bug fixes and minor feature additions. Here's a list of
changes:
-support
On Aug 20, 11:12 am, Robert Dailey [EMAIL PROTECTED] wrote:
Hey guys,
Sorry for taking so long to respond. I had actually figured out what
this issue is over on the wxPython mailing list. The issue was that I
was attempting to configure wxPython controls from a remote thread,
which is
I'm having a brain cramp right now. I can't see to recall the name of
a module. I know there is a python module which allows for optimized
socket writes on Linux. It uses a syscall to obtain its benefit.
IIRC, it is a fast path for I/O bound servers.
Can someone please refresh my memory? What
Okay, I have an application which is frozen via pyinstaller. That is
all working great. I now want to create an RPM using distutils'
bdist_rpm facilities. I seem to be running into trouble. No matter
what, I only seem to get three files within my RPM (setup.py,
README.txt, and PKG_INFO).
My
Ahh. I figured it out. I resolved the issue by using a MANIFEST.in
file.
Greg
On Apr 17, 1:19 pm, Greg Copeland [EMAIL PROTECTED] wrote:
Okay, I have an application which is frozen via pyinstaller. That is
all working great. I now want to create an RPM using distutils'
bdist_rpm
According to the SQLAlchemy list, the DBAPI specification does not
define a standard error reporting mechanism which would allow for
generic detection of loss of database connection without DB specific
exception handling. For me, this is a requisite for robust error
handling. Not to mention,
On Mar 20, 2:23 pm, [EMAIL PROTECTED] wrote:
Hi,
I am getting deadlocks (backtrace pasted below) after a while at,
presumably, a socket.getfqdn() call in a child process .
Fwiw: This child process is created as the result of a pyro call to a
Pyro object.
Any ideas why this is happening?
I seem to recall several different applications which can create
standalone binaries for python on Linux. I know freeze.py and
cx_Freeze.py exist. Are these still the preferred methods of creating
a stand alone binary out of a python application on Linux?
Greg
--
I am attempting to freeze an application which uses the dom.minidom
parser. When I execute my application, I get an import error of:
ImportError: No module named dom.minidom. During the freeze process,
I can see:
freezing xml ...
freezing xml.dom ...
freezing xml.dom.NodeFilter ...
freezing
On Mar 9, 1:03 pm, abcd [EMAIL PROTECTED] wrote:
Are lists thread safe? Or do I have to use a Lock when modifying the
list (adding, removing, etc)? Can you point me to some documentation
on this?
thanks
Yes there are still some holes which can bite you. Adding and
removing is thread safe
I have a need to call an Oracle function, which is not the same thing
as a stored procedure. Can SQLAlchemy do this directly? Indirectly?
If so, an example would be appreciated. If not, how do I obtain the
raw cx_Oracle cursor so I can use that directly?
Thanks,
Greg
--
I'm using SQLAlchemy and have a need to call an Oracle function; which
is not the same as a stored procedure. Can this be done directory or
indirectly with SQLAlchemy? If so, can someone please provide an
example? If not, how do I obtain the raw cx_Oracle cursor so I can
use callfunc directly
On Mar 8, 3:35 pm, Giles Brown [EMAIL PROTECTED] wrote:
http://www.sqlalchemy.org/docs/sqlconstruction.myt#sql_whereclause_fu...
SQLAlchemy has its own google group
http://groups.google.co.uk/group/sqlalchemy
You could try asking there too.
Giles
Very nice. That exactly answered by
On 8 Mar, 15:35, Giles Brown [EMAIL PROTECTED] wrote:
On 8 Mar, 22:19, Greg Copeland [EMAIL PROTECTED] wrote:
I'm using SQLAlchemy and have a need to call an Oracle function; which
is not the same as a stored procedure. Can this be done directory or
indirectly with SQLAlchemy? If so, can
On Feb 26, 5:54 pm, Joshua J. Kugler [EMAIL PROTECTED] wrote:
Considering that UNIX Network Programming, Vol 1 (by W. Richard Stevens)
recommends _All_ TCP servers should specify [SO_REUSEADDR] to allow the
server to be restarted [if there are clients connected], and that
The short answer is, maybe. Python will be CPU bound but not I/O
bound. This means you can have multiple threads concurrently
performing I/O. On the other hand, if you have two threads which are
CPU bound, only one will run at a time.
Having said that, there are plenty of ready work arounds.
I would be happy to share my point with you. In fact, I'm fixing a
minor memory leak (socket module; vxWorks specific) in Python 2.3.4
(ported version) today. My port is actually on BE XScale.
Email me at g t copeland2002@@ya hoo...com and I'll be happy to talk
more with you.
--
On Wed, 11 Jan 2006 04:29:32 -0800, Tommy R wrote:
I work on a safety critical embedded application that runs on VxWorks.
I have successfully ported the interpreter to VW. In my solution I have
Sure wish you would of asked...I ported Python to VxWorks
some time back. I've been using it for
That certainly looks interesting. I'll check it out right now.
Thanks!
Greg
--
http://mail.python.org/mailman/listinfo/python-list
I've been following this project with great interest. If you don't
mind me asking, can you please include links, if available, when you
post updates?
Great Stuff! Keep in coming!
Greg
--
http://mail.python.org/mailman/listinfo/python-list
What license does the code use? The PKG-INFO file says its MIT? This
accurate? I'm still looking over the code, but it looks like I can do
exactly what I need with only minor changes.
--
http://mail.python.org/mailman/listinfo/python-list
In situations like this, you need to guard the resource with a mutex.
In Python, things like insertions are atomic but iterations are not.
Thusly, if you wrap it with a mutex, things can be made safe. I saw,
can be, because you then have to ensure you always use the mutex to
satify your
So array can not map a pre-existing chunk of memory? I did not port
the mmap module because such semantics don't exist on VxWorks. Based
on comments thus far, it looks like mmap is my best bet here? Any
other options?
--
http://mail.python.org/mailman/listinfo/python-list
To build on Heiko's comment's, and to be clear, Python does have a
standard interface description, to which many SQL interfaces are
available.
--
http://mail.python.org/mailman/listinfo/python-list
First, let me say thanks for answering...
What have you gathered from people who have gone before? googling python
vxworks
gives about 50k hits
And chances are, they will all be unrelated to my question. WRS uses
python for various IDE scripting needs, but they do not use it on their
own
I think you're getting caught in OS/platform semantics rather than a
python solution. I already have access to the block on memory...I
simply need information about existing python facilities which will
allow me to expose the block to python as a native type...from which I
can read byte for byte
Based on the answers thus far, I suspect I'll being traveling this road
shortly.
Thanks,
Greg
--
http://mail.python.org/mailman/listinfo/python-list
Dang it. That's what I suspected. Thanks!
Greg
--
http://mail.python.org/mailman/listinfo/python-list
I am running python on VxWorks. In the course of operation, a vxworks
tasks writes to a reserved area of memory. I need access to this chunk
of memory from within python. Initially I thought I could simply
access it as a string but a string would reallocate and copy this chunk
of memory; which
Okay, I have:
class Base( object ):
def __init__( self ):
self._attrib = base
print Base
def real( self ):
print Base.real() is calling base.virtual()
self.virtual()
def virtual( self ):
print Base virtual()
pass
class Mother( Base
BTW, this is on Python 2.3.4.
--
http://mail.python.org/mailman/listinfo/python-list
45 matches
Mail list logo