kate hudson tattoo

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 10:09 am, Steve Holden [EMAIL PROTECTED] wrote: Mike Driscoll wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam. In order to try to not tar both the benign google group users and the malignant ones with the same brush,

Re: py3k s***s

2008-04-16 Thread Gabriel Genellina
On 15 abr, 13:58, Michael Torrie [EMAIL PROTECTED] wrote: After parsing this thread through a noise filter, it appears the main concern is not the converting of _python code_ from 2 to 3, but rather converting extensions written in C, or when python is embedded in a C program.  The APIs have

Re: text adventure game problem

2008-04-16 Thread Neil Cerutti
On Tue, Apr 15, 2008 at 9:25 AM, Carl Banks [EMAIL PROTECTED] wrote: On Apr 11, 12:08 pm, Neil Cerutti [EMAIL PROTECTED] wrote: such as so they're not stuck with a quasi hack of a language if they have to do something that doesn't fit the framework anticipated by the language

kate hudson son

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson snl

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson smoking

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson ryder

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson quotes

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson pic

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson photo

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson parents

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

kate hudson oscars

2008-04-16 Thread sierra9162
Just few link on some Movies Free Movies: http://exclusive.12w.net F R E E C E L E B R I T Y M O V I E S -- http://mail.python.org/mailman/listinfo/python-list

Creating arithmetic sequences

2008-04-16 Thread mmm
I wrote the code below to create simple arithmetic sequences that are iter-able I.e., this would basically combine the NUMPY arange(start,end,step) to range(start,end), with step not necessarily an integer. The code below is in its simplest form and I want to generalize the sequence types

Re: Image handling - stupid question

2008-04-16 Thread Gary Herron
Jumping Arne wrote: On Wed, 16 Apr 2008 12:21:13 +0200, Jumping Arne wrote (in article [EMAIL PROTECTED]): I'm going to try to write some imange manipulation code (scaling, reading EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? I looked at

Splitting MainWindow Class over several modules.

2008-04-16 Thread Iain King
Until recently almost all my python programs were held 1 file for 1 program. This had grown unwieldy for one of my projects, so i decided to refactor it, and ended up with something like this: --- import wx import options import gui import scf class MainWindow(wx.Frame): def

Re: Finally had to plonk google gorups.

2008-04-16 Thread Steve Holden
Mike Driscoll wrote: On Apr 16, 10:09 am, Steve Holden [EMAIL PROTECTED] wrote: Mike Driscoll wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam. In order to try to not tar both the benign google group users and the malignant ones

Re: py3k s***s

2008-04-16 Thread Aaron Watters
On Apr 16, 11:15 am, Gabriel Genellina [EMAIL PROTECTED] wrote: On 16 abr, 09:56, Aaron Watters [EMAIL PROTECTED] wrote: In my opinion python's adherence to backwards compatibility has been a bit mythological anyway -- many new python versions have broken my old code for no good reason.

Re: python memory leak only in x86 64 linux

2008-04-16 Thread [EMAIL PROTECTED]
This is the code that is causing memory leak in 64 bit python [but not in 32 bit python].. is something wrong in the code? now = datetime.datetime.now() oneday = datetime.timedelta(days=1) def birthdaycompare(a, b): if a is None and b: return 1 if a and b is None: return -1

Re: Finally had to plonk google gorups.

2008-04-16 Thread Daniel Fetchinson
On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam. In order to try to not tar both the benign google group users and the malignant ones with the same brush, I've been trying to kill usenet spam with subject patterns. But that's

Re: Finally had to plonk google gorups.

2008-04-16 Thread Michael Torrie
Mike Driscoll wrote: Steve, My workplace doesn't offer NNTP, so there is no good way to browse c.l.py here. And I haven't been able to get NNTP to work from my home either. I rarely use NNTP these days. I access c.l.py exclusively via e-mail, and that works very well. In some cases there

Re: Splitting MainWindow Class over several modules.

2008-04-16 Thread Mike Driscoll
On Apr 16, 10:47 am, Iain King [EMAIL PROTECTED] wrote: Until recently almost all my python programs were held 1 file for 1 program. This had grown unwieldy for one of my projects, so i decided to refactor it, and ended up with something like this: --- import wx import options import

Re: py3k s***s

2008-04-16 Thread Donn Cave
In article [EMAIL PROTECTED], Aaron Watters [EMAIL PROTECTED] wrote: Maybe there is a secret desire in the Python community to remain a fringe minority underdog forever? I'm sure anyone who has given it any thought understands that the fringe minority situation is a lot more fun in some

Re: python beginer

2008-04-16 Thread Daniel Fetchinson
can anyone tell me hw to start with webapplication scripting(e.g login page..etc) if anyone has soln for this or simple e.g that mention above please send me There are many choices, too many actually. Good entry points are: http://wiki.python.org/moin/WebApplications

Re: Finally had to plonk google gorups.

2008-04-16 Thread Torsten Bronger
Hallöchen! Michael Torrie writes: [...] This official python list is one of the few lists that's even still on nntp. All my other ones (gnome, gtk, openldap, clamav, freeradius, etc) are all e-mail mailing lists only and it works very well. In fact, I think it's much better since list

Default parameter for a method... again

2008-04-16 Thread s0suk3
I had posted this before but all the spam whipped it out... I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For example: class A: def __init__(self):

Re: py3k s***s

2008-04-16 Thread Rhamphoryncus
On Apr 16, 6:56 am, Aaron Watters [EMAIL PROTECTED] wrote: I don't get it. It ain't broke. Don't fix it. So how would you have done the old-style class to new-style class transition? -- http://mail.python.org/mailman/listinfo/python-list

Re: Finally had to plonk google gorups.

2008-04-16 Thread Michael Torrie
Torsten Bronger wrote: The admistrative overhead of mailing lists is tedious. Fortunately, most important computer-related lists are on gmane.org. We could list c.l.py there, too. ;-) Running a few lists myself, I don't see this. How is administrative overhead tedious? Most open source

Profiling very small/quick functions, help!?

2008-04-16 Thread skanemupp
i use this code to profile. however for small standard functions it just says 0 seconds. so one solution is to run the function a very big number of times(how big?). but the bottom code doesnt work, it just runs the same profiling 1 times insetad of running the fucntion 10K times and evaluate

Re: Finally had to plonk google gorups.

2008-04-16 Thread Grant Edwards
On 2008-04-16, Michael Torrie [EMAIL PROTECTED] wrote: My workplace doesn't offer NNTP, so there is no good way to browse c.l.py here. Browse it via the mailing list using gmane.org. There are no ads and your postings won't get plonked by everybody. And I haven't been able to get NNTP to

Re: py3k s***s

2008-04-16 Thread Aaron Watters
On Apr 16, 12:27 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: On Apr 16, 6:56 am, Aaron Watters [EMAIL PROTECTED] wrote: I don't get it. It ain't broke. Don't fix it. So how would you have done the old-style class to new-style class transition? I'd ignore it. I never understood it and

User-defined Exceptions: is self.args OK?

2008-04-16 Thread petr . jakes . tpc
Hi, I am trying to dig through User-defined Exceptions (http:// docs.python.org/tut/node10.html chapter 8.5) is it OK to add following line to the __init__ method of the TransitionError class? self.args = (self.previous, self.next, self.message) If I do not add this argument to the

question about setup.py and CC and LDSHARED env variables on Solaris

2008-04-16 Thread srf99
Recently I was trying to compile/install cx_Oracle on our Solaris system. When I ran python setup.py build I got the following message: /usr/ucb/cc: language optional software package not installed I Googled around and discovered that this is a frequently-encountered issue on Solaris systems,

Re: py3k s***s

2008-04-16 Thread Chris Mellon
On Wed, Apr 16, 2008 at 11:40 AM, Aaron Watters [EMAIL PROTECTED] wrote: On Apr 16, 12:27 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: On Apr 16, 6:56 am, Aaron Watters [EMAIL PROTECTED] wrote: I don't get it. It ain't broke. Don't fix it. So how would you have done the old-style

Re: Default parameter for a method... again

2008-04-16 Thread Matimus
On Apr 16, 9:26 am, [EMAIL PROTECTED] wrote: I had posted this before but all the spam whipped it out... I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For

What can we do about all the spam that the list is getting?

2008-04-16 Thread srf99
What can we do about all the spam that comp.lang.python is getting? Things are getting pretty bad. -- http://mail.python.org/mailman/listinfo/python-list

Re: Finally had to plonk google gorups.

2008-04-16 Thread Torsten Bronger
Hallöchen! Michael Torrie writes: Torsten Bronger wrote: The admistrative overhead of mailing lists is tedious. Fortunately, most important computer-related lists are on gmane.org. We could list c.l.py there, too. ;-) Running a few lists myself, I don't see this. How is administrative

Re: Unicode chr(150) en dash

2008-04-16 Thread John Nagle
[EMAIL PROTECTED] wrote: Hello guys girls I'm pasting an en dash (http://www.fileformat.info/info/unicode/char/2013/index.htm) character into a tkinter widget, expecting it to be properly stored into a MySQL database. I'm getting this error:

Re: Finally had to plonk google gorups.

2008-04-16 Thread Steve Holden
Torsten Bronger wrote: Hallöchen! Michael Torrie writes: [...] This official python list is one of the few lists that's even still on nntp. All my other ones (gnome, gtk, openldap, clamav, freeradius, etc) are all e-mail mailing lists only and it works very well. In fact, I think

Re: py3k s***s

2008-04-16 Thread Aaron Watters
Since you don't care about any of the changes or features, and you don't care if your users care, I'm not sure why you aren't just using python 2.1. It's not like it's being erased via time machine. Just keep using the old thing is a perfectly valid and extremely common futureproofing

Re: Profiling very small/quick functions, help!?

2008-04-16 Thread Aaron Watters
On Apr 16, 12:35 pm, [EMAIL PROTECTED] wrote: if __name__==__main__: try: from cProfile import run except: from profile import run for x in range(1, 1): run(power(10,10)) def test1(): for x in xrange(1,1): test = power(10,10) if

Re: Finally had to plonk google gorups.

2008-04-16 Thread D'Arcy J.M. Cain
On Wed, 16 Apr 2008 08:23:50 -0700 (PDT) Mike Driscoll [EMAIL PROTECTED] wrote: My workplace doesn't offer NNTP, so there is no good way to browse c.l.py here. And I haven't been able to get NNTP to work from my home either. Hi Mike; I am half way to killing Google groups myself. Your

Re: py3k s***s

2008-04-16 Thread Rhamphoryncus
On Apr 16, 10:40 am, Aaron Watters [EMAIL PROTECTED] wrote: On Apr 16, 12:27 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: On Apr 16, 6:56 am, Aaron Watters [EMAIL PROTECTED] wrote: I don't get it. It ain't broke. Don't fix it. So how would you have done the old-style class to new-style

Re: vary number of loops

2008-04-16 Thread Mensanator
On Apr 16, 8:31 am, [EMAIL PROTECTED] wrote: Hi everyone, I'm new to Python and the notion of lambda, and I'm trying to write a function that would have a varying number of nested for loops depending on parameter n. This just smells like a job for lambda for me, but I can't figure out how to

Re: Finally had to plonk google gorups.

2008-04-16 Thread Torsten Bronger
Hallöchen! Steve Holden writes: Torsten Bronger wrote: [...] The admistrative overhead of mailing lists is tedious. Fortunately, most important computer-related lists are on gmane.org. We could list c.l.py there, too. ;-) c.l.py has been on gmane for years, as comp.python.general (why

Re: What can we do about all the spam that the list is getting?

2008-04-16 Thread Mensanator
On Apr 16, 12:01 pm, [EMAIL PROTECTED] wrote: What can we do about all the spam that comp.lang.python is getting? Things are getting pretty bad. Buy Google and make them fix it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mensanator
On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam.  In order to try to not tar both the benign google group users and the malignant ones with the same brush, I've been trying to kill usenet spam with subject patterns.  But that's not a battle

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 12:40 pm, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote: On Wed, 16 Apr 2008 08:23:50 -0700 (PDT) Mike Driscoll [EMAIL PROTECTED] wrote: My workplace doesn't offer NNTP, so there is no good way to browse c.l.py here. And I haven't been able to get NNTP to work from my home either.

Global Python Sprint Weekends: May 10th-11th and June 21st-22nd.

2008-04-16 Thread Trent Nelson
Following on from the success of previous sprint/bugfix weekends and sprinting efforts at PyCon 2008, I'd like to propose the next two Global Python Sprint Weekends take place on the following dates: * May 10th-11th (four days after 2.6a3 and 3.0a5 are released) *

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 11:06 am, Steve Holden [EMAIL PROTECTED] wrote: Mike Driscoll wrote: On Apr 16, 10:09 am, Steve Holden [EMAIL PROTECTED] wrote: Mike Driscoll wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam. In order to try to not

Re: Finally had to plonk google gorups.

2008-04-16 Thread D'Arcy J.M. Cain
On Wed, 16 Apr 2008 09:11:09 -0700 Daniel Fetchinson [EMAIL PROTECTED] wrote: Full disclosure: I'm using google groups for both reading and writing. You are? I guess I don't have my filter set correctly then. Can someone please tell me what headers indicate that it is a Google groups posting.

Re: Finally had to plonk google gorups.

2008-04-16 Thread D'Arcy J.M. Cain
On Wed, 16 Apr 2008 10:39:16 -0600 Michael Torrie [EMAIL PROTECTED] wrote: Running a few lists myself, I don't see this. How is administrative overhead tedious? Most open source projects do it, so I wonder just how tedious it is. Of all the projects I'm associated with in lists, Python is

Re: Finally had to plonk google gorups.

2008-04-16 Thread Torsten Bronger
Hallöchen! D'Arcy J.M. Cain writes: On Wed, 16 Apr 2008 09:11:09 -0700 Daniel Fetchinson [EMAIL PROTECTED] wrote: Full disclosure: I'm using google groups for both reading and writing. You are? Maybe, but not with this posting. It was sent through the mailing list. By the way, the

Re: Finally had to plonk google gorups.

2008-04-16 Thread Dan Upton
On Wed, Apr 16, 2008 at 1:49 PM, Mike Driscoll [EMAIL PROTECTED] wrote: On Apr 16, 12:40 pm, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote: I don't think I like the email list idea all that much. I'm already on a number of them and they fill up my box like crazy. Besides that, in email format

Re: py3k s***s

2008-04-16 Thread Aaron Watters
On Apr 16, 1:42 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: The only reason to not make the changes is that old, crufty, unmaintained libraries applications might depend on them somehow. If that's more important to you, what you really want is a language who's specs are frozen - much like C

Re: Finally had to plonk google gorups.

2008-04-16 Thread J. Cliff Dyer
On Wed, 2008-04-16 at 12:06 -0400, Steve Holden wrote: Mike Driscoll wrote: On Apr 16, 10:09 am, Steve Holden [EMAIL PROTECTED] wrote: Mike Driscoll wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam. In order to try to not tar

Re: Finally had to plonk google gorups.

2008-04-16 Thread J. Cliff Dyer
On Wed, 2008-04-16 at 10:49 -0700, Mike Driscoll wrote: On Apr 16, 12:40 pm, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote: On Wed, 16 Apr 2008 08:23:50 -0700 (PDT) Mike Driscoll [EMAIL PROTECTED] wrote: My workplace doesn't offer NNTP, so there is no good way to browse c.l.py here. And I

Re: Finally had to plonk google gorups.

2008-04-16 Thread Grant Edwards
On 2008-04-16, Mensanator [EMAIL PROTECTED] wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam.  In order to try to not tar both the benign google group users and the malignant ones with the same brush, I've been trying to kill usenet

Re: Finally had to plonk google gorups.

2008-04-16 Thread lbonafide
On Apr 16, 11:06 am, Steve Holden [EMAIL PROTECTED] wrote: I'm not saying people shouldn't use Google Groups. I'm saying that Google can justify providing customer support that lives somewhere between zero and extremely crappy by not charging for the service. It's even worse than that. Click

Re: py3k s***s

2008-04-16 Thread Rhamphoryncus
On Apr 16, 12:10 pm, Aaron Watters [EMAIL PROTECTED] wrote: On Apr 16, 1:42 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: The only reason to not make the changes is that old, crufty, unmaintained libraries applications might depend on them somehow. If that's more important to you, what

Re: [Python-Dev] Global Python Sprint Weekends: May 10th-11th and June 21st-22nd.

2008-04-16 Thread Michael Foord
Trent Nelson wrote: Following on from the success of previous sprint/bugfix weekends and sprinting efforts at PyCon 2008, I'd like to propose the next two Global Python Sprint Weekends take place on the following dates: * May 10th-11th (four days after 2.6a3 and 3.0a5 are

Re: insert python script in current script

2008-04-16 Thread Larry Bates
Prashant wrote: I was wondering is there any way to do this: I have written a class in python and __init__ goes like this: def __init__(self): self.name = 'jack' self.age = 50 import data now here there is data.py in the same directory and contents are like: self.address

Re: Finally had to plonk google gorups.

2008-04-16 Thread Severian
Grant Edwards wrote: On 2008-04-16, Mensanator [EMAIL PROTECTED] wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam. In order to try to not tar both the benign google group users and the malignant ones with the same brush, I've been

str class inheritance prob?

2008-04-16 Thread jkazoo
so I’m trying to create a class that inherits from str, but I want to run some code on the value on object init. this is what I have: class Path(str): def __init__( self, path ): clean = str(path).replace('\\','/') while

Re: Default parameter for a method

2008-04-16 Thread Larry Bates
[EMAIL PROTECTED] wrote: I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For example: class A: def __init__(self): self.x = 1 def

Re: Interesting timing issue I noticed

2008-04-16 Thread Gabriel Genellina
En Wed, 16 Apr 2008 10:36:14 -0300, Jonathan Shao [EMAIL PROTECTED] escribió: *Gabriel Genellina* gagsl-py2 at yahoo.com.ar python-list%40python.org?Subject=Interesting%20timing%20issue%20I%20noticedIn-Reply-To= *Wed Apr 16 08:44:10 CEST 2008* Another thing would be to rearrange the loops so

Re: py3k s***s

2008-04-16 Thread Aaron Watters
On Apr 16, 2:33 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: The point is, you can't have it both ways. Either you evolve the language and break things, or you keep it static and nothing breaks. I disagree. You can add lots of cool stuff without breaking the existing code base, mostly. For

str class inheritance prob?

2008-04-16 Thread Hamish McKenzie
so I'm trying to create a class that inherits from str, but I want to run some code on the value on object init. this is what I have: class Path(str): def __init__( self, path ): clean = str(path).replace('\\','/') while

Re: Interesting timing issue I noticed

2008-04-16 Thread Dan Upton
On Wed, Apr 16, 2008 at 2:54 PM, Gabriel Genellina [EMAIL PROTECTED] wrote: En Wed, 16 Apr 2008 10:36:14 -0300, Jonathan Shao [EMAIL PROTECTED] escribió: *Gabriel Genellina* gagsl-py2 at yahoo.com.ar python-list%40python.org?Subject=Interesting%20timing%20issue%20I%20noticedIn-Reply-To=

Re: Default parameter for a method

2008-04-16 Thread Cliff Wells
On Wed, 2008-04-16 at 13:47 -0500, Larry Bates wrote: [EMAIL PROTECTED] wrote: I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For example: class A:

Re: str class inheritance prob?

2008-04-16 Thread Jerry Hill
On Wed, Apr 16, 2008 at 2:35 PM, Hamish McKenzie [EMAIL PROTECTED] wrote: so I'm trying to create a class that inherits from str, but I want to run some code on the value on object init. this is what I have: You actually want to run your code when creating the new object, not when initializing

Re: py3k s***s

2008-04-16 Thread Gabriel Genellina
En Wed, 16 Apr 2008 13:09:05 -0300, Aaron Watters [EMAIL PROTECTED] escribió: On Apr 16, 11:15 am, Gabriel Genellina [EMAIL PROTECTED] wrote: On 16 abr, 09:56, Aaron Watters [EMAIL PROTECTED] wrote: In my opinion python's adherence to backwards compatibility has been a bit mythological

Passing the output of a thread to the caller.

2008-04-16 Thread Marlin Rowley
I have a thread that I've created from a main program. I started this thread and passed it a function to execute. Within this function are 'print' statements. While they are directly translated to the stdout, I would love to return them back to the program itself and store them in an object.

Re: Default parameter for a method

2008-04-16 Thread Peter Otten
Cliff Wells wrote: On Wed, 2008-04-16 at 13:47 -0500, Larry Bates wrote: [EMAIL PROTECTED] wrote: I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For

Re: py3k s***s

2008-04-16 Thread Aaron Watters
Also in the case of C/java etc changing the infrastructure is less scary because you usually find out about problems when the compile or link fails. For Python you may not find out about it until the program has been run many times. Perhaps this will inspire improved linters and better

Re: py3k s***s

2008-04-16 Thread [EMAIL PROTECTED]
On Apr 16, 2:52 pm, Aaron Watters [EMAIL PROTECTED] wrote: I disagree. You can add lots of cool stuff without breaking the existing code base, mostly. For example the minor changes to the way ints will work will effect almost no programs. Wow, I'd venture that the division changes with

Re: py3k s***s

2008-04-16 Thread Rhamphoryncus
On Apr 16, 12:52 pm, Aaron Watters [EMAIL PROTECTED] wrote: On Apr 16, 2:33 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: The point is, you can't have it both ways. Either you evolve the language and break things, or you keep it static and nothing breaks. I disagree. You can add lots of

Does Python use a special home-made parser, or does it use Yacc?

2008-04-16 Thread Robert
Or some other pre-packaged parser tool? -- http://mail.python.org/mailman/listinfo/python-list

Re: What can we do about all the spam that the list is getting?

2008-04-16 Thread Mark Shroyer
In article [EMAIL PROTECTED], Mensanator [EMAIL PROTECTED] wrote: On Apr 16, 12:01 pm, [EMAIL PROTECTED] wrote: What can we do about all the spam that comp.lang.python is getting? Things are getting pretty bad. Buy Google and make them fix it. I've had pretty good luck with

Re: Does Python use a special home-made parser, or does it use Yacc?

2008-04-16 Thread Martin v. Löwis
Robert wrote: Or some other pre-packaged parser tool? None of them: it's not YACC, not a pre-packaged parser tool, and not a home-made parser. Instead, it uses pgen, a parser tool that is included in the Python distribution (whether *that* was made at home or at work, I don't know :-). Regards,

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mensanator
On Apr 16, 1:43 pm, Severian [EMAIL PROTECTED] wrote: Grant Edwards wrote: On 2008-04-16, Mensanator [EMAIL PROTECTED] wrote: On Apr 16, 9:19 am, Grant Edwards [EMAIL PROTECTED] wrote: This morning almost half of c.l.p was spam.  In order to try to not tar both the benign google group

Re: Default parameter for a method

2008-04-16 Thread John Nagle
[EMAIL PROTECTED] wrote: I wanted to know if there's any way to create a method that takes a default parameter, and that parameter's default value is the return value of another method of the same class. For example: ... def meth2(self, arg=meth1()): Not good. If the default

Profiling, recursive func slower than imperative, normal?

2008-04-16 Thread skanemupp
the 0.409 vs 0.095 is the total times right? so the imperative function is 4 times faster than the recursive. or what does tottime stand for? is this always the case that the recursive function is slower? the gain is less code? are some functions only implementable recursively? def power(nbr,

def power, problem when raising power to decimals

2008-04-16 Thread skanemupp
how do i solve power(5,1.3)? def power(nbr, po): if po==0: return 1 if po0: return nbr*power(nbr, po-1) if po0: return 1/power(nbr, -1*po) also i found a link which states 0^0 isnt 1 even though every calculator ive tried says it is. it doesnt say what it is

Re: Finally had to plonk google gorups.

2008-04-16 Thread Michael Torrie
On Wed, Apr 16, 2008 at 11:49 AM, Mike Driscoll [EMAIL PROTECTED] wrote: I don't think I like the email list idea all that much. I'm already on a number of them and they fill up my box like crazy. Besides that, in email format it's hard to follow the thread, so one moment I'm reading about

Re: Profiling, recursive func slower than imperative, normal?

2008-04-16 Thread Jean-Paul Calderone
On Wed, 16 Apr 2008 13:18:22 -0700 (PDT), [EMAIL PROTECTED] wrote: the 0.409 vs 0.095 is the total times right? so the imperative function is 4 times faster than the recursive. or what does tottime stand for? is this always the case that the recursive function is slower? the gain is less code?

Re: def power, problem when raising power to decimals

2008-04-16 Thread Mark Dickinson
On Apr 16, 4:19 pm, [EMAIL PROTECTED] wrote: how do i solve power(5,1.3)? [...] also i found a link which states 0^0 isnt 1 even though every calculator ive tried says it is. it doesnt say what it is but i presume 0 then. but it seems the dude is wrong and it is 1? 5**1.3

Re: str class inheritance prob?

2008-04-16 Thread s0suk3
On Apr 16, 1:43 pm, [EMAIL PROTECTED] wrote: so I’m trying to create a class that inherits from str, but I want to run some code on the value on object init. this is what I have: class Path(str): def __init__( self, path ): clean =

Re: Profiling, recursive func slower than imperative, normal?

2008-04-16 Thread s0suk3
On Apr 16, 3:27 pm, Jean-Paul Calderone [EMAIL PROTECTED] wrote: Any function can be implemented without recursion, although it isn't always easy or fun. Jean-Paul Really? I'm curious about that, I can't figure out how that would work. Could give an example? Say, for example, the typical:

audio mid recorder 3.95 and crack

2008-04-16 Thread wwzaygvm
audio mid recorder 3.95 and crack http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

xilisoft video converter crack

2008-04-16 Thread wwzaygvm
xilisoft video converter crack http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

windows live onecare keygen

2008-04-16 Thread wwzaygvm
windows live onecare keygen http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

hippie patch work clothes and purses

2008-04-16 Thread wwzaygvm
hippie patch work clothes and purses http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

fireworks cs3 crack

2008-04-16 Thread wwzaygvm
fireworks cs3 crack http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

trading software cracks

2008-04-16 Thread wwzaygvm
trading software cracks http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Re: py3k s***s

2008-04-16 Thread Steve Holden
Aaron Watters wrote: On Apr 16, 2:33 pm, Rhamphoryncus [EMAIL PROTECTED] wrote: The point is, you can't have it both ways. Either you evolve the language and break things, or you keep it static and nothing breaks. I disagree. You can add lots of cool stuff without breaking the existing

partition manager 8.5 keygen

2008-04-16 Thread wwzaygvm
partition manager 8.5 keygen http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

win xp sp2 keygen

2008-04-16 Thread wwzaygvm
win xp sp2 keygen http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

indesign cs2 crack

2008-04-16 Thread wwzaygvm
indesign cs2 crack http://cracks.12w.net F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Re: py3k s***s

2008-04-16 Thread Marc 'BlackJack' Rintsch
On Wed, 16 Apr 2008 12:32:00 -0700, Aaron Watters wrote: Perhaps this will inspire improved linters and better coding practices Better coding practices such as extensive unit tests? Greetings from Earth. What planet are you from? :) There is always the possibility that frustrated

<    1   2   3   >