Re: [Python-Dev] [PSF-Board] I've got a surprise for you!

2009-01-27 Thread Steve Holden
s already > managing a T2000 server. Jim: Thanks, this is a terrific offer. I am copying it to the Python developers list so they can discuss it - I know that Solaris is one of the platforms we do get quite a few build questions about. regards Steve -- Steve Holden+1 5

Re: [Python-Dev] V8, TraceMonkey, SquirrelFish and Python

2009-01-27 Thread Steve Holden
> I am sure this will be included as a part of the discussion at the VM summit that's taking place as a part of the pre-PyCon activity. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/

[Python-Dev] Sun resources [Was: I've got a surprise for you!]

2009-01-27 Thread Steve Holden
So, if anyone wants to run a Sun buildbot or whatever, Jim would be the person to contact. Synchronize on this list to ensure Jim doesn't get multiple approaches, please. regards Steve Original Message Subject: Re: [PSF-Board] I've got a surprise for you! Date: T

Re: [Python-Dev] Python 3.0.1

2009-01-27 Thread Steve Holden
sh silently. > > I stand by my opinion about the right way to do this. I also think that > a 3.1 release 6 months after 3.0 is perfectly fine and serves our users > just as well. > +1 regards Steve -- Steve Holden+1 571

Re: [Python-Dev] Python 3.0.1

2009-01-27 Thread Steve Holden
Steve Holden wrote: > Barry Warsaw wrote: [...] >> I stand by my opinion about the right way to do this. I also think that >> a 3.1 release 6 months after 3.0 is perfectly fine and serves our users >> just as well. >> > +1 > I should have been more explicit. I

Re: [Python-Dev] Python 3.0.1

2009-01-28 Thread Steve Holden
years and years in the way that, say, 2.4 still is. > It might also be a good idea to take the download link off the front page of python.org: until that happens newbies are going to keep coming along and downloading it "because it's the newest". regards Steve -- Steve Holden

Re: [Python-Dev] Python 3.0.1

2009-01-28 Thread Steve Holden
I expect that some newbies would find 2.6 a somewhat > confusing mix of old and new. > Fair point. At least we both agree that the current site doesn't best serve the punters. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www

Re: [Python-Dev] Python 3.0.1

2009-01-29 Thread Steve Holden
rtainly never intimated such a thing (I said it was "a rushed release"). Did anyone? Of course we can fix it. Of course 2.6 is great. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ __

Re: [Python-Dev] Python 3.0.1

2009-01-30 Thread Steve Holden
ough we know what they are doing and what they want, is not going to lead to better acceptance of future releases. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev ma

[Python-Dev] Python Best Again

2011-12-07 Thread Steve Holden
national Python community. Please pass this on to other members of your developer community who may not receive this message directly. Seriously, thanks. Having quality releases of a great language really does make it easier to promote Python! regards Steve -- Steve Holden st...@holdenweb.c

[Python-Dev] Fwd: How to recruit open-source contributors – The Story of Data

2012-07-11 Thread Steve Holden
Interesting article about Gentoo's approach to developer recruitment from GSoC: http://redmonk.com/dberkholz/2012/07/10/how-to-recruit-open-source-contributors/ S -- Steve Holden st...@holdenweb.com, Holden Web, LLC http://holdenweb.com/ Python classes (and much more) through the web

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-12 Thread Steve Dower
from zoneinfo. Unfortunately it doesn't look like there's enough overlap to allow an automated mapping. That said, it is incredibly easy to convert between UTC and local (http://msdn.microsoft.com/en-us/library/ms724949.aspx), even for dates in the past or future when the informati

[Python-Dev] PyCon is coming - we need your help

2004-12-21 Thread Steve Holden
any channels you know of that have an interest in the Python language and its applications - publicity is the key to getting the most diverse group of people at PyCon. regards Steve Holden Chairman, PyCON DC 2005 -- PyCon DC 2005: The third Python Community Conference http://www.pycon.org/ http

[Python-Dev] PyCon Registration Opens Today!

2004-12-23 Thread Steve Holden
and peaceful holiday season. regards Steve Holden Chairman, PyCON DC 2005 -- PyCon DC 2005: The third Python Community Conference http://www.pycon.org/ http://www.python.org/pycon/ The scoop on Python implementations and applications ___ Python-Dev

[Python-Dev] PyCon Preliminary Program Announced!

2005-01-20 Thread Steve Holden
always, I would appreciate your help in getting the word out. Please forward this message to your favorite mailing lists and newsgroups to make sure that everyone has a chance to join in the fun! regards Steve Holden Chairman, PyCON DC 2005 -- PyCon DC 2005: The third Python Community Confe

[Python-Dev] Microsoft to Provide PyCon Opening Keynote

2005-01-23 Thread Steve Holden
http://www.python.org/moin/PyConDC2005/Schedule for the current schedule, and register at http://www.python.org/pycon/2005/ regards Steve Holden Chairman, PyCON DC 2005 -- PyCon DC 2005: The third Python Community Conference http://www.pycon.org/ http://www.python.org/pycon/ The scoop

[Python-Dev] PyCon: The Spam Continues ;-)

2005-01-24 Thread Steve Holden
vide PyCon Opening Keynote" is [Python-Dev] Microsoft to Provide PyCon Opening Keynote by Steve Holden (you can repeat the search to see whether this assertion is true as you read this mail, and read the opening keynote announcement [I hope...]). Space at PyCon is again enlarged, but it cert

[Python-Dev] Re: [PyCON-Organizers] PyCon: The Spam Continues ;-)

2005-01-24 Thread Steve Holden
Steve Holden wrote: [some things followed by] If I remember Trent Lott (?) described at an IPC the SQL Server database that drives this system, and it was a great example of open source technology driving a proprietary (but I expect (?) relatively portable) repository. Please forgive me for

[Python-Dev] Re: [PyCON-Organizers] PyCon: The Spam Continues ;-)

2005-01-26 Thread Steve Holden
David Ascher wrote: Steve Holden wrote: Dear python-dev: The current (as of even date) summary of my recent contributions to Python -dev appears to be spam about PyCon. Not being one to break habits, even not those of a lifetime sometimes, I spam you yet again to show you what a beautiful

[Python-Dev] Re: [PyCon] Reg: Registration

2005-01-28 Thread Steve Holden
ay morning. I look forward to joining you all to hear Guido speak on "The State of Python". regards Steve -- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/ Holden Web LLC +1 703 861 4237 +1 800 494 3119 __

[Python-Dev] Database import problems

2005-02-01 Thread Steve Holden
e off-list (or on-list, come to that) to anybody who can assist. regards Steve -- Meet the Python developers and your c.l.py favorites Come to PyCon http://www.python.org/pycon/2005/ Steve Holden http://www.holdenweb.com/ ___ Python-Dev

[Python-Dev] Re: Comment regarding PEP 328

2005-02-24 Thread Steve Holden
to the assistance of many willing hands. The import arena is full of obsolete hooks and other cruft and, while I can't help feeling that it would benefit from a complete redefinition I suspect that breakage-avoidance might require that waits until 3.0. regards Steve ___

[Python-Dev] Re: python-dev Summary for 2005-01-16 through 2005-01-31

2005-03-01 Thread Steve Holden
g up doing them. This stems from a personal belief that organic growth (IMHO the healthiest type) will only be engendered by variety. I was the Chairman of the Sun UK User Group once. When I was elected I said I would serve for two years, and when I resigned after two years many people said to

[Python-Dev] Final PyCon Keynote from Google Speaker

2005-03-03 Thread Steve Holden
ble via http://www.python.org//pycon/2005/register.html This is going to be a great opportunity for all those with an interest in Python to see just how far the language has come. regards Steve Holden Chairman, PyCON DC 2005 -- PyCon DC 2005: The third Python Community Conference http://www.py

[Python-Dev] Re: Documentation for __new__

2005-03-07 Thread Steve Holden
LaTeX yet? If not, I might. Greg I decided some time ago that documenting Python in LaTex wasn't my forte ... regards Steve ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Re: comprehension abbreviation (was: Adding any() and all())

2005-03-28 Thread Steve Holden
then transforming the copies as a separate step seems a little ... unnecessary. Having to write [x for x in seq] to produce a copy of a list doesn't seem that outrageous to me, and I don't find the predicate-less case of your proposal that convincing: [x in seq] seems somehow to

[Python-Dev] Re: marshal / unmarshal

2005-04-08 Thread Steve Holden
privileges in order to avoid the impression that we might one day work on stuff that actually useful to real Python users. Except, possibly, conferences. The effbot is at least averagely cantankerous this month :-) unworthi-ly y'rs - steve -- Steve Holden+1 703 861 4237 +1 800 494

[Python-Dev] Re: anonymous blocks

2005-04-21 Thread Steve Holden
unction namespaces are in fact extremely short-lived, and there is little point worrying about clutter as long as there's no chance of confusion. regards Steve -- Steve Holden+1 703 861 4237 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ Python Web Progr

[Python-Dev] Loading compiled modules under MSYS/MingGW?

2005-05-15 Thread Steve Castellotti
7;s the right kind of question(s) I need to be asking? It seems to me that the compile is going through just fine, but somethings not getting built correctly and Python can't see that module. Cheers in advance, Steve Castellotti ___ Python-Dev mail

Re: [Python-Dev] Summer of Code: Developing complete SSL support for Python

2005-06-13 Thread Steve Holden
's - by the incorporation of the CAs' self-signed certificates, as in the browsers. So almost certainly if the platform has a certificate repository it might be good to offer an interface to that, as well as offering a private certificate repository. regards Steve -- Steve Holde

Re: [Python-Dev] Adventures with ASTs - Inline Lambda

2006-02-16 Thread Steve Holden
. The context > diff is less than two printed pages. I can post it somewhere if people > are interested. > > Anyway, I am not going to lobby for a language change or write a PEP > (unless someone asks me to.) I just wanted to throw this out there and > see what people think o

Re: [Python-Dev] Proposal: defaultdict

2006-02-17 Thread Steve Holden
e type) then a factory function would be a very acceptable substitute, no? (The function could make use of a subclass - there's surely no necessity to provide the default as an initializer argument: it could be provided as an argument to a method present only i

Re: [Python-Dev] Test failures in test_timeout

2006-02-17 Thread Steve Holden
se subprocess to start a reliably slow server on localhost? It might even be possible to retrieve the ephemeral port number used by the server, to avoid conflicts with already-used ports on the testing machine. regards Steve -- Steve Hol

Re: [Python-Dev] bytes type discussion

2006-02-17 Thread Steve Holden
s just below 10 SEK/L, > but they found a way... > IIRC Guido is on record as saying "There will be no Python 2.10 because I hate the ambiguity of double-digit minor release numbers", or words to that effect. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494

Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Steve Holden
or functions. > Also, I think has_key/in should return True if there is a default. > It certainly seems desirable to see True where d[some_key] doesn't raise an exception, but one could argue either way. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden W

Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Steve Holden
mplementing a multiset so that one can write > > d[key].append(value) > > to add a new key/value to the multiset without having to handle the > case separately where the key isn't in the dict yet. This also works > for sets instead of lists: > > d = {} > d.default_fa

Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Steve Holden
we use (or should use) documentation. > > One could wish this ideal had been the case for the import extensions defined in PEP 302. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.pytho

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Steve Holden
e that (still at http://www.benjiyork.com/pybb). >> >>I liked your current version better so I installed it. > > > How about this one: > http://styx.livinglogic.de/~walter/python/BuildBot_%20Python.html > All formats would be improved of the headers could be made to fl

Re: [Python-Dev] defaultdict proposal round three

2006-02-22 Thread Steve Holden
so I'm just trying to make > sure we don't squander it lightly. > Given that the default entries behind the non-existent keys don't actually exist, something like "virtual_dict" might be appropriate. Or "phantom_dict", or "ghost_d

Re: [Python-Dev] Using and binding relative names (was Re: PEP forBetter Control of Nested Lexical Scopes)

2006-03-03 Thread Steve Holden
rgraduate project at Leeds University). Griswold later went to the University of Arizona and developed Icon, Dewar went to Rutgers (I think) and developed SETL. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/L

Re: [Python-Dev] When will regex really go away?

2006-03-03 Thread Steve Holden
the uses of regsub to re, any > Neal> volunteers? > > Whippersnapper... sheesh! I still remember when all we had was regex. And > we were thankful for it, by golly. Now you'd think the young-uns never knew > it existed. > You had regex? You were lucky. (etc., etc.) y

Re: [Python-Dev] conditional expressions - add parens?

2006-03-06 Thread Steve Holden
vel = (0 if "absolute_import" in self.futures else -1) > Contrast with the bleeding obvious: level = 0 if "absolute_import" in self.futures: level = -1 or even, if a certain obscurity is desirable: level = - ("absolute_impor

Re: [Python-Dev] conditional expressions - add parens?

2006-03-06 Thread Steve Holden
Morel Xavier wrote: > Steve Holden wrote: > >> Contrast with the bleeding obvious: >> >> level = 0 >> if "absolute_import" in self.futures: >> level = -1 >> >> regards >> Steve > > > > The issue tha

Re: [Python-Dev] conditional expressions - add parens?

2006-03-07 Thread Steve Holden
Joe Smith wrote: > "Steve Holden" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Jim Jewett wrote: >> >>>I think that adding parentheses would help, by at least signalling that >>>the logic is longer than just

Re: [Python-Dev] conditional expressions - add parens?

2006-03-07 Thread Steve Holden
require, and would like some sort of advance > warning. Parentheses at least tell me "You're not done > yet; keep reading." > > >>> ack(r,r) if r not in cache > > >>> log(message) if error_flag > I think you've misunderst

Re: [Python-Dev] "as" mania

2006-03-07 Thread Steve Holden
; It's not a big deal, but it is not completely negligible either. > On the third hand, what about >>> def foo((x1, y1), (x2, y2)): ... print x1, y1, x2, y2 ... >>> origin = (10, 1) >>> corner = (20, 2) >>> foo(origin, corner) 10 1 20 2

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Steve Holden
) > [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>>>raise SystemExit("quit() called") > > quit() called > Error! > > (At least,

Re: [Python-Dev] conditional expressions - add parens?

2006-03-09 Thread Steve Holden
Morel Xavier wrote: > Steve Holden wrote: > >>Contrast with the bleeding obvious: >> >> level = 0 >> if "absolute_import" in self.futures: >> level = -1 >> >>regards >> Steve > > > > The issue that spa

[Python-Dev] The "Need for Speed" Sprint, Reykjavik, Iceland, May 21-28, 2006

2006-04-04 Thread Steve Holden
is available, please notify Steve Holden of your intention to attend by emailing [EMAIL PROTECTED] regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd www.holdenweb.com Love me, love my blog holdenweb.blogspot.com

[Python-Dev] Don Beaudry

2006-04-06 Thread Steve Holden
Does anyone have a current email address for Don? I've had a bounce from dvcorp.com and I need to get in touch with him. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd www.holdenweb.com Love me, love my

[Python-Dev] Calling Thomas Heller and Richard Jones

2006-04-13 Thread Steve Holden
If Thomas Heller and Richard Jones haven't recently received email from me (and are reading this list, naturally) I'd appreciate it if they'd get in touch with me in the next day or so. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Hol

Re: [Python-Dev] [Python-checkins] r46043 - peps/trunk/pep-0356.txt

2006-05-19 Thread Steve Holden
, or would developers prefer to put a fourth alpha in to the schedule? The intention is there should be no major functionality added by the sprint, simply that performance should be improved, so the schedule may work. It's just a call for the release manager really, I guess. regards

Re: [Python-Dev] A Horrible Inconsistency

2006-05-25 Thread Steve Holden
nstituionally incapable of using a forward slash. Don't know what's with the square brackets though ... regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Love me, lo

[Python-Dev] This

2006-05-25 Thread Steve Holden
nt he discussions. Google hasn't given me a lot to go on. Anyone? [Follow-ups to python-dev would be best, I suspect]. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.co

Re: [Python-Dev] A Horrible Inconsistency

2006-05-26 Thread Steve Holden
Greg Ewing wrote: > Steve Holden wrote: > > >>In actual fact the effbot has lately found itself so permeated with >>Windows that it has become constituionally incapable of using a forward >>slash. Don't know what's with the square brackets though ... >

Re: [Python-Dev] epoll implementation

2006-05-26 Thread Steve Holden
the best one available. > Of course that would mean establishing which *was* the best available which, as we've seen this week, may not be easy. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Love me, love my

Re: [Python-Dev] Need for Speed Sprint status

2006-05-27 Thread Steve Holden
cker when I get a chance. There are a > couple of new Coverity complaints that need to be addressed. > That'll be great. Again, let me say we've had terrific support from many other developers. I hope the whole community benefits from this sprint. regards Steve

Re: [Python-Dev] Let's stop eating exceptions in dict lookup

2006-06-05 Thread Steve Holden
accepting two arguments. IMHO I think we should accept that the behaviour needs to change and be prepared for a few anguished squeals. FWIW I suspect they will be even fewer than anticipated. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://ww

Re: [Python-Dev] Python Benchmarks

2006-06-05 Thread Steve Holden
explains the bogus subtest results I'm seeing, and the "magic >>hardware" behaviour you're seeing. > > > That's exactly the reason why tests run for a relatively long > time - to minimize these effects. Of course, using wall time > make this approach vulne

Re: [Python-Dev] Python Benchmarks

2006-06-07 Thread Steve Holden
ps so, but it would have been nice if you could have come to this conclusion before asking me not to make this change, which would otherwise have been checked in two weeks ago. Still, as long as we can all agree on this and move forward I suppose the intervening debate at least leaves us bett

Re: [Python-Dev] External Package Maintenance (was Re: Please stop changing wsgiref on the trunk)

2006-06-12 Thread Steve Holden
o was offended by the original message please pretend > that it was delightfully witty and written by Tim instead? Thanks. ;) > I wonder what the hell's up with Tim. He's been really crabby lately ... regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden We

Re: [Python-Dev] Dropping externally maintained packages (Was:Please stop changing wsgiref on the trunk)

2006-06-12 Thread Steve Holden
ably-until-the-end-of-time-ly y'rs - steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Love me, love my blog http://holdenweb.blogspot.com Recent Ramblings http://del.icio.us/steve.holden _

Re: [Python-Dev] ImportWarning flood

2006-06-27 Thread Steve Holden
ys/packages.html > Yeah, that'll really help the end-user whose sys admin has just upgraded to 2.5, won't it? regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Love me, love my blog http://holdenweb.blogspot.c

Re: [Python-Dev] Bare except clauses in PEP 348

2005-08-25 Thread Steve Holden
ted. > Perhaps you should go for the £10 argument next door? regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http:/

Re: [Python-Dev] Remove str.find in 3.0?

2005-08-28 Thread Steve Holden
s surely that one of find()'s legitimate return values evaluates false in a Boolean context. It's especially troubling that the value that does so doesn't indicate search failure. I'd prefer to live with the wart until 3.0 introduces something more satisfactory, or simply r

Re: [Python-Dev] empty string api for files

2005-08-28 Thread Steve Holden
> I have no idea of today's practice though. > Indeed. Something like: SYSIN DD *,BLKSIZE=80 IIRC (which I may well not do after thirty years or so). People used to solve generic programming problems in JCL just for the hell of it. regards Steve -- Steve Holden +44 150

Re: [Python-Dev] Remove str.find in 3.0?

2005-08-30 Thread Steve Holden
g can it? > > (Just think of it as rpartition() stopping at the last occurrence, > rather than searching from the right. :-) > So we can check that a substring x appears precisely once in the string s using s.partition(x) == s.rpartition(x) Oops, it fails

Re: [Python-Dev] Proof of the pudding: str.partition()

2005-08-31 Thread Steve Holden
l arguments about the distribution of use cases and input lengths. If we had a type that represented a substring of an existing string it might avoid the stress, but I'm not sure I see that one flying. > >>So, using three variables is both faster *and* easier to read than any o

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-01 Thread Steve Holden
keyword there's nothing to stop us calling the convenience function "print". With the removal of the trailing-comma functionality we'd only have to add parentheses to 2.X print statements to have them work :-) Next question: could the function have a sensible

Re: [Python-Dev] String views

2005-09-01 Thread Steve Holden
n to pass a substring to such > a routine. > Since Python strings *can* contain embedded NULs, doesn't that rather poo on the idea of passing pointers to their data to C functions as things stand? regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-02 Thread Steve Holden
, and be driven to suicide by the enforced interactions with the other developers who had nothing but scorn for the lowly print statement. On the other hand, with that kind of money you could probably hire enough geeks to do the maintenance for you. first-in-line-for-the-job-ly y'rs

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-03 Thread Steve Holden
ent from ABC and BASIC"? In that case I suppose we'd better start thinking about what to use instead of "if" and "for". What did the print statement do to us that it must be cast out in this way? I suspect the fundamental problem is that the commas do something mor

Re: [Python-Dev] String views

2005-09-05 Thread Steve Holden
pragmatic Python solution, so I'm not about to start a war about it. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http:

Re: [Python-Dev] reference counting in Py3K

2005-09-06 Thread Steve Holden
the need > for ref. counting. > Reference counting is an implementation detail, and isn't a part of the language specifications. I have no idea why you find it so annoying, but there are other implementations (Jython, Iron Python) that don't use it. regards Steve -- Steve Ho

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-06 Thread Steve Holden
> I would anticipate security issues with allowing general expressions: you are effectively allowing access to eval(). If a naiive programmer were to use unverified input as a format string unpleasant things could happen ... your call, but it seems dangerous to me. Remember C's printf has

Re: [Python-Dev] PEP 350: Codetags

2005-09-28 Thread Steve Holden
ent line. > # > # Whitespace formatting, after all, is VERY PYTHONIC. ;-) > # Delimiters on the other hand -- well, we prefer not to mention > # the sort of languages that use those, right? ;-) > +1 > Another possibility is to recognize lines like: > > #--- > #*** > #=

Re: [Python-Dev] Adding a conditional expression in Py3.0

2005-09-29 Thread Steve Holden
rllib2.py: type = 'I' if file else 'D' > xdrlib.py: print 'succeed' if pred(x) else 'failed', ':', x > xmlrpclib.py: write("1" if value else "0") > Having though about it more clo

Re: [Python-Dev] Adding a conditional expression in Py3.0

2005-09-29 Thread Steve Holden
Guido van Rossum wrote: > On 9/29/05, Steve Holden <[EMAIL PROTECTED]> wrote: > >>I would argue for mandatory parentheses around the expression, leaving >>room later (probably after Guido is no longer around to be sick at the >>site of it) for: >> >>de

Re: [Python-Dev] Adding a conditional expression in Py3.0

2005-09-29 Thread Steve Holden
Guido van Rossum wrote: > [Guido] > >>>Let me give you what you expect. If all the "X if C else Y" syntax >>>does is prevent that atrocity from ever being introduced, it would be >>>worth it. :) > > > [Steve] > >>Well, fine. However

Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Steve Holden
lp siding with the underdog, doomed for the knacker's yard in Python 3.0. Sniff. The decision on X if C else Y is a cause for much jubilation. Congratulations, Guido! nothing-to-see-here-folks-let's-move-along-ly y'rs - steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Hol

Re: [Python-Dev] __doc__ behavior in class definitions

2005-10-07 Thread Steve Holden
for function scopes, as the module crud = "module crud" def f(): print crud crud = "function crud" print crud f() does indeed raise an UnboundLocalError exception. I'm not enough of a language lawyer to determine exactly why this

Re: [Python-Dev] Pythonic concurrency

2005-10-11 Thread Steve Holden
ad communications are problematic, and arbitrary access to foreign-thread state is a nightmare (although the position has been somewhat alleviated by the introduction of threading.local). Beyond the single-producer many-consumers model there is still plenty of room to shoot yourself in the foot.

Re: [Python-Dev] Extending tuple unpacking

2005-10-11 Thread Steve Holden
> > Indeed. It's a (minor) pain that optional flag variables and variable length > argument lists are currently mutually exclusive. Although, if you had that > rule, I'd want to be able to write: > >def f(a, b, *, foo=1, bar=2): pass > > to get a function which r

Re: [Python-Dev] Extending tuple unpacking

2005-10-13 Thread Steve Holden
; > Py> data = dict(a=1, b=2, c=3) > Py> (a, b, c) = **data > Py> print a, b, c > (1, 2, 3) > > Cheers, > Nick. > This gets too weird, though. What about: (a, **d) = **data Should this be equivalent to a = 1 d = dict(b=2, c=3) ? Basically I suspect we are

Re: [Python-Dev] Guido v. Python, Round 1

2005-10-17 Thread Steve Holden
Neal Norwitz wrote: > We all know Guido likes Python. But the real question is do pythons like > Guido? > > http://python.org/neal/ > Neal: Getting a 404 on this one right now. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119

Re: [Python-Dev] Guido v. Python, Round 1

2005-10-17 Thread Steve Holden
[EMAIL PROTECTED] wrote: > Neal> We all know Guido likes Python. But the real question is do > Neal> pythons like Guido? > > Neal> http://python.org/neal/ > > Like Steve (and unlike Oleg), I get 404s for this page. I also tried > "www.python.o

Re: [Python-Dev] Divorcing str and unicode (no more implicit conversions).

2005-10-31 Thread Steve Holden
t would thereby be engendered I think that would be a good idea. We can fix their programs by making Unicode the default string type, but it will take much longer to fix their thinking. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Ho

Re: [Python-Dev] PEP 351, the freeze protocol

2005-10-31 Thread Steve Holden
deserve to have their > software not work. > That sounds like a "get out of jail free" card for Microsoft and many other software vendors ... regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] Adding examples to PEP 263

2005-11-04 Thread Steve Holden
content. > Under NO circumstances should a Wiki page be used as the destination for a link in a runtime error message. If the page happens to be spammed when the user follows the link they'll wonder why the error message is pointing to a page full of links to hot babes, or whatever.

Re: [Python-Dev] s/hotshot/lsprof

2005-11-20 Thread Steve Holden
le helpfully told me: > > Center for Alcohol & Drug Treatment > I suspect you may already know that Fredrik referred to Cascade of Attention-Deficit Teenagers Where's the BDFL to say "yes" or "no" when you need one? regards Steve -- Steve Holden

Re: [Python-Dev] ast status, memory leaks, etc

2005-11-20 Thread Steve Holden
akes a lot more than that when running without > pymalloc. > Is there maybe a machine in the SourceForge compile farm that could be used for this work? regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-08 Thread Steve Holden
contribute. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/ ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] PEP 8 updates/clarifications

2005-12-10 Thread Steve Holden
;Error". > > > Unless, of course, your exception is not an error (like the > aforementioned HTTPRedirect). ;) > For library modules I'd recommend that the exception hierarchy be rooted at either BaseError (for modules not designed from import-*) or ModulenameBaseError (for

Re: [Python-Dev] Deprecate __ private (was Re: PEP 8 updates/clarifications)

2005-12-12 Thread Steve Holden
vate fantasy ;-) It works fine for its intended use. In that case it would seem to make even *more* sense, theoretically, to replace the class name in mangled names with a GUID, hence avoiding collisions in similarly-named subclasses. Then it would work even finer (though the mangled names would b

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-12 Thread Steve Holden
> > anyone ? > How about "independent" to highlight the fact that development takes place elsewhere? Or "external"? regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-12 Thread Steve Holden
d I think we need a name that differentiates externally-maintained packages from the contributions that are integrated into the core and maintained as part of it. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006

Re: [Python-Dev] ElementTree in stdlib

2005-12-13 Thread Steve Holden
at all for one's code to be included in the core. If the authors of code aren't bothered about its promotion to the core I hardly think anyone else should be. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyC

Re: [Python-Dev] Sharing expat instances

2005-12-14 Thread Steve Holden
to just a single entry in the global module index and adding a first-level TOC at the beginning of that section of content? Even if we then have to call it the global package and module index! regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] Website cruft

2005-12-14 Thread Steve Holden
r be used as we have now migrated to CVS on Sourceforge :-( Could someone fix that? regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/ ___

Re: [Python-Dev] Website cruft

2005-12-14 Thread Steve Holden
Fred L. Drake, Jr. wrote: > On Wednesday 14 December 2005 10:12, Steve Holden wrote: > > However, this change highlights the fact that the checkins mailing-list > > description at > > > >http://mail.python.org/mailman/listinfo/python-checkins > > > &

<    10   11   12   13   14   15   16   >