Re: [Python-Dev] Encouraging developers

2007-03-17 Thread Tony Meyer
. And with that, I was the last person to comment or review the patch in question. [...] On the other hand, what I've done is similar to what you did - comment on someone else's patch. It seems relevant to me that the original poster (Tony Meyer) hasn't felt strongly enough to respond on his

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

2006-03-01 Thread Tony Meyer
Here's the draft for the second half of January. First half of February on its way soon. Any suggestions/corrections/additions/comments welcome. Thanks! -TAM = Announcements = - Google summer internships - Google is

Re: [Python-Dev] 2.5 release schedule

2006-02-15 Thread Tony Meyer
We still need a release manager. No one has heard from Anthony. It is the peak of the summer down here. Perhaps he is lucky enough to be enjoying it away from computers for a while? =Tony.Meyer ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Extension to ConfigParser

2006-01-31 Thread Tony Meyer
[Scott Dial] [Re: http://python.org/sf/1410680] I've spent a small amount of time playing with this patch, and the intent is there, but it appears to have some obvious bugs with adding blank lines and (at least) making an empty [DEFAULT] section appear and disappear. I'm not sure that this

Re: [Python-Dev] Extension to ConfigParser

2006-01-31 Thread Tony Meyer
[Paul Moore] * No way to merge files or sections. Usually to provide default values. I have a suite of applications, all using the same framework. I have a hardcoded DEFAULT_CONFIG in the code, overriden by a suite.ini, overridden again by a app.ini. OK, maybe it's overengineered, but I do

Re: [Python-Dev] Extension to ConfigParser

2006-01-30 Thread Tony Meyer
[Guido] What's so bad about ConfigParser? [Skip Montanaro] It's my opinion that ConfigParser should stay pretty much as it is other than perhaps adding round trip capability. [...] If we want more sophisticated functionality a new module should be written, or one of the existing

Re: [Python-Dev] Extension to ConfigParser

2006-01-30 Thread Tony Meyer
[Guido van Rossum] What would break if we rewrote the save functionality to produce a predictable order? As a reminder to anyone interested, there are three patches on SF that provide this (each in a different way): ConfigParser to accept a custom dict to allow ordering

Re: [Python-Dev] / as path join operator

2006-01-27 Thread Tony Meyer
[Jason Orendorff] Filesystem paths are in fact strings on all operating systems I'm aware of. And it's no accident or performance optimization. It's good design. Isn't that simply because filesystems aren't object orientated? I can't call methods of a path through the filesystem. There's

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Tony Meyer
Remove __div__ (Ian, Jason, Michael, Oleg) This is one of those where everyone (me too) says I don't care either way. If that is so, then I see no reason to change it unless someone can show a scenario in which it hurts readability. Plus, a few people have said that they like the shortcut.

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Tony Meyer
to joinpath if the name is the thing: add(), for example). [Tony Meyer] Against it: * Zen: Beautiful is better than ugly. Explicit is better than implicit. Readability counts. There should be one-- and preferably only one --obvious way to do it. I think / is pretty. I think it reads well

Re: [Python-Dev] / as path join operator (was: Re: The path module PEP)

2006-01-25 Thread Tony Meyer
[John J Lee] But it's a very readable way to write a common operation. Perhaps one reason the discrepancy you point out doesn't bother me is that division is the least-used of the +-*/ arithmetic operations. Do you have evidence to back that up? It seems a strange claim. Outside of

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Tony Meyer
[Ian Bicking] Paths are strings, that's in the PEP. No, the PEP says that Path is a *subclass* of string (Path extends from string). In addition, it's a disputed part of the PEP (see elsewhere in this thread). =Tony.Meyer ___ Python-Dev mailing

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Tony Meyer
[Gustavo J. A. M. Carneiro] Plus, the names are full of redundancy. Why abspath(), joinpath(), realpath(), splitall()? Why not instead: absolute(), join(), real(), split() ? Remember that they are all methods of a Path class, you don't need to keep repeating 'path' all over the place.

Re: [Python-Dev] The path module PEP

2006-01-24 Thread Tony Meyer
The last time this was discussed six months ago it seemed like most of python-dev fancied Jason Orendorff's path module. But Guido wanted a PEP and noone created one. So I decided to claim the fame and write one since I also love the path module. :) Much of it is copy-pasted from Peter

Re: [Python-Dev] New Pythondoc by effbot

2006-01-22 Thread Tony Meyer
For me, the -nospam suffix works relatively good to avoid spam, as most harvesting programs will think this is a false address. http://spambayes.org works, too, without bothering others 0.5 wink =Tony.Meyer ___ Python-Dev mailing list

Re: [Python-Dev] ConfigParser to save with order

2006-01-20 Thread Tony Meyer
[Tony Meyer] Allowing 'surgical' editing of configuration files, as has been proposed many times both here and c.l.p would not require ConfigParser to be entirely rewritten (just more extensive modification of the write() method). After writing the summary of this thread, I figured I might

Re: [Python-Dev] Names matter.

2006-01-16 Thread Tony Meyer
[Jim Fulton] certainly, it should not be acceptable to contribute to Python under a false name. What do you mean contribute to Python? Do you mean become one of the developers listed on sourceforge? Contribute any patches, even simple documentation ones? Review, comment and test

Re: [Python-Dev] DRAFT: python-dev Summary for 2005-12-01 through 2005-12-15

2006-01-13 Thread Tony Meyer
Opps. I just sent out the draft summary for the first half of December (which might only make it to the list after this one, since it's very long) but forgot to say anything at the top. No-doubt everyone knows the pitch by now, but if anyone is able to take a look at the summary (or parts of it)

Re: [Python-Dev] ConfigParser to save with order

2006-01-12 Thread Tony Meyer
I see two paths here: - Rewrite ConfigParser entirely. - Apply my patch. Allowing 'surgical' editing of configuration files, as has been proposed many times both here and c.l.p would not require ConfigParser to be entirely rewritten (just more extensive modification of the write()

[Python-Dev] DRAFT: python-dev Summary for 2005-12-16 through 2005-12-31

2006-01-12 Thread Tony Meyer
Here's the second December summary. As always, if anyone can spare some time to take a look over it and send any comments/suggestions/corrections/additions to me or Steve that would be great. I'm not all that confident about the default comparisons thread, so particular attention to that would

[Python-Dev] DRAFT: python-dev Summary for 2005-12-01 through 2005-12-15

2006-01-12 Thread Tony Meyer
= Announcements = - Reminder: plain text documentation fixes are accepted - Want to help out with the Python documentation? Don't know LaTeX? No problem! Plain text or

Re: [Python-Dev] ConfigParser to save with order

2006-01-10 Thread Tony Meyer
[Guido] I think it's moot unless you also preserve comments. Ideally would be something that prserved everything (ordering, blank lines, comments etc.) from how it was read in. Modifying a value should keep its position. Adding a value should add it to the end of the section it's in (unless

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

2005-12-14 Thread Tony Meyer
I've pushed out a revised PEP 8 http://www.python.org/peps/pep-0008.html Please review and comment. Why does PEP 8 continually refer to one particular editor (Emacs)? (There are even parts in the form x is better because it works better in Emacs, when surely it's actually the case that

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

2005-12-14 Thread Tony Meyer
[Barry] I've pushed out a revised PEP 8 http://www.python.org/peps/pep-0008.html Please review and comment. [Tony Meyer] Why does PEP 8 continually refer to one particular editor (Emacs)? [Guido] I think the best way to avoid editor wars is to pick one editor and stick with it. :-) I

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

2005-12-12 Thread Tony Meyer
* Python core modules/packages * Third-party modules/packages * Local modules/packages This is already in PEP 8: [...] 1. standard library imports 2. related major package imports (i.e. all email package imports next) 3. application specific imports

Re: [Python-Dev] Proposal: can we have a python-dev-announce mailing list?

2005-11-03 Thread Tony Meyer
I know I would be much helped with a moderated python-dev-announce mailing list, which would be only low-volume, time-critical announcements for people developing Python. Even during times when I am actively following python-dev it would be handy to have important announcements coming in in a

[Python-Dev] DRAFT: python-dev Summary for 2005-09-01 through 2005-09-16

2005-10-21 Thread Tony Meyer
This is over a month late, sorry, but here it is (Steve did his threads ages ago; I've fallen really behind). Summaries for the second half of September and the first half of October will soon follow. As always, if anyone is able to give this a quick look that would be great. Feedback

[Python-Dev] [draft] python-dev Summary for 2005-08-16 through 2005-08-31

2005-09-09 Thread Tony Meyer
If anyone would like to take a break from all this Py3k discussion, please feel free to read through the following draft for the second August summary. Checking over the O(N**2) behaviour in StreamReader.readline summary would be particularly appreciated. As always, any corrections/suggestions

[Python-Dev] Tools directory (Was RE: Replacement for print in Python 3.0)

2005-09-08 Thread Tony Meyer
[finding Tools/i18n/pygettext.py] You're right, I think Tools is probably a bad place for anything. If it's not part of the stdlib, I'll likely never find it. Agreed. Maybe with the introduction of -m in Python 2.4, some of the Tools/ scripts could be put in __main__ sections of appropriate

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

2005-09-04 Thread Tony Meyer
[Nick Coghlan] Print as statement = printing sequences nicely is a pain What's wrong with this? print range(10) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] print tuple(string) ('s', 't', 'r', 'i', 'n', 'g') This is a serious question - that's how I would expect a print function to work anyway. Print as

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

2005-09-04 Thread Tony Meyer
[...] maybe a few folks can go off and write up a PEP for a print-replacement. [...] I'm pulling out of the discussion until I see a draft PEP. If there are two competing proposals, then the two groups write a PEP and counter-PEP and the PEPs duke it out. Is this still the case if

Re: [Python-Dev] setdefault's second argument

2005-08-31 Thread Tony Meyer
To save you from following that link, to this day I still mentally translate setdefault to getorset whenever I see it. I read these out of order (so didn't see the giveaway getorsetandget) and spent some time wondering what an orset was. I figured it must be some obscure CS/text

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

2005-08-29 Thread Tony Meyer
[Kay Schluehr] The discourse about Python3000 has shrunken from the expectation of the next big thing into a depressive rhetorics of feature elimination. The language doesn't seem to become deeper, smaller and more powerfull but just smaller. [Guido] There is much focus on removing things,

[Python-Dev] python-dev Summary for 2005-08-01 through 2005-08-15 [draft]

2005-08-25 Thread Tony Meyer
Here's August Part One. As usual, if anyone can spare the time to proofread this, that would be great! Please send any corrections or suggestions to Steve (steven.bethard at gmail.com) and/or me, rather than cluttering the list. Ta! = Announcements =

[Python-Dev] python-dev Summary for 2005-07-16 through 2005-07-31 [draft]

2005-08-14 Thread Tony Meyer
Here's July Part Two. As usual, if anyone can spare the time to proofread this (it's fairly short this fortnight!), that would be great! Please send any corrections or suggestions to Tim (tlesher at gmail.com), Steve (steven.bethard at gmail.com) and/or me, rather than cluttering the list. Ta!

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-07-28 Thread Tony Meyer
[...] Publish the Repositories [...] As an option, websvn (available e.g. from the Debian websvn package) could be provided. Is there any reason that this should be an option, and not just done? For occasional source (particularly C source) lookups, I've found webcvs

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-07-28 Thread Tony Meyer
Do we also want to split off nondist and encodings? IWBNI the Python source code proper weren't buried too deep in the directory structure. +1 =Tony.Meyer ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Adding the 'path' module (was Re: Some RFEforreview)

2005-06-28 Thread Tony Meyer
Maybe this has already been answered somewhere (although I don't recall seeing it, and it's not in the sourceforge tracker) but has anyone asked Jason Orendorff what his opinion about this (including the module in the stdlib) is? If someone has, or if he posted it somewhere other than here, could

Re: [Python-Dev] Adding the 'path' module (was Re: Some RFE forreview)

2005-06-26 Thread Tony Meyer
[Reinhold Birkenfeld] One more issue is open: the one of naming. As path is already the name of a module, what would the new object be called to avoid confusion? pathobj? objpath? Path? [Michael Hoffman] I would argue for Path. Granted path is actually os.path, but I don't think it's wise

Re: [Python-Dev] Adding the 'path' module (was Re: Some RFE forreview)

2005-06-26 Thread Tony Meyer
[Reinhold Birkenfeld] One more issue is open: the one of naming. As path is already the name of a module, what would the new object be called to avoid confusion? pathobj? objpath? Path? [Michael Hoffman] I would argue for Path. [Tony Meyer Granted path is actually os.path, but I don't

[Python-Dev] python-dev Summary for 2005-06-01 through 2005-06-15 [draft]

2005-06-24 Thread Tony Meyer
You've just read two summaries, but here is another one, as we come back up to speed. If at all possible, it would be great if we could send this out in time to catch people for the bug day (very tight, we know), so if anyone has a chance to check this straight away, that would be great. Please

[Python-Dev] python-dev Summary for 2005-05-16 through 2005-05-31 [draft]

2005-06-22 Thread Tony Meyer
You may have noticed that the summaries have been absent for the last month - apologies for that; Steve has been dutifully doing his part, but I've been caught up with other things. Anyway, Steve will post the May 01-15 draft shortly, and here's May 16-31. We should be able to get the first June

Re: [Python-Dev] Decimal FAQ

2005-05-22 Thread Tony Meyer
Q. I'm writing a fixed-point application to two decimal places. Some inputs have many places and needed to be rounded. Others are not supposed to have excess digits and need to be validated. What methods should I use? A. The quantize() method rounds to a fixed number of decimal places.

[Python-Dev] python-dev Summary for 2005-04-16 through 2005-04-30 [draft]

2005-05-05 Thread Tony Meyer
Here's April Part Two. If anyone can take their eyes of the anonymous block threads for a moment and give this a once-over, that would be great! Please send any corrections or suggestions to Tim (tlesher at gmail.com), Steve (steven.bethard at gmail.com) and/or me, rather than cluttering the

RE: [Python-Dev] rationale for the no-new-features approach

2005-03-16 Thread Tony Meyer
[Bob Ippolito] try: set except NameError: from sets import Set as set You don't need the rest. [Skip Montanaro] Sure, but then pychecker bitches about a statement that appears to have no effect. ;-) [Bob Ippolito] Well then fix PyChecker to look for this pattern :) +1.

RE: [Python-Dev] RELEASED Python 2.4.1, release candidate 1

2005-03-10 Thread Tony Meyer
[Martin v. Löwis] I'd like to encourage feedback on whether the Windows installer works for people. It replaces the VBScript part in the MSI package with native code, which ought to drop the dependency on VBScript, but might introduce new incompatibilities. [Tim Peters] Worked fine here.

RE: [Python-Dev] Is msvcr71.dll re-redistributable?

2005-02-02 Thread Tony Meyer
[Thomas Heller] For the spambayes binary, maybe there should be another person adding the msvcr71.dll to the distribution that Tony builds? Someone who has a MSVC license, and also is developer on the spambayes project? [Tim Peters] To the best of my knowledge, Tony is distributing my duly

[Python-Dev] Should Python's library modules be written to help the freeze tools?

2005-01-30 Thread Tony Meyer
The Python 2.4 Lib/bsddb/__init__.py contains this: # for backwards compatibility with python versions older than 2.3, the # iterator interface is dynamically defined and added using a mixin # class. old python can't tokenize it due to the yield keyword. if sys.version = '2.3': exec import

RE: [Python-Dev] Deprecated xmllib module

2004-12-06 Thread Tony Meyer
As far as I can tell, there are no CSS or XML 1.1 parsers for Python, period. This belongs on c.l.p, I suppose, but the first page of google results includes: http://www.python.org/pypi?:action=displayname=TG%20CSS%20Toolsversion=1. 0a1 http://cthedot.de/cssutils/ =Tony.Meyer