Re: Convert int to float

2008-03-16 Thread Bryan Olson
will return the complex result. It may not be what van Brakel wants here, but it's an alternative to keep in mind. And I find it easier to type. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Performance

2008-03-15 Thread Bryan Olson
, but also suggests you may be playing hopscotch in a minefield. This is a helpful group. Give us more to go on, and you are likely to receive thousands of dollars worth of consulting for free. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Performance

2008-03-14 Thread Bryan Olson
is the other way. The recv in leng = ntoh(socket.recv(2)) might return one byte of data, not two. The latter recv is similar. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Performance

2008-03-14 Thread Bryan Olson
measurements still isn't a bad idea (but don't tell my algorithms students). -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Spaces in path name

2008-03-14 Thread Bryan Olson
' % ANT_CMD) There you don't want the quotes within the string. On my MS-Win box: import os os.path.isfile(r'C:\Program Files\Windows NT\dialer.exe') True print os.path.isfile(r'C:\Program Files\Windows NT\dialer.exe') False -- --Bryan -- http://mail.python.org/mailman/listinfo/python

Re: Spaces in path name

2008-03-14 Thread Bryan Olson
common cases where their own software choked on the paths. I got into the habit of installing everything under c:\bin rather than C:\Program Files. I still do that just to avoid writing essays into my PATH variable. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating a file with $SIZE

2008-03-14 Thread Bryan Olson
is doing. If he's testing network throughput just by creating this file on a remote server, the seek-way-past-end-then-write trick won't serve his purpose. Even if the filesystem has to write all the zeros, the protocols don't actually send those zeros. -- --Bryan -- http://mail.python.org/mailman

Re: escape string to store in a database?

2008-03-14 Thread Bryan Olson
a particularly good and easily accessible source to recommend on SQL? -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating a file with $SIZE

2008-03-14 Thread Bryan Olson
Robert Bossy wrote: Bryan Olson wrote: Robert Bossy wrote: Robert Bossy wrote: Indeed! Maybe the best choice for chunksize would be the file's buffer size... That bit strikes me as silly. The size of the chunk must be as little as possible in order to minimize

Re: Creating a file with $SIZE

2008-03-13 Thread Bryan Olson
choice. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: How to send a var to stdin of an external software

2008-03-13 Thread Bryan Olson
, or to create another thread (or process) to be an active reader or writer. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: How to send a var to stdin of an external software

2008-03-13 Thread Bryan Olson
descriptors. (MS-Windows async mechanisms are not as well exposed by the Python standard library.) -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: SOAP access to SharePoint

2008-03-12 Thread bryan rasmussen
XML Schema validation, this may seem tedious but it is likely to be less tedious than relying on any APIs to agree in the wide wonderful world of Soap based WebServices. Cheers, Bryan Rasmussen On Tue, Mar 11, 2008 at 10:38 PM, Paul Watson [EMAIL PROTECTED] wrote: Has anyone successfully

Re: What c.l.py's opinions about Soft Exception?

2008-03-09 Thread Bryan Olson
raised only if some calling frame has arranged to catch it. The if-exception-would-be-unhanded-then-pass logic strikes me as interesting. It would be a huge change to Python, so I doubt it will get traction here. Still, I'd say it's worth more consideration and discussion. -- --Bryan -- http

Re: Dual look-up on keys?

2008-03-06 Thread Bryan Olson
(self). We want an implementation where the find_by's run in O(1 + k) where k is the length of the returned sequence. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Bit twiddling floating point numbers

2008-03-06 Thread Bryan Olson
. I think this works: from math import frexp, ldexp, floor def round_mantissa(x, nbits): shifter = 1 nbits (m, e) = frexp(x) m = floor(m * shifter + 0.5) / shifter return ldexp(m, e) -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python CGI Webpage with an Image

2008-03-06 Thread Bryan Olson
the browser to look for the jpg one directory above. Failing that, can look at the web server's log? -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Dual look-up on keys?

2008-03-06 Thread Bryan Olson
[EMAIL PROTECTED] wrote: Bryan Olson wrote: How can we efficiently implement an abstract data type, call it 'DoubleDict', where the state of a DoubleDict is a binary relation, that is, a set of pairs (x, y); and the operations on a DoubleDict are those on a Python set, plus

Re: Python CGI Webpage with an Image

2008-03-06 Thread Bryan Olson
of the CGI script is the path to the script, not the path to the html file. If server logs are hard to get or read, try my runcgi.py script: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/550822 -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: URLlib2?

2008-02-28 Thread Bryan Olson
, checking the referrer is a weak solution; the better method is based on cookies. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Unicode Regular Expressions

2007-12-23 Thread bryan rasmussen
that are loaded from the file conform to Unicode regular expressions. What problems can be expected using Unicode Regex with Python, is there a library I should be using? Cheers, Bryan Rasmussen -- http://mail.python.org/mailman/listinfo/python-list

[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2007-12-19 Thread Bryan Silverthorn
New submission from Bryan Silverthorn: Attached is a very short patch against r59568 which asserts tp_traverse on (the types of) objects allocated in PyType_GenericAlloc(). As far as I'm aware, tp_traverse should always be set at this point. Catching that error early, even if only in debug

python webserver question

2007-12-17 Thread dale bryan
I am working on a task to display a wireless network nodes using Google Earth (GE) with KML network links. I am using a simple python webserver (see code below) to serve up the python scripts as KML output to GE for this. import BaseHTTPServer import CGIHTTPServer class

Re: Die, thread! Die! (Was Re: Python is not a good name)

2007-12-04 Thread bryan rasmussen
Could we name Stackless Die, microthread! Die! then? Cheers, Bryan Rasmussen On Dec 4, 2007 4:04 PM, Shane Geiger [EMAIL PROTECTED] wrote: Die, thread! Die! grflanagan wrote: On Dec 4, 11:53 am, [EMAIL PROTECTED] wrote: On Dec 4, 11:36 am, MarkE [EMAIL PROTECTED] wrote: Ithon

sys.arg whitespace problem

2007-11-18 Thread bryan rasmussen
whitespace between arguments. Cheers, Bryan Rasmussen -- http://mail.python.org/mailman/listinfo/python-list

write iso 9660 with python

2007-11-17 Thread bryan rasmussen
Hi, I need to read in a system of files and write them to an iso 9660, any libraries suited to this task that are up to date? Python 2.4 or 2.5 should be assumed. Cheers, Bryan Rasmussen -- http://mail.python.org/mailman/listinfo/python-list

preparing data for visualization

2007-11-12 Thread Bryan . Fodness
Treatment = Dynamic Dose Last Name = Fodness First Name = Bryan Patient ID = 0001 Number of Fields = 4 Number of Leaves = 120 Tolerance = 0.50 Field = 10 Index = 0. Carriage Group = 1 Operator = Collimator = 0.0 Leaf 1A = 0.00 Leaf 2A = 0.00 Leaf 3A = 0.00 Leaf 4A = 0.00 Leaf 5A

Re: basic threading question

2007-10-31 Thread Bryan Olson
in multiple threads, that's a different issue. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: transmit an array via socket

2007-10-27 Thread Bryan Olson
socket, they can feed us a *poison* pickle. The marshal module is at least as bad. The marshaling in RPC facilities tends to be much safer. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: s.split() on multiple separators

2007-09-30 Thread Bryan Olson
]+', c) print re.findall('[^ce ]+', c) -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: which language allows you to change an argument's value?

2007-09-30 Thread Bryan Olson
not breaking client code. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: database persistence with mysql, sqlite

2007-09-27 Thread Bryan Olson
Lawrence D'Oliveiro wrote: Bryan Olson wrote: Lawrence D'Oliveiro wrote: In Bryan Olson wrote: coldpizza wrote: It turned out that the method above ('SELECT * FROM TABLE LIMIT L1, L2') works ok both with mysql and sqlite3, therefore I have decided to stick with it until I find something

Re: sorteddict PEP proposal [started off as orderedict]

2007-09-27 Thread Bryan Olson
trees, or skip-lists. Implementing these is non-trivial, but easily within the ability of many people here. Don't worry about the coding. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Load balancing and passing sockets; was: Re: Google and Python

2007-09-27 Thread Bryan Olson
http://en.wikipedia.org/wiki/Squid_proxy Web apps tend to scale just great, except when they need data that is both shared and modifiable. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: database persistence with mysql, sqlite

2007-09-26 Thread Bryan Olson
the mysql syntax (LIMIT NN, 10) for compatibility reasons. A more reliable form is along the lines: SELECT keyfield, stuff FROM table WHERE keyfield ? ORDER BY keyfield LIMIT 10 With the right index, it's efficient. -- --Bryan -- http://mail.python.org/mailman/listinfo

Re: database persistence with mysql, sqlite

2007-09-26 Thread Bryan Olson
Lawrence D'Oliveiro wrote: In Bryan Olson wrote: coldpizza wrote: It turned out that the method above ('SELECT * FROM TABLE LIMIT L1, L2') works ok both with mysql and sqlite3, therefore I have decided to stick with it until I find something better. With Sqlite3 you are supposed to use

Re: Google and Python

2007-09-25 Thread Bryan Olson
Alex Martelli wrote: Bryan Olson [EMAIL PROTECTED] wrote: ... YouTube (one of Google's most valuable properties) is essentially all-Python (except for open-source infrastructure components such as lighttpd). Also, at Google I'm specifically Uber Tech Lead, Production Systems: while I

Re: Google and Python

2007-09-25 Thread Bryan Olson
of these days I want to get around to writing a patch. Windows can do it, but differently. What a surprise. I just looked it up: WSADuplicateSocket() is the key. Windows and Unix modules with the same Python interface would rock. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Google and Python

2007-09-24 Thread Bryan Olson
Alex Martelli wrote: Bryan Olson wrote: [...] How does Google use Python? As their scripting-language of choice. A fine choice, but just a tiny little piece. Maybe Alex will disagree with me. In my short time at Google, I was uber-nobody. YouTube (one of Google's most valuable properties

Re: database persistence with mysql, sqlite

2007-09-23 Thread Bryan Olson
propose. The web frameworks that use those toolkits try to do things in robust and portable ways. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting rid of bitwise operators in Python 3?

2007-09-22 Thread Bryan Olson
does not offer. Possibly the study used a bias sample. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Would Anonymous Functions Help in Learning Programming/Python?

2007-09-22 Thread Bryan Olson
of the last evaluation; it is stored in the __builtin__ module. When not in interactive mode, _ has no special meaning and is not defined. [Python Reference Manual; 2.3.2 Reserved classes of identifiers. http://docs.python.org/ref/id-classes.html] -- --Bryan -- http

Re: Would Anonymous Functions Help in Learning Programming/Python?

2007-09-22 Thread Bryan Olson
, or choose another term that clues one in to the meaning. I'd have caught on much quicker given a a hint to read: lambda x, y: x + y as: the function of two variables, call them x and y, that returns x + y. --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Would Anonymous Functions Help in Learning Programming/Python?

2007-09-22 Thread Bryan Olson
Paul Rubin wrote: Bryan Olson [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: There are already anonymous functions in Python. lambda x, y, z: x + y + z is the same as: def _(x, y, z): return x + y + z They are the same only in special cases: The special identifier _ is used

Re: Getting rid of bitwise operators in Python 3?

2007-09-22 Thread Bryan Olson
[EMAIL PROTECTED] wrote: Bryan Olson wrote: One surprising result was that more of the Python programmers surveyed use bitwise operators than are aware of the exponentiation operator, which C does not offer. On that subject, I'd suggest that the pow() builtin (not the ** operator - just

[issue1191] Berkeley DB prerequisite inconsistent

2007-09-22 Thread Bryan Henderson
New submission from Bryan Henderson: There's some inconsistency among the code and documentation as to the required level of Berkeley DB. I don't know what the proper resolution, but I'm sure someone familiar with the history of this code does. Something needs to be done to reduce

Re: Sets in Python

2007-09-21 Thread Bryan Olson
of the old state, but the object's equality test will compare against the current state. Bummer. Sorry. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Google and Python

2007-09-20 Thread Bryan Olson
does GWS invoke a Java app? The Google way. How does Google use Python? As their scripting-language of choice. A fine choice, but just a tiny little piece. Maybe Alex will disagree with me. In my short time at Google, I was uber-nobody. -- --Bryan -- http://mail.python.org/mailman/listinfo

Re: Sets in Python

2007-09-19 Thread Bryan Olson
want to implement slicing. Bad news: Python 3000 has no immutable type for byte-strings. The new bytes type cannot serve for dict keys or set members. Many things one would want to hash are unhashable -- for example, the results of the hash functions in hashlib. -- --Bryan -- http

Re: The meaning of a = b in object oriented languages

2007-09-18 Thread Bryan Olson
++ FAQ. Follow-ups to comp.lang.c++ -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: can Python be useful as functional?

2007-09-18 Thread Bryan Olson
Rustom Mody asked: [...] why does (yield(x) for x in si(l) if x % p != 0) not work? I would have expected generator expression to play better with generators. You have a statement, yield(x), where the construct requires an expression. -- --Bryan -- http://mail.python.org/mailman

Re: Coming from Perl

2007-09-17 Thread Bryan Olson
to long shots. Still, hosts that support Perl but will not support Python are getting to be the rare. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Modul (%) in python not like in C?

2007-09-15 Thread Bryan Olson
J. Cliff Dyer wrote: Bryan Olson wrote: Scott David Daniels wrote: C, which was designed as a high level assembly language, does not tightly define the results of / and % for negative numbers. Instead it defines the result for positive over positive, and constrains the result

Re: Possible suggestion for removing the GIL

2007-09-14 Thread Bryan Olson
Context switches are generally more expensive than acquiring and release locks. Most systems' run-queues are protected by locks. The context switches at issue all involve the dedicated core, so I do not see any parallelism advantage. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Coming from Perl

2007-09-14 Thread Bryan Olson
? Generally, most experts seem to prefer: #!/usr/bin/env python You might try changing the the extension of your script from .py to .cgi. Windows uses the .py to choose the executable, but Unix does not care; it used the shebang line. -- --Bryan -- http://mail.python.org/mailman/listinfo

Re: Modul (%) in python not like in C?

2007-09-10 Thread Bryan Olson
rounds. In C, integer division rounds toward zero. In Python, integer division rounds downward. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Modul (%) in python not like in C?

2007-09-10 Thread Bryan Olson
’’. [International Standard ISO/IEC 9899:1999, Section 6.5.5 Multiplicative operators, Paragraph 6 and footnote 87] -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Does shuffle() produce uniform result ?

2007-09-09 Thread Bryan Olson
exhibited a SHA-1 collision? -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Modul (%) in python not like in C?

2007-09-09 Thread Bryan Olson
a result with the same sign as its second operand (or zero) [http://docs.python.org/ref/binary.html] -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Modul (%) in python not like in C?

2007-09-09 Thread Bryan Olson
Dotan Cohen wrote: On 10/09/2007, Bryan Olson [EMAIL PROTECTED] wrote: Not according to the C standard: When integers are divided, the result of the / operator is the algebraic quotient with any fractional part discarded.(87) If the quotient a/b is representable

Re: Modul (%) in python not like in C?

2007-09-09 Thread Bryan Olson
. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is overtaking Perl

2007-09-05 Thread Bryan Olson
The expression faint praise comes to mind. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: creating really big lists

2007-09-05 Thread Bryan Olson
list of 300 references to the same 5-element list. A reduced example: lst = [[[],[],[],[],[]]] * 3 lst[1][1].append(42) print lst [[[], [42], [], [], []], [[], [42], [], [], []], [[], [42], [], [], []]] -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: So what exactly is a complex number?

2007-09-02 Thread Bryan Olson
an explanation of complex numbers to the point of omitting the imaginary unit helps lead people to a conceptual *misunderstanding*. I don't like feeling confused, but where I really screw up is where I think I understand what I do not. -- --Bryan -- http://mail.python.org/mailman/listinfo/python

Re: How can I wait for all the threads I spawn for 5 minutes

2007-09-02 Thread Bryan Olson
. Python has no threadicide method, and its absence is not an oversight. Can you arrange for your threads to check a flag periodically, or might they be hung? Your other choice is to end the entire process. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: status of Programming by Contract (PEP 316)?

2007-09-01 Thread Bryan Olson
and flexibility are laudable, while duck-typing is a convenience that will always make it less reliable than more type-strict languages. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket recv(1) seems to block instead of returning end of file.

2007-08-23 Thread Bryan Olson
for the host means INADDR_ANY, which does not really make sense for the client. On my Win-XP system, the client fails with socket.error: (10049, Can't assign requested address) For the loop-back adapter, 'localhost' or '127.0.0.1' should work. -- --Bryan -- http://mail.python.org/mailman/listinfo

Re: Development for dual core machine

2007-08-19 Thread Bryan Olson
interpreters serving multiple connections. The only hard part is shared data. Scalability is all about the database. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: python socket usage

2007-08-17 Thread Bryan Olson
reference semantics, there are object request brokers. Say more about your problem, and there's a good chance you'll get more useful answers. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Simple python iteration question

2007-08-14 Thread Bryan
Hi, I just started with python, and have a for loop question In c++ (or a number of other languages) I can do this: for (int i=0, j=0; i i_len, j j_len; ++i, ++j) {} If I have this in python: l = ['a', 'b', 'c'] I want to get the value and also an iterator: for i,v in len(l), l:

Re: The Future of Python Threading

2007-08-11 Thread Bryan Olson
, but I'll see if I can find some time to look into it. If you want to lead fixing Python's threading, consider first delivering a not-so-grand but definite improvement. Have you seen how the 'threading' module in Python's standard library implements timeouts? -- --Bryan -- http://mail.python.org

How to reset sys.exec_prefix?

2007-08-08 Thread Bryan
Somehow on my linux box I scrood things up and I lost my python path info. If I check sys.exec_prefix or sys.prefix it shows '/usr/local/', where it should show '/usr/'. Is there a config file somewhere that I can change to fix this, or do I need to do a rebuild/reinstall? Hope not. Thanks,

Re: How to reset sys.exec_prefix?

2007-08-08 Thread Bryan
Bryan wrote: Somehow on my linux box I scrood things up and I lost my python path info. If I check sys.exec_prefix or sys.prefix it shows '/usr/local/', where it should show '/usr/'. Is there a config file somewhere that I can change to fix this, or do I need to do a rebuild/reinstall

Re: Tkinter or wxpython?

2007-08-06 Thread Bryan Hepworth
so taking advantage of other peoples experiences seems like a good idea. Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Slightly OT: Why all the spam?

2007-05-22 Thread bryan rasmussen
if anybody has any good filters worked up that will work in Gmail for reading python-list. Cheers, Bryan Rasmussen On 5/22/07, Joel Hedlund [EMAIL PROTECTED] wrote: Does anyone know why we get so much spam to this group? It's starting to get embarrasing to read at work and that's just not how

Re: service for file monitoring

2007-04-22 Thread bryan rasmussen
coupled then use Python and WMI to do it, using the same method. http://tgolden.sc.sabren.com/python/wmi.html Cheers, Bryan Rasmussen On 4/21/07, Martin v. Löwis [EMAIL PROTECTED] wrote: well i tried reading that but that way i'll have to make the program monitor each and every directory. when

Re: socket read timeout

2007-04-01 Thread Bryan Olson
another is writing to it? What stops it from being full duplex? -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: problem at installing phyton on windows

2007-03-26 Thread bryan rasmussen
a Phyton Commandant movie. Cheers, Bryan Rasmussen -- http://mail.python.org/mailman/listinfo/python-list

Punit v 0.1 - Python CD ripper

2007-03-20 Thread Mark Bryan Yu
Here's the initial release of my personal open source project to create a Python CD ripper in Linux. Punit is a Audio CD ripper for Linux using cdparanoia, LAME and CDDB.py (http://cddb-py.sourceforge.net/) http://www.programmingmind.com/bryan/punit.html -- http://mail.python.org/mailman

CD insert/eject detection

2007-03-13 Thread Mark Bryan Yu
Hi, I'm trying to make a Audio CD ripper using python. is there a way (library, module, etc) to detect when a CD was inserted or ejected? -- http://mail.python.org/mailman/listinfo/python-list

Re: CD insert/eject detection

2007-03-13 Thread Mark Bryan Yu
On Mar 13, 11:07 am, Larry Bates [EMAIL PROTECTED] wrote: Mark Bryan Yu wrote: Hi, I'm trying to make a Audio CD ripper using python. is there a way (library, module, etc) to detect when a CD was inserted or ejected? That is going to be OS dependent, so please share with us what OS

Re: multithreading concept

2007-03-08 Thread Bryan Olson
threads can claim to get as close as anything. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Help Deciphering Code

2007-03-05 Thread Bryan Leber
variable so that you only get the file name. It is weird because this had been working just fine until about 2 months ago then it just started not parsing anything. If anyone can help please help:-) Thanks, Bryan Leber Developer Fischer International Corporation www.fischerinternational.com

Re: starship.python.net is down

2007-02-26 Thread Tom Bryan
[EMAIL PROTECTED] wrote: Any news on starship.python.net? It still seems to be down. Yes. Unfortunately, there may be a hardware problem. Stefan, the admin who owns the hosted machine, is working with the host company to determine what's going on. I think that they are still in the

string.find returns -1 when string evidently in source file

2007-02-18 Thread bryan rasmussen
of individual characters but not whole words. Cheers, Bryan Rasmussen -- http://mail.python.org/mailman/listinfo/python-list

starship.python.net is down

2007-02-16 Thread Tom Bryan
One of the system administrators had to reboot starship.python.net last night, but it appears that the machine did not come back up properly. starship.python.net is currently down while we investigate. ---Tom -- http://mail.python.org/mailman/listinfo/python-list

Re: BYU Physics Prof Finds Thermate in WTC Physical Samples, Building Collapses an Inside Job

2007-01-31 Thread bryan rasmussen
the WTC and been killed. This would explain why trolling duties have been recently taken up by [EMAIL PROTECTED] on this list. Cheers, Bryan Rasmussen On 1/31/07, soutjhyDin [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] http://portland.indymedia.org/en

Re: Yank Bastards KILLED THEIR OWN PEOPLE to stage 911 DRAMA

2007-01-27 Thread bryan rasmussen
See, if the python list mail server was written in Lisp Paul Graham would already have been able to write up a spam filter to ban this guy. Seriously though, shouldn't Thermate be banned by now. Cheers, Bryan Rasmussen On 26 Jan 2007 10:56:44 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote

Re: MI5 Persecution: Counter-surveillance sweep by Nationwide Investigations Group

2007-01-03 Thread bryan rasmussen
ago. Cheers, Bryan Rasmussen -- http://mail.python.org/mailman/listinfo/python-list

alternate language

2006-12-10 Thread Bryan
require any of these features, but extra browny points for any of the following: interactive interpreter batteries included can integrate with c compiles to native code can use a gui toolkit such as wx doesn't take 60 hour weeks over years to master thanks, bryan -- http://mail.python.org

buildbot

2006-11-29 Thread Bryan
be like. http://www.mozilla.org/hacking/working-with-seamonkey.html i know python is currently using buildbot... are there any differences or simplifications in the processes using buildbot? thanks, bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: working with files and directories

2006-11-27 Thread Bryan Olson
at: http://docs.python.org/lib/lib.html In this case, see 14.1.4, 11.1, and 11.10. Happy hacking. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: how is python not the same as java?

2006-11-11 Thread Bryan
files and zip files containing .pyc files. bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: Event driven server that wastes CPU when threaded doesn't

2006-11-02 Thread Bryan Olson
Jean-Paul Calderone wrote: On Tue, 31 Oct 2006 07:33:59 GMT, Bryan Olson [EMAIL PROTECTED] wrote: Snor wrote: I'm attempting to create a lobby game server for a multiplayer game, and have hit a problem early on with the server design. I am stuck between using a threaded server, and using

Re: Event driven server that wastes CPU when threaded doesn't

2006-10-30 Thread Bryan Olson
really is a limiting factor. Is the only solution to use a threaded server to let my clients make their requests and receive a response in the fastest possible time? Maybe. Probably not. It's all good -- multi-threading is your friend. -- --Bryan -- http://mail.python.org/mailman/listinfo

starship.python.net status update

2006-10-25 Thread T. Bryan
We are now ready to start re-enabling user accounts on starship.python.net. If you had an account on the machine, then you should have received an e-mail about it already. If you didn't, you should send e-mail to webmaster. If you did, expect it to take at least 24 hours for your account to be

python thread state

2006-10-23 Thread Bryan
global dictionary, because i lost all my global variables. the article assumes you have one c thread per python thread state, but i want multiple c threads per python thread state. Is there a c api function that will associate a c thread without resetting the global dictionary? thank you, bryan

Re: multythreading app memory consumption

2006-10-23 Thread Bryan Olson
' % traceback.format_exc()) try: opener.close() except: pass -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: multythreading app memory consumption

2006-10-23 Thread Bryan Olson
, the memory gets allocated as needed, and 150 threads is not be a problem. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

Re: multythreading app memory consumption

2006-10-23 Thread Bryan Olson
it to local variable. On the next turn the variable is Consider using asyncore or the Twisted framework instead of threads. But those won't play nice with urllib2. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   5   6   7   8   9   >