Re: Linux.com: Python 3 makes a big break

2008-10-19 Thread Steven D'Aprano
On Sat, 18 Oct 2008 21:34:13 -0700, Kay Schluehr wrote: > On 18 Okt., 22:01, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > >> Perhaps it also omitted the fact that nothing prevents you from >> defining a function to write things to stdout (or elsewhere) in Python >> 2.5, making the Python 3.x

Re: default value in __init__

2008-10-19 Thread Paul McGuire
On Oct 14, 1:36 pm, "David C. Ullrich" <[EMAIL PROTECTED]> wrote: > > Well... How to say.. Is there any chance these people will read anything > > *at all* ? > > No. That's exactly the point! Basic Python is so transparent that > you can start using it without reading anything, just looking at > a

Re: loops

2008-10-19 Thread Steven D'Aprano
On Sat, 18 Oct 2008 20:45:47 -0700, John Machin wrote: > On Oct 19, 2:30 pm, Steven D'Aprano <[EMAIL PROTECTED] > cybersource.com.au> wrote: > [snip] >> making your code easy to read and easy to maintain is far more >> important. >> >> for x in (2**i for i in xrange(10)): >>     print x >> >> will

Re: Porting VB apps to Python for Window / Linux use

2008-10-19 Thread Stef Mientki
Lawrence D'Oliveiro wrote: In message <[EMAIL PROTECTED]>, Dotan Cohen wrote: I often see mention of SMBs that either want to upgrade their Windows installations, or move to Linux, but cannot because of inhouse VB apps. Probably best to leave those legacy VB apps alone and develop new

Re: Linux.com: Python 3 makes a big break

2008-10-19 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Kay Schluehr wrote: > If someone had solved the hard problem of finding a less > cumbersome way of writing sys.stdout.write(...) ... I don't see what the big deal is. I regularly write things like sys.stdout.write \ ( "" "%(title)s

Re: xor: how come so slow?

2008-10-19 Thread Steven D'Aprano
On Sun, 19 Oct 2008 16:38:37 +1300, Lawrence D'Oliveiro wrote: > In message <[EMAIL PROTECTED]>, Steven D'Aprano > wrote: > >> On Sat, 18 Oct 2008 09:16:11 +1300, Lawrence D'Oliveiro wrote: >> >>> Data can come in fractional bits. That's how compression works. >> >> If you don't believe me, try

Re: Python certification

2008-10-19 Thread Python Nutter
Yeah. The day Python goes Certification required to get a job is the day I quit Python forever and move on to another language. Certification prooves you're an idiot who needs to spend money to work for another idiot who doesn't know enough about programming to know if they hire competent programm

Re: ANN: pyparsing 1.5.1 released

2008-10-19 Thread Paul McGuire
On Oct 18, 1:05 pm, Terry Reedy <[EMAIL PROTECTED]> wrote: > Paul McGuire wrote: > > I've just uploaded to SourceForge and PyPI the latest update to > > (Python 3.0 uses syntax for catching exceptions that is incompatible > > with Python versions pre 2.6, so there is no way for me to support > > bo

Re: default value in __init__

2008-10-19 Thread Aaron Brady
Steven D'Aprano wrote: > On Sun, 19 Oct 2008 02:52:52 +, Aaron Brady wrote: > >> Steven D'Aprano wrote: >> >>> On Sat, 18 Oct 2008 09:17:28 +1300, Lawrence D'Oliveiro wrote: >>> In message <[EMAIL PROTECTED]>, Aaron "Castironpi" Brady wrote: > The purpose of a paramet

Re: keyword in package name.

2008-10-19 Thread Tino Wildenhain
Abhishek Mishra wrote: Hello Everyone, I have the habit of using domain names (of either the application or company) in reverse in package names. for e.g. com.spam.app1 While this seemed a good idea for java, I don't think it makes sense for python - the reason: in python you have an import m

<    1   2