ANN: TurboGears 0.8a1 front-to-back web development

2005-10-16 Thread Kevin Dangoor
TurboGears 0.8a1 is available now! What's New == This is a brief summary. The complete information about what's new can be found here: http://www.turbogears.org/about/changelog.html * API improvements based on feedback and patches from the first public release. Seven people contributed

IPlib 0.9

2005-10-16 Thread Davide Alberani
IPlib 0.9 can be downloaded from: http://erlug.linux.it/~da/soft/iplib/ IPlib is a Python module useful to convert amongst many different notations and to manage couples of address/netmask in the CIDR notation. Some example scripts ('ipconv', 'nmconv' and 'cidrinfo') are included. With this

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Hammerquist
Jeroen Wenting jwenting wrote: Microsoft isn't evil, they're not a monopoly either. If they were a monopoly they'd have 100% of the market and there'd be no other software manufacturers at all. Interesting. Standard Oil only had about 2/3 of the oil refining market when they were split up.

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Hammerquist
David Schwartz [EMAIL PROTECTED] wrote: Go down to your local car dealer and see if you can buy a new car without an engine. Even if you want to equate a car's engine with a computer's OS, a better indicator would be to ask the car salesman if, when you take the car home, are you legally

Re: Microsoft Hatred FAQ

2005-10-16 Thread Steven D'Aprano
On Sat, 15 Oct 2005 22:28:02 -0700, David Schwartz wrote: Go down to your local car dealer and see if you can buy a new car without an engine. That's a false analogy. A better analogy is, go to your local car dealer and see if you can buy a new car with the tyres of your choice.

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Hammerquist
Greymaus [EMAIL PROTECTED] wrote: Was that the Color Computer III running OS9 Level II for an operating system, that you're talking about? Motorola 6809 processor? HELLUVA little computer! OS9 was a bit quirky, though, even for a UNIX clone. I loved my little CoCo! I had the original

Re: Some set operators

2005-10-16 Thread Alex Martelli
Giovanni Bajo [EMAIL PROTECTED] wrote: Alex Martelli [EMAIL PROTECTED] wrote: I still vaguely hope that in 3.0, where backwards incompatibilities can be introduced, Python may shed some rarely used operators such as these (for all types, of course). I hope there is no serious plan to

Re: Microsoft Hatred FAQ

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 05:26:51 +, John Bokma wrote: Steven D'Aprano [EMAIL PROTECTED] wrote: On Sun, 16 Oct 2005 00:47:09 +, John Bokma wrote: Ok, let me spell it out for you: If all your applications are web based, and the OS shouldn't matter, why do Linux distributions matter? It

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tor Iver Wilhelmsen
John Wingate [EMAIL PROTECTED] writes: In 1986? That would be version 3. I have MS-DOS 3.10 (Victor/Sirius version corresponding to 3.1 for x86) dated 1986. Yes, a better example of existing platforms (when PC-DOS 1.0 was shipped with IBM's PCs) is CP/M, which QDOS - PCDOS - MSDOS was a

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tor Iver Wilhelmsen
John Bokma [EMAIL PROTECTED] writes: No, it's a recommendation, an advise, nothing else. It is a de facto standard instead of a de jure standard. Sort of how the SMTP recommendation is the de facto standard for internet mail instead of ISO-MOTIS (built on the X.400 spec). --

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tor Iver Wilhelmsen
David Schwartz [EMAIL PROTECTED] writes: How is that better? Nothing in your car depends upon what tires you have on. But all of the rest of the software on your computer is dependent upon your choice of OS. Which cars let you install another engine as easily as you can install a new

Recursion with __setattr__

2005-10-16 Thread Chris Young
Operating Ubunutu Linux 5.04 on iMac 333mhz Python 2.4.1 in IDLE 1.1.1 In trying to create a interactive drawing framework in Python I came across the idea of binding attributes of one object to attributes of another. The way it works is when obj1.attr1 is set obj2.attr2 should have it's

Re: Queue question

2005-10-16 Thread spinner
Ahh the penny has dropped at last. I am using the WingIDE and .not_empty is one of the properties it exposes with it's intellisense. As such its use is not documented. No problem. Using the exception would more accurate - I can see that. In my simple case the queue is a one to one link, into

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roel Schroeven
John Bokma wrote: [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] writes: David Schwartz [EMAIL PROTECTED] wrote: Tim Roberts [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Part of their behavior really escape me. The whole thing about browser wars confuses me. Web

Re: How to get a raised exception from other thread

2005-10-16 Thread Klaas
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Nevermind. I found a better solution. I used shared memory to create a keep-alive flag. I then use the select function with a specified timeout, and recheck the keep-alive flag after each timeout. Thanx for all the input. How about

Re: dis.dis question

2005-10-16 Thread Ron Adam
Bengt Richter wrote: On Sun, 09 Oct 2005 12:10:46 GMT, Ron Adam [EMAIL PROTECTED] wrote: Ron Adam wrote: It seems I've found a bug in dis.py, or maybe a expected non feature. When running dis from a program it fails to find the last traceback because sys.last_traceback doesn't get set. (a

Re: UI toolkits for Python

2005-10-16 Thread Steve Holden
Claudio Grondi wrote: Kenneth McDonald [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED] Thanks for reminding me of Gtk. OK, add that to the list. The Web Browser interface is good for simple things, and will get better with CSS2's adoption, but they still don't have a good way for important

Re: Good news and bad news!!

2005-10-16 Thread Steve Holden
[EMAIL PROTECTED] wrote: The Bad news is i am an IT Recruiter..The good news is that i have a great role for a developer with strong Python skills. Ideally along with that they will have Java and either an understanding of Agile development or experience in using Ruby. £35 - £45k,

Re: dis.dis question

2005-10-16 Thread Ron Adam
[EMAIL PROTECTED] wrote: I'm still looking for info on how to use disassemble_string(). How about this? import dis def f(): ... print hello world ... f.func_code.co_code 'd\x01\x00GHd\x00\x00S' dis.disassemble_string(f.func_code.co_code)

Re: Microsoft Hatred FAQ

2005-10-16 Thread Jeroen Wenting
Peter T. Breuer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In comp.os.linux.misc Jeroen Wenting jwenting at hornet dot demon dot nl wrote: Without Microsoft 90% of us would never have seen a computer more powerful than a ZX-81 and 90% of the rest of us would never have used

Re: Microsoft Hatred FAQ

2005-10-16 Thread Jeroen Wenting
Mike Meyer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jeroen Wenting jwenting at hornet dot demon dot nl writes: Q: Microsoft's Operating System is used over 90% of PCs. If that's not monopoly, i don't know what is. They got where they are by CHEATING. That is why they are

Re: Microsoft Hatred FAQ

2005-10-16 Thread axel
In comp.lang.perl.misc Matt Garrish [EMAIL PROTECTED] wrote: Part of their behavior really escape me. The whole thing about browser wars confuses me. Web browsers represent a zero billion dollar a year market. Why would you risk anything to own it? It may not be worth loads of money

Re: Why asci-only symbols?

2005-10-16 Thread Martin v. Löwis
Bengt Richter wrote: Perhaps string equivalence in keys will be treated like numeric equivalence? I.e., a key/name representation is established by the initial key/name binding, but values can be retrieved by equivalent key/names with different representations like unicode vs ascii or

Re: Comparing lists

2005-10-16 Thread Ron Adam
Christian Stapfer wrote: This discussion begins to sound like the recurring arguments one hears between theoretical and experimental physicists. Experimentalists tend to overrate the importance of experimental data (setting up a useful experiment, how to interpret the experimental data one

Re: Microsoft Hatred FAQ

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 11:49:58 +0200, Jeroen Wenting wrote: My point is that Microsoft made computers that were more than glorified gaming consoles affordable for the common man. Microsoft has never made a computer in its existence. Not one. They are a software company. The only hardware they

Re: Microsoft Hatred FAQ

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 11:54:20 +0200, Jeroen Wenting wrote: What you call clever marketing the DOJ calls monopolistic practices. The courts agreed with the DOJ. Having had several large PC manufacturers refuse to sell me a system without some form of Windows because MS made it impossible for

Re: Help with creating a dict from list and range

2005-10-16 Thread Steve Holden
George Sakkis wrote: James Stroud [EMAIL PROTECTED] wrote: Could be even simpler since enumerate creates tuples anyway: dct = dict(x for x in enumerate(description)) James On Friday 14 October 2005 08:37, Steve Holden wrote: dct = dict((x[1], x[0]) for x in enumerate(description)) dct

Re: Microsoft has never made a computer in its existence.

2005-10-16 Thread Fredrik Lundh
Steven D'Aprano wrote: Microsoft has never made a computer in its existence. Not one. http://www.microsoft.com/xbox/ /F -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2005-10-16 Thread Cardea Thelen
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN HTMLHEAD TITLE404 Not Found/TITLE /HEADBODY H1Not Found/H1 The requested URL was not found on this server.P HR ADDRESSApache/1.3.31/ADDRESS /BODY/HTML -- http://mail.python.org/mailman/listinfo/python-list

Re: Some set operators

2005-10-16 Thread Giovanni Bajo
Alex Martelli wrote: I still vaguely hope that in 3.0, where backwards incompatibilities can be introduced, Python may shed some rarely used operators such as these (for all types, of course). I hope there is no serious plan to drop them. There is nothing wrong in having such operators,

Re: Help with creating a dict from list and range

2005-10-16 Thread Fredrik Lundh
Steve Holden wrote: Question: what's the difference between dict((name, seq) for seq, name in enumerate(description)) (the improved version of my answer posted by Scott David Daniels) and dict(enumerate(description)) a missing def enumerate(x, enumerate=enumerate): # override

tuple versus list

2005-10-16 Thread Xah Lee
suppose i'm going to have a data structure like this: [ [imgFullPath,(width, height)], [imgFullPath,(width, height)], [imgFullPath,(width, height)], [imgFullPath,(width, height)], ... ] should i use (width,height) or [width,height]? what advantage i get to use n-tuple instead of the generic

Re: Microsoft Hatred FAQ

2005-10-16 Thread Michael Heiming
In comp.os.linux.misc Steven D'Aprano [EMAIL PROTECTED]: On Sun, 16 Oct 2005 11:49:58 +0200, Jeroen Wenting wrote: My point is that Microsoft made computers that were more than glorified gaming consoles affordable for the common man. Microsoft has never made a computer in its existence. Not

Re: Microsoft has never made a computer in its existence.

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 12:54:48 +0200, Fredrik Lundh wrote: Steven D'Aprano wrote: Microsoft has never made a computer in its existence. Not one. http://www.microsoft.com/xbox/ Does Microsoft actually make the Xbox or just sub-contract it out? Either way, your point is taken. But since the

Re: Microsoft Hatred FAQ

2005-10-16 Thread Peter T. Breuer
In comp.os.linux.misc Jeroen Wenting jwenting at hornet dot demon dot nl wrote: Peter T. Breuer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In comp.os.linux.misc Jeroen Wenting jwenting at hornet dot demon dot nl wrote: Without Microsoft 90% of us would never have seen a

Re: Capturing audio from a microphone on Mac OS X

2005-10-16 Thread Miki Tebeka
Hello Michael, So my question this: does anyone know of a library or simple approach to capturing audio (any quality :) from a microphone on Mac OS X ? Specifically something that works with Mac OS X 10.3, with python 2.3 . You can use portaudio (http://www.portaudio.com/) and SWIG

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Tyler
In comp.lang.java.programmer Peter T. Breuer [EMAIL PROTECTED] wrote or quoted: Uh - when microsoft produced dos 1.0, or whatever it was, I was sitting at my Sun 360 workstation (with 4M of RAM, later upgraded to 8M), running SunOS 3.8 or thereabouts. And a mean game of tetris it played

Re: How to get a raised exception from other thread

2005-10-16 Thread Peter Hansen
[EMAIL PROTECTED] wrote: Nevermind. I found a better solution. I used shared memory to create a keep-alive flag. I then use the select function with a specified timeout, and recheck the keep-alive flag after each timeout. As Dennis points out, your original attempt was destined to fail

Re: Comparing lists

2005-10-16 Thread Christian Stapfer
Ron Adam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christian Stapfer wrote: This discussion begins to sound like the recurring arguments one hears between theoretical and experimental physicists. Experimentalists tend to overrate the importance of experimental data (setting

Re: [ANN] XPN 0.5.5 released

2005-10-16 Thread Cousin Stanley
Is there an incantation I can add to the config file that might render the cursor visible on a dark background ? It's a well known issue, I haven't found a way to change the cursor color yet :-/ I also posted an help request on the pygtk list, but I had no useful replies. I use a

Re: Comparing lists - somewhat OT, but still ...

2005-10-16 Thread Christian Stapfer
Ron Adam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christian Stapfer wrote: This discussion begins to sound like the recurring arguments one hears between theoretical and experimental physicists. Experimentalists tend to overrate the importance of experimental data (setting

subtle side effect of generator/generator expression

2005-10-16 Thread [EMAIL PROTECTED]
Hi, I initially thought that generator/generator expression is cool(sort of like the lazy evaluation in Haskell) until I notice this side effect. a=(x for x in range(2)) list(a) [1,2] list(a) [] Would this make generator/generator expression's usage pretty limited ? As when the program/system

Re: subtle side effect of generator/generator expression

2005-10-16 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: I initially thought that generator/generator expression is cool (sort of like the lazy evaluation in Haskell) until I notice this side effect. a=(x for x in range(2)) list(a) [1,2] list(a) [] Would this make generator/generator expression's usage pretty limited

Re: Some set operators

2005-10-16 Thread Paddy
Hi Bearophile, Nah, you don't want to change 'em. I can remember 'em just fine :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ

2005-10-16 Thread Rhino
John W. Kennedy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rhino wrote: Everyone else was still using typewriters - which was IBM's bread and butter in those days - for their business needs. Oh dear, no. Not quite. There were, going back decades, machines that used

Re: subtle side effect of generator/generator expression

2005-10-16 Thread [EMAIL PROTECTED]
That is exactly what I meant, in fact. These IO thing are expected to have side effects so they are not subtle. Generator on the other hand, is sort of clever iteratables. Now that I notice that, Of course I can be sure I would be careful. But what about the following situation : I import some

Re: tuple versus list

2005-10-16 Thread SPE - Stani's Python Editor
It's simple: if you want to modify the data structure after it has been created, use lists, otherwise tuples. Tuples are much more memory efficient, so your program will consume less memory and probably run faster. So preferably use tuples. However with tuples you can't do: t[0] = 'new value'

odbc errors

2005-10-16 Thread eight02645999
hi i have a piece of code: ... def connectdb(sql): import dbi import odbc import sys try: s = odbc.odbc('DSN=CONN;UID=user;PWD=pass') cur = s.cursor() # cur.execute(set nocount on) cur.execute(sql) while 1: rec = cur.fetchone()

Re: wxPython Cygwin

2005-10-16 Thread Diez B. Roggisch
Why? Use windows python, wxPython for it - and put it in your path to use it inside cygwin. Don't think that'll work for an extension module. Sure it will. You can call whatever program you want from cygwin, as long as it is in the path. No difference to double-clicking an icon or

Re: Microsoft Hatred FAQ

2005-10-16 Thread John Bokma
Tor Iver Wilhelmsen [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] writes: No, it's a recommendation, an advise, nothing else. It is a de facto standard instead of a de jure standard. Yup, a recommendation. -- John Small Perl scripts: http://johnbokma.com/perl/

Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Tyler
In comp.lang.java.programmer Steven D'Aprano [EMAIL PROTECTED] wrote or quoted: I'm aware of talk that Dell is selling Linux PCs at Walmart for less than the same hardware plus Windows. Talk is cheap -- I'm not aware of anyone who has actually seen these Linux PCs. I'd love to know either

Re: Microsoft Hatred FAQ

2005-10-16 Thread John Bokma
David Schwartz [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ok, let me spell it out for you: If all your applications are web based, and the OS shouldn't matter, why do Linux distributions matter? It doesn't matter which one you use to

Re: Microsoft Hatred FAQ

2005-10-16 Thread John Bokma
Steven D'Aprano [EMAIL PROTECTED] wrote: On Sun, 16 Oct 2005 05:26:51 +, John Bokma wrote: Steven D'Aprano [EMAIL PROTECTED] wrote: On Sun, 16 Oct 2005 00:47:09 +, John Bokma wrote: Ok, let me spell it out for you: If all your applications are web based, and the OS shouldn't

Re: Microsoft Hatred FAQ

2005-10-16 Thread John Bokma
Roel Schroeven [EMAIL PROTECTED] wrote: John Bokma wrote: web based applications that work with any browser make OS irrelevant - not true, since for OpenOffice it doesn't matter which Linux distribution one runs (or even if it's Linux), yet people seem to make a point of which distribution

Re: tuple versus list

2005-10-16 Thread [EMAIL PROTECTED]
In this particular case, it seems that (width,height) looks nicer. But I think otherwise, list constuct is easier to read, even though it is supposed to be slower. With list you can : [a] + [ x for x in something ] With tuple it looks like this : (a,) + tuple(x for x in something) I think the

Re: wxPython Cygwin

2005-10-16 Thread Steve Holden
Diez B. Roggisch wrote: Why? Use windows python, wxPython for it - and put it in your path to use it inside cygwin. Don't think that'll work for an extension module. Sure it will. You can call whatever program you want from cygwin, as long as it is in the path. No difference to

Re: Comparing lists

2005-10-16 Thread Fredrik Lundh
Christian Stapfer wrote: As to the value of complexity theory for creativity in programming (even though you seem to believe that a theoretical bent of mind can only serve to stifle creativity), the story of the discovery of an efficient string searching algorithm by D.E.Knuth provides an

Re: subtle side effect of generator/generator expression

2005-10-16 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: That is exactly what I meant, in fact. These IO thing are expected to have side effects so they are not subtle. Generator on the other hand, is sort of clever iteratables. Now that I notice that, Of course I can be sure I would be careful. But what about the

Re: odbc errors

2005-10-16 Thread Roger Upole
[EMAIL PROTECTED] wrote: hi i have a piece of code: ... def connectdb(sql): import dbi import odbc import sys try: s = odbc.odbc('DSN=CONN;UID=user;PWD=pass') cur = s.cursor() # cur.execute(set nocount on) cur.execute(sql) while 1:

Re: wxPython Cygwin

2005-10-16 Thread Diez B. Roggisch
I'm sure the Cygwin world would be grateful if you or someone else were to establish the correct build procedure. For Qt? I found it on the Qt free edition site, and followed the instructionbs. Not much to do there. But make sure you have _plenty_ of time. It took me _days_ to compile Qt. No

Re: Microsoft Hatred FAQ

2005-10-16 Thread joe
John Bokma [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] writes: David Schwartz [EMAIL PROTECTED] wrote: Tim Roberts [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: subtle side effect of generator/generator expression

2005-10-16 Thread Fredrik Lundh
Diez B. Roggisch wrote: Files allow to seek, in addition to stream semantics. Some files. Not all files support seek operations. Some only support forward seek. /F -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparing lists - somewhat OT, but still ...

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 15:16:39 +0200, Christian Stapfer wrote: Come to think of an experience that I shared with a student who was one of those highly creative experimentalists you seem to have in mind. He had just bought a new PC and wanted to check how fast its floating point unit was as

Re: subtle side effect of generator/generator expression

2005-10-16 Thread Simon Percivall
If you find that you want to iterate over an iterable multiple times, have a look at the solution that the tee() function in the itertools module provides (http://docs.python.org/lib/itertools-functions.html). (Have a look at the rest of the itertools module as well, for that matter.) --

Re: subtle side effect of generator/generator expression

2005-10-16 Thread [EMAIL PROTECTED]
True. That is why I have now reverted back to use list whenever possible. As while list can also be modified(say in a multi-thread situation), at least if I don't do the update(coding policy, practice or whatever), they are sort of guaranteed. I would only use generator as IO monad in Haskell,

Re: subtle side effect of generator/generator expression

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 15:52:54 +0200, Fredrik Lundh wrote: [EMAIL PROTECTED] wrote: I initially thought that generator/generator expression is cool (sort of like the lazy evaluation in Haskell) until I notice this side effect. a=(x for x in range(2)) list(a) [1,2] list(a) [] Would this

Re: subtle side effect of generator/generator expression

2005-10-16 Thread [EMAIL PROTECTED]
thanks. I was looking for scanl in itertools but can't find it so I implement my own then run into some subtle bugs which first made me think my scanl is the problem. Then notice my wrong perception about generator(and iterable in general, though the built-in iterables like list, dict don't seem

Re: Microsoft Hatred FAQ

2005-10-16 Thread Mike Schilling
John Bokma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Mike Schilling [EMAIL PROTECTED] wrote: John Bokma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Which standards? W3C doesn't make standards (they talk about working drafts and recommendations), so nothing

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On Sat, 15 Oct 2005 22:30:41 GMT, Tim Roberts [EMAIL PROTECTED] wrote or quoted : Without Microsoft 90% of us would never have seen a computer more powerful than a ZX-81 and 90% of the rest of us would never have used only dumb mainframe terminals. Utter hogwash. Computer hardware would

Re: Length of read in in python-gpib

2005-10-16 Thread Dietmar Schwertberger
In article [EMAIL PROTECTED], Madhusudan Singh URL:mailto:[EMAIL PROTECTED] wrote: python-gpib provides Gpib.py (see end of post) for Linux. I am trying to use the method called read. I usually use it without arguments (the default length being 512). However, I am trying to read in a string

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On 15 Oct 2005 22:47:45 GMT, John Bokma [EMAIL PROTECTED] wrote or quoted : Opera seems to be making money with it. Also, Firefox gets money from Google kickback. Maybe MS had a similar idea in mind, but it failed (remember how they wanted to add ads to keywords in webpages?) There also had

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On 16 Oct 2005 00:47:09 GMT, John Bokma [EMAIL PROTECTED] wrote or quoted : Ok, let me spell it out for you: If all your applications are web based, and the OS shouldn't matter, why do Linux distributions matter? The point is you make your choice based on quality of the OS and distribution,

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On 16 Oct 2005 05:22:47 GMT, John Bokma [EMAIL PROTECTED] wrote or quoted : No, it's a recommendation, an advise, nothing else. Otherwise they would call it a standard. Why do you think W3C calls it recommendations? Because it are no standards. There is an ISO HTML standard though, but when

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On Sat, 15 Oct 2005 15:48:18 -0700, David Schwartz [EMAIL PROTECTED] wrote or quoted : Go down to your local car dealer and see if you can buy a new car without an engine. Given that that the OS and the hardware come from completely different companies, I think that a specious analogy. --

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On Sat, 15 Oct 2005 22:22:58 -0700, David Schwartz [EMAIL PROTECTED] wrote or quoted : I guess I wasn't explicit enough. Most people who want cars also want an engine. Some don't. Dealers could sell cars and engines separately. They just (generally) don't. There is nothing illegal or

Re: Microsoft Hatred FAQ

2005-10-16 Thread Roedy Green
On Sun, 16 Oct 2005 11:49:58 +0200, Jeroen Wenting jwenting at hornet dot demon dot nl wrote or quoted : They are the ones who lowered the price of shrinkwrapped software for home and office application from thousands or tens of thousands to hundreds of dollars. Come now. While software

Re: Jargons of Info Tech industry

2005-10-16 Thread Roedy Green
On Sat, 15 Oct 2005 23:24:21 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote or quoted : I try to explain Java each day both on my website on the plaintext only newsgroups. It is so much easier to get my point across in HTML. How about pdf? End users HATE PDF. Why? It takes so long for the reader

Re: Function to execute only once

2005-10-16 Thread Bengt Richter
On 14 Oct 2005 12:11:58 -0700, PyPK [EMAIL PROTECTED] wrote: Hi if I have a function called tmp=0 def execute(): tmp = tmp+1 return tmp also I have def func1(): execute() and def func2(): execute() now I want execute() function to get executed only once. That

Re: Microsoft Hatred FAQ

2005-10-16 Thread Richard Gration
On Sun, 16 Oct 2005 11:51:16 +, Tim Tyler wrote: Acorn computers. Manufacturers of the best computer I ever owned. I'm willing to bet that was an Arc ... ? I never used one but everyone I've ever talked to who used one said it was fantastic. Myself I was pretty impressed with the BBC B ...

TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead)

2005-10-16 Thread arotem
Hi, I am trying to call an unbound method (PrintInput) with the object instance as the first argument but getting the following error: TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead) Below is the sample code (test) for this

keeping unit test info out of pydoc -w?

2005-10-16 Thread schwehr
Hi All, Is there an easy way to keep the unittest stuff out of the documentation that gets generated by pydoc -w? I just want to exclude the Methods inherited from unittest.TestCase: section. Thanks! -kurt -- http://mail.python.org/mailman/listinfo/python-list

Re: TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead)

2005-10-16 Thread Diez B. Roggisch
arotem wrote: Hi, I am trying to call an unbound method (PrintInput) with the object instance as the first argument but getting the following error: TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead) Below is the sample

Re: Comparing lists

2005-10-16 Thread Ron Adam
Christian Stapfer wrote: Ron Adam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christian Stapfer wrote: This discussion begins to sound like the recurring arguments one hears between theoretical and experimental physicists. Experimentalists tend to overrate the importance of

Re: Microsoft Hatred FAQ

2005-10-16 Thread Greymaus
Tim Hammerquist wrote: I loved my little CoCo! I had the original CoCo, upgraded with the 5 1/4 floppy drive, and later upgraded the whole system to CoCo 3 with OS9. I put the piggyback RAM board in, which gave me, I think, 1 Meg of RAM. I also found that the whole system ran faster and

Re: Function to execute only once

2005-10-16 Thread Lasse Vågsæther Karlsen
Bengt Richter wrote: snip tmp = 0 def execute(): ... global tmp, execute ... tmp = cellvar = tmp + 1 ... def execute(): ... return cellvar ... return tmp snip On man did this put my head into a spin :P -- Lasse Vågsæther Karlsen

Re: Comparing lists

2005-10-16 Thread Christian Stapfer
Fredrik Lundh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christian Stapfer wrote: As to the value of complexity theory for creativity in programming (even though you seem to believe that a theoretical bent of mind can only serve to stifle creativity), the story of the

Re: Comparing lists - somewhat OT, but still ...

2005-10-16 Thread Ron Adam
Christian Stapfer wrote: It turned out that the VAX compiler had been clever enough to hoist his simple-minded test code out of the driving loop. In fact, our VAX calculated the body of the loop only *once* and thus *immediately* announced that it had finished the whole test - the

Re: Jargons of Info Tech industry

2005-10-16 Thread Ben Pfaff
Roedy Green [EMAIL PROTECTED] writes: End users HATE PDF. Why? It takes so long for the reader to load. xpdf comes up almost instantly here. Maybe end users should consider finding a better PDF reader. -- Your correction is 100% correct and 0% helpful. Well done! --Richard Heathfield --

Re: Microsoft Hatred FAQ

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 14:57:19 +, John Bokma wrote: As soon as products can't evolve much more, the producers will find ways to make them even better compared to last week. So once a product can't evolve any more, then it will suddenly start evolving much more. Right. Well, I think

Need advice on finding memory leak

2005-10-16 Thread mark . engelberg
I am having trouble identifying the source of a memory leak in a Windows Python program. The basic gist is as follows: 1. Generate a directed graph (approx. 1000 nodes). 2. Write the graph to a file. 3. Use the os.system command to invoke another program which processes the graph file (graphViz),

Re: Comparing lists

2005-10-16 Thread Christian Stapfer
Ron Adam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christian Stapfer wrote: Ron Adam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Christian Stapfer wrote: This discussion begins to sound like the recurring arguments one hears between theoretical and experimental

Re: Comparing lists

2005-10-16 Thread Steven D'Aprano
On Sun, 16 Oct 2005 19:42:11 +0200, Christian Stapfer wrote: Pauli's prediction of the existence of the neutrino is another. It took experimentalists a great deal of time and patience (about 20 years, I am told) until they could finally muster something amounting to experimental proof of

Re: TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead)

2005-10-16 Thread Peter Otten
arotem wrote: Hi, I am trying to call an unbound method (PrintInput) with the object instance as the first argument but getting the following error: TypeError: unbound method PrintInput() must be called with test instance as first argument (got test instance instead) Below is the sample

[ANN] Speed up Charmap codecs with fastcharmap module

2005-10-16 Thread Tony Nelson
Fastcharmap is a python extension module that speeds up Charmap codecs by about 5 times. http://georgeanelson.com/fastcharmap.htm Usage: import fastcharmap fastcharmap.hook('codec_name') Fastcharmap will then speed up calls that use that codec, such as unicode(str, 'codec_name') and

Re: [Info] PEP 308 accepted - new conditional expressions

2005-10-16 Thread Andrew Koenig
Peter Hansen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dave Hansen wrote: So lose the if. R = C then A else B I think that part of the argument for the A if C else B syntax is that then is not currently a reserved word. --

Re: Comparing lists - somewhat OT, but still ...

2005-10-16 Thread Christian Stapfer
Steven D'Aprano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sun, 16 Oct 2005 15:16:39 +0200, Christian Stapfer wrote: Come to think of an experience that I shared with a student who was one of those highly creative experimentalists you seem to have in mind. He had just

Re: How to get a raised exception from other thread

2005-10-16 Thread Lasse Vågsæther Karlsen
Peter Hansen wrote: [EMAIL PROTECTED] wrote: Nevermind. I found a better solution. I used shared memory to create a keep-alive flag. I then use the select function with a specified timeout, and recheck the keep-alive flag after each timeout. As Dennis points out, your original

Re: Need advice on finding memory leak

2005-10-16 Thread Stephen Kellett
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes I am having trouble identifying the source of a memory leak in a Windows Python program. The basic gist is as follows: Perhaps Python Memory Validator can help you? http://www.softwareverify.com/beta.php Stephen -- Stephen Kellett

Re: Comparing lists

2005-10-16 Thread Christian Stapfer
Steven D'Aprano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sun, 16 Oct 2005 19:42:11 +0200, Christian Stapfer wrote: Pauli's prediction of the existence of the neutrino is another. It took experimentalists a great deal of time and patience (about 20 years, I am told) until

Re: subtle side effect of generator/generator expression

2005-10-16 Thread [EMAIL PROTECTED]
Are you saying that the bugs it causes aren't subtle? *wink* Exactly. Destructive generator problems are caught almost immediately. -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >