Re: [Python-Dev] Frequency of the dev docs autobuild

2010-05-01 Thread R. David Murray
On Sat, 01 May 2010 16:18:19 +0100, Paul Moore wrote: > On 1 May 2010 15:28, R. David Murray wrote: > > Unless I'm missing something, I don't see any docs there about the > > automated build process and when and where it runs. > > I assume Georg was referring

Re: [Python-Dev] Enhanced tracker privileges for dangerjim to do triage.

2010-05-02 Thread R. David Murray
ntial new contributer' lurking here feels > otherwise? > - speak up!). > > I don't know the community (yet) and I can't say this for sure, but my current > gut feeling about the Python community (and pretty much any OSS I can think > of) is that in the long ru

Re: [Python-Dev] Frequency of the dev docs autobuild

2010-05-02 Thread R. David Murray
On Sun, 02 May 2010 00:44:22 +0200, =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= wrote: > R. David Murray wrote: > > On Sat, 01 May 2010 16:18:19 +0100, Paul Moore wrote: > >> On 1 May 2010 15:28, R. David Murray wrote: > >>> Unless I'm missing something, I

Re: [Python-Dev] vim (was: PEP 7 updated)

2010-05-10 Thread R. David Murray
On Mon, 10 May 2010 20:40:00 +0400, Oleg Broytman wrote: > On Mon, May 10, 2010 at 04:09:06PM +0200, Ronald Oussoren wrote: > > Does anyone know of a way to teach vim that C sources in a python checkout > > should have 4-space indents without changing the defaults for other C > > files? > > Bu

Re: [Python-Dev] bugs.python.org down?

2010-05-12 Thread R. David Murray
s (which are the bulk of the traffic on the tracker) once they bother to notice it. I'm not convinced that hit count load is the problem, but it might be. -- R. David Murray www.bitdance.com ___ Python-Dev mail

Re: [Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-19 Thread R. David Murray
at > *1* argument is actually required instead of 2? You can contribute to issue 2516 if you like :) http://bugs.python.org/issue2516 -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] Reasons behind misleading TypeError message when passing the wrong number of arguments to a method

2010-05-20 Thread R. David Murray
ot;arguments" while no arguments are actually involved in > the problem: just a class I forgot to initialize. That second message is entirely accurate and IMO should not be changed. As Michael said, calling an unbound method is not that uncom

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread R. David Murray
ng like "I think this PEP is ready for pronouncement" and then wait for feedback on that assertion or for the pronouncement. It's especially good if you can answer any concerns that are raised with "that was discussed already and we concluded X". Bonus point

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread R. David Murray
On Sat, 22 May 2010 10:09:37 -0400, Jesse Noller wrote: > On Sat, May 22, 2010 at 9:59 AM, R. David Murray wr= > ote: > > On Sat, 22 May 2010 19:12:05 +1000, Brian Quinlan wr= > ote: > >> On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: > >> > On Fri, Ma

Re: [Python-Dev] Reintroduce or drop completly hex, bz2, rot13, ... codecs

2010-06-09 Thread R. David Murray
g an exception to the moratorium for translate/untranslate is justified, given that this is restoring a feature that Python2 had, in a Python3 compatible manner. -- R. David Murray www.bitdance.com ___ Python-Dev mai

Re: [Python-Dev] Reintroduce or drop completly hex, bz2, rot13, ... codecs

2010-06-09 Thread R. David Murray
o a lot of work: http://unicode.org/mail-arch/unicode-ml/y2007-m12/0047.html -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] Reintroduce or drop completly hex, bz2, rot13, ... codecs

2010-06-10 Thread R. David Murray
done with .encode('ascii')/.decode('ascii'). > > Changing the type of *ascii* text is easy, understanding bytes vs str > semantics is not! +1 Consistency in interface is more important in *this* context than the sensibleness of any particular transform. -- R. D

Re: [Python-Dev] bytes / unicode

2010-06-27 Thread R. David Murray
l6 work will lay a firm foundation for the latter, but URI/IRI is a whole different protocol that I'm glad I don't have to deal with :) > The virtues of a separate poly_str type are that: Having such a poly_str type would probably make my life easier. I also would like just vent

Re: [Python-Dev] thoughts on the bytes/string discussion

2010-06-27 Thread R. David Murray
allow you to decode to text only the bits you actually need to access and manipulate. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-de

Re: [Python-Dev] email package status in 3.X

2010-06-27 Thread R. David Murray
t to email. (1) I suspect that the new API will be enough of a carrot that they won't mind converting to it, BUT, (2) the plan is to provide a compatibility API that will fully support the current Python3 email5 API (but with fewer bugs in areas such as header folding and

Re: [Python-Dev] bytes / unicode

2010-06-28 Thread R. David Murray
> > s...@i > > > > being equivalent to > > > > s[i:i+1] > > > > And this is way beyond being intuitive. Agreed, -1 on that. Like I said, I was just venting. The decision to have indexing bytes return an int is

Re: [Python-Dev] Mailbox module - timings and functionality changes

2010-06-29 Thread R. David Murray
can shed more light on this? Given the current state of the email package for python3, it makes sense that it would open them in text mode. email can't currently process bytes, only text. -- R. David Murray www.bitdance.com

Re: [Python-Dev] Mailbox module - timings and functionality changes

2010-06-29 Thread R. David Murray
xt *correctly*. This isn't a trivial undertaking, but the end result will be well worth it. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailm

Re: [Python-Dev] Mailbox module - timings and functionality changes

2010-06-29 Thread R. David Murray
ns to be the one you use when you wrap the binary stream as a text stream. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] Regarding socket timeouts in httplib

2010-07-01 Thread R. David Murray
bout this (or at least related to it): http://bugs.python.org/issue8595 -- R. David Murray www.bitdance.com ___ 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

Re: [Python-Dev] Mercurial migration readiness (was: Taking over the Mercurial Migration)

2010-07-01 Thread R. David Murray
then we cut over" before the balance of the dev community is going to actually try working with it. But one or more volunteers could make the first cut at the workflow docs right now, I would think, and that would be a big help for this process I know I would have prefe

Re: [Python-Dev] Removing IDLE from the standard library

2010-07-11 Thread R. David Murray
ould also be great if every committer could find time to look at one bug *outside* of their main interest area for every N hours they spend on their interest area. (I try to do this, with varying degrees of success depending on the week.) -- R. David Murray

Re: [Python-Dev] maintainers.rst enhancement (was: Removing IDLE from the standard library)

2010-07-12 Thread R. David Murray
ti". Otherwise we can just decide that those I like this suggestion, but obviously we need to let those developers who wish to do this "star" themselves. If there are no objections to this change to maintainers.rst, I'll start the ball rolling by marking myself for email, and a

Re: [Python-Dev] maintainers.rst enhancement (was: Removing IDLE from the standard library)

2010-07-12 Thread R. David Murray
mmitter ids*. I noticed the other day that I had to translate from committer id to tracker id for someone (I forget who, and I didn't have time to update the file at the time). -- R. David Murray www.bitdance.com ___

Re: [Python-Dev] Removing IDLE from the standard library

2010-07-12 Thread R. David Murray
ow to both of you. > > As for assigning bugs, I've been told to use the maintainer.rst list, so > either the list is wrong, or I've had finger problems. If it's the > latter I again say sorry. I suggested you use maintainers.rst to find people to ad

Re: [Python-Dev] IRC culture (was: Removing IDLE from the standard library)

2010-07-12 Thread R. David Murray
who hang out on #python-dev do triage work. Further, many of the people who chat regularly on the IRC channel are committers, which is one of the reasons why it can be a rich resource while doing triage. Often enough, bugs get closed that way.[*] -- R. David Murray

Re: [Python-Dev] more details of list comprehension in tutorial than in language reference

2010-07-16 Thread R. David Murray
but if it is just lacking in the detail of the explanations, then the tutorial is the place for those, and you say that is OK. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] tracker contribution

2010-07-20 Thread R. David Murray
o your work, and also on the fact that I have seen the quality of your work improve over time from the bugs I have reviewed that you've commented on. -- R. David Murray www.bitdance.com [*] I think this may be a source of some of the discomfort you have

Re: [Python-Dev] mkdir -p in python

2010-07-20 Thread R. David Murray
I'd go with putting it in shutil. We could also add a function there that wraps up the recipe in issue 9311 to work around the quirks of os.access on FreeBSD (and possibly other platforms). -- R. David Murray www.bitdanc

Re: [Python-Dev] What to do with languishing patches?

2010-07-20 Thread R. David Murray
list > is somewhat arbitrary with narrow components such as ctypes and broad > components such a Lib. When I suggested such a modules list on <http://wiki.python.org/moin/DesiredTrackerFeatures>, R. David Murray replied “This has been suggested and rejected a number of times on python-dev” bu

Re: [Python-Dev] Define a place for code review in Python workflow

2010-07-26 Thread R. David Murray
opted. There's nothing in your proposal that is outside of your control, as far as I can tell. (Well, except for easy_install not being in the stdlib, but that's no barrier to adoption of the proposed tool.) -- R. David Murray www.bitdance.com _

Re: [Python-Dev] Define a place for code review in Python workflow

2010-07-27 Thread R. David Murray
ness is the grease that keeps the gears of society working smoothly. Your not "wasting time" being a "polite bastard" is the equivalent of deliberately throwing sand in the gears. It is, to say the least, counter-productive to your stated goals of improving the Python workflow for y

Re: [Python-Dev] New regex module for 3.2?

2010-07-27 Thread R. David Murray
ntly added the old re cache-clearing strategy to fnmatch, because previously its cache would grow indefinitely. It sounds like this should be applied there as well. That's three...time to figure out how to share the code? -- R. David Murray www.bitdance.c

Re: [Python-Dev] proto-pep: plugin proposal (for unittest)

2010-08-01 Thread R. David Murray
ific. Anyone who cares about config file locations should read issue 7175. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] No response to posts

2010-08-01 Thread R. David Murray
On Sun, 01 Aug 2010 21:28:05 +1000, Nick Coghlan wrote: > On Sun, Aug 1, 2010 at 5:41 PM, Mark Lawrence wrote: > > I plucked this figure out of the air thinking that if an issue was going to > > drop under the radar, this would be the most likely time. I was considering > > a worst case scenario

Re: [Python-Dev] proto-pep: plugin proposal (for unittest)

2010-08-02 Thread R. David Murray
27;t see a downside to that. Most unix applications look in multiple places for configuration info. Michael seems to be arguing for not using the standard OSX locations because the Finder can't edit them anyway. Is that true? -- R. David Murray w

Re: [Python-Dev] [Python-checkins] r83543 - python/branches/py3k/Lib/test/regrtest.py

2010-08-02 Thread R. David Murray
t; > +tests = list(tests) I guess you didn't notice that just above this code is a clause that says 'if forever' which implements -F/--forever by making tests into a generator that never runs out... -- R. David Murray

Re: [Python-Dev] checkins reply-to change

2010-08-02 Thread R. David Murray
On Mon, 02 Aug 2010 21:51:11 -0400, "R. David Murray" wrote: > On Mon, 02 Aug 2010 20:59:52 +0200, georg.brandl > wrote: > > Author: georg.brandl > > Date: Mon Aug 2 20:59:52 2010 > > New Revision: 83543 Hmm. Looking at the format of this message as it c

Re: [Python-Dev] Tracker status

2010-08-03 Thread R. David Murray
x27;t exist. Fixed. Apparently a line was dropped when applying a patch to the tracker, but the mistake didn't surface until roundup was restarted after the reboot. -- R. David Murray www.bitdance.com ___ Python-

[Python-Dev] breaking an exception chain

2010-08-03 Thread R. David Murray
Am I missing something, or this a missing feature? -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.py

Re: [Python-Dev] breaking an exception chain

2010-08-03 Thread R. David Murray
On Tue, 03 Aug 2010 12:22:30 -0500, Benjamin Peterson wrote: > 2010/8/3 R. David Murray : > > So I thought I'd break the exception chain before raising the error the > > test harness really wants to raise. However, I can't figure out any way > > to do that. Am

Re: [Python-Dev] Tracker status

2010-08-03 Thread R. David Murray
On Tue, 03 Aug 2010 20:36:36 +0200, Georg Brandl wrote: > Am 03.08.2010 19:05, schrieb Brian Curtin: > > On Tue, Aug 3, 2010 at 11:58, R. David Murray > > Fixed. Apparently a line was dropped when applying a patch to > > the tracker, but the mistake didn&#x

Re: [Python-Dev] [python-committers] (Windows) buildbots on 3.x

2010-08-06 Thread R. David Murray
Hmm. If we added a 'binsearch' option to regrtest, you could just pass it the random seed and that option and off it would go... -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] Summary of Python tracker Issues

2010-08-10 Thread R. David Murray
eek. He's going to fix that. > > Issues closed (154) > > === > > > > #1474680: pickling files works with protocol=2. > > http://bugs.python.org/issue1474680 closed by alexandre.vassalotti > > [...] > > This is the list of *all* the is

Re: [Python-Dev] bugs.python.org

2010-08-23 Thread R. David Murray
On Mon, 23 Aug 2010 15:13:34 +0100, Mark Lawrence wrote: > Suffering from dead parrot syndrome? Kiss of life please :) The hosting company has been notified. --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/lis

Re: [Python-Dev] 'hasattr' is broken by design

2010-08-24 Thread R. David Murray
x27;re in an old-style class, you shouldn't get an double > underscore methods in __getattr__ (or __getattribute__). If you do, > it's a bug. Benjamin, I remember you fixing various special method lookups, so just for clarity's sake, which versions of Python d

Re: [Python-Dev] Volunteer help with porting

2010-09-07 Thread R. David Murray
yourself there. All help is welcome! It is not a "porting" project strictly speaking, but it certainly is interesting :) -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org h

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread R. David Murray
On Tue, 14 Sep 2010 16:34:33 +0530, Senthil Kumaran wrote: > On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: > > >Antoine> Like the email package, nntplib in py3k is broken (because of > > >Antoine> various bytes/str mismatches; I suppose the lack of a test > > >Anto

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-16 Thread R. David Murray
ing strings. It also has to use slice notation rather than indexing when looking at individual characters, which is a PITA but not terrible. I'm not saying this is the best approach, since this is all experimental code at the moment, but it is *an* approach -- R. David Murray

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-16 Thread R. David Murray
On Thu, 16 Sep 2010 17:40:53 +0200, Antoine Pitrou wrote: > On Thu, 16 Sep 2010 11:30:12 -0400 > "R. David Murray" wrote: > > > > And then BaseHeader uses self.lit.colon, etc, when manipulating strings. > > It also has to use slice notation rather than index

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-16 Thread R. David Murray
On Thu, 16 Sep 2010 18:11:30 -0400, Glyph Lefkowitz wrote: > On Sep 16, 2010, at 4:51 PM, R. David Murray wrote: > > > Given a message, there are many times you want to serialize it as text > > (for example, for presentation in a UI). You could provide alternate > >

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-16 Thread R. David Murray
On Fri, 17 Sep 2010 00:05:12 +0200, Antoine Pitrou wrote: > On Thu, 16 Sep 2010 16:51:58 -0400 > "R. David Murray" wrote: > > > > What do we store in the model? We could say that the model is always > > text. But then we lose information about the origin

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-16 Thread R. David Murray
On Thu, 16 Sep 2010 21:53:17 -0400, Barry Warsaw wrote: > And of course, what happens if the original subject is in one charset and the > prefix is in an incompatible one? Then you end up with a wire format of two > RFC 2047 encoded words separated by whitespace. You have to keep those chunks >

Re: [Python-Dev] Polymorphic best practices [was: (Not) delaying the 3.2 release]

2010-09-16 Thread R. David Murray
On Thu, 16 Sep 2010 23:45:12 -0400, Terry Reedy wrote: > Based on the discussion so far, I think you should go ahead and > implement the API agreed on by the mail sig both because is *has* been > agreed on (and thinking about the wsgi discussion, that seems to be a > major achievement) and beca

Re: [Python-Dev] Rework nntplib?

2010-09-19 Thread R. David Murray
On Mon, 20 Sep 2010 06:55:50 +1000, Nick Coghlan wrote: > On Mon, Sep 20, 2010 at 3:27 AM, Antoine Pitrou wrote: > > > > For the record, the code is pretty much done now: > > http://bugs.python.org/issue9360 > > Generally looks pretty reasonable. As I noted on the issue, my one > concern is that

Re: [Python-Dev] Goodbye

2010-09-22 Thread R. David Murray
On Wed, 22 Sep 2010 19:18:35 -0400, Terry Reedy wrote: > On 9/22/2010 6:47 AM, Antoine Pitrou wrote: > > Now I understand that opinions over this may vary and involve multiple > > factors, but I would suggest that at least a bit of mentoring is needed > > if we want to give privileges early on. >

Re: [Python-Dev] Moving the developer docs?

2010-09-23 Thread R. David Murray
opinion on that aspect of it. For me the change is about making it easier for the dev community (who are using/creating the development infrastructure) to update the relevant documentation. -- R. David Murray www.bitdance.com ___

Re: [Python-Dev] Moving the developer docs?

2010-09-23 Thread R. David Murray
On Thu, 23 Sep 2010 10:41:35 -0400, Barry Warsaw wrote: > On Sep 23, 2010, at 09:06 AM, Benjamin Peterson wrote: > >Are any of our docs subject to release schedules? > > I guess what I'm concerned about is this scenario: > > You're a developer who has the source code to Python 3.1. You read the

Re: [Python-Dev] Moving the developer docs?

2010-09-23 Thread R. David Murray
h of somebodies who *do* care, then the wiki would be much more useful. But I still don't want to edit the dev docs there, if I have a choice :) There's a reason I stopped updating the wiki as soon as I moved to a code repository. -- R. David Murray

Re: [Python-Dev] Goodbye

2010-09-23 Thread R. David Murray
es was causing significant problems on the tracker, and so we were forced to disable his account. This disabling does not need to be permanent. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-

Re: [Python-Dev] os.path.normcase rationale?

2010-09-24 Thread R. David Murray
ng os specific rather than file system type specific is the usability bug. But to fix it we'll need to introduce a 'filesystems' module enumerating the different file systems we support, with tools for figuring out what filesystem your program is talking to. But normacase still, wouldn'

Re: [Python-Dev] Summary of Python tracker Issues

2010-09-25 Thread R. David Murray
On Sat, 25 Sep 2010 14:22:06 +0200, Georg Brandl wrote: > Am 25.09.2010 14:10, schrieb "Martin v. L=F6wis": > > The total numbers reported are really the totals. Also, the delta > > reported for the totals is the difference to the last report. > > > The number reported with +/- for open/closed ar

Re: [Python-Dev] Python wiki

2010-09-26 Thread R. David Murray
to tell the browser to *stop* using basic auth. > imagine that only "ultra geeks" know their URIs (I have no idea what the > URI for a Google account is). But, I don't see this as being worthwhile Well, my OpenId is 'david.bitdance.com', so even if you could get aro

[Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-02 Thread R. David Murray
A while back on some issue or another I remember telling someone that if there was any sort of clever hack that would allow the current email package (email5) to work with bytes we would have implemented it. Well, I've come up with a clever hack. The idea came out of a conversation with Antoine.

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-02 Thread R. David Murray
On Sat, 02 Oct 2010 19:15:57 -0500, Benjamin Peterson wrote: > 2010/10/2 R. David Murray : > > Regardless of whether or not this patch or a descendant thereof is > > accepted I still intend to continue working on email6. =C2=A0There are ma= > ny > > other bugs in the cu

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-04 Thread R. David Murray
On Mon, 04 Oct 2010 12:32:26 -0400, Scott Dial wrote: > On 10/2/2010 7:00 PM, R. David Murray wrote: > > The clever hack (thanks ultimately to Martin) is to accept 8bit data > > by encoding it using the ASCII codec and the surrogateescape error > > handler. > > I&#x

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-05 Thread R. David Murray
On Tue, 05 Oct 2010 22:05:33 +1000, Nick Coghlan wrote: > On Tue, Oct 5, 2010 at 3:41 PM, Stephen J. Turnbull > wrote: > > R. David Murray writes: > > > Only if the email package contains a coding error would the > > > surrogates escape and cause problems for user

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-06 Thread R. David Murray
with bytes sometimes and strs sometimes. > > Please provide a way to return strs-with-surrogates if I ask for them. Does my proposal make sense? But note, it raises exactly the backward compatibility concerns you mention in your next email (that I will r

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-06 Thread R. David Murray
On Wed, 06 Oct 2010 22:55:00 +0900, "Stephen J. Turnbull" wrote: > R. David Murray writes: > > > version of headers to the email5 API, but since any such data would > > be non-RFC compliant anyway, [access to non-conforming headers by > > reparsing the bytes

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-07 Thread R. David Murray
On Thu, 07 Oct 2010 03:31:34 +0900, "Stephen J. Turnbull" wrote: > R. David Murray writes: > > > 5. Return the content, with non-ASCII bytes replaced with ? > > characters. > > That hadn't occurred to me (and it makes me sick to contemplate it)

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-07 Thread R. David Murray
Stephen J. Turnbull xemacs.org> writes: > R. David Murray writes: > > We're (in the current patch) not punting on handling non-conforming > > email, we're punting on handling non-conforming bytes *if the headers > > that contain them need to be mo

Re: [Python-Dev] opinions on issue2142 ('\ No newline at end of file' to difflib.unified_diff)?

2010-10-07 Thread R. David Murray
t all programs using difflib use it to generate diffs for direct output. (2) might be worth it given that there is a "standard" to follow so it might be worth coding that standard into the stdlib. > Orthogonal: *After* a decision is made for

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-07 Thread R. David Murray
On Thu, 07 Oct 2010 15:00:04 +0900, "Stephen J. Turnbull" wrote: > R. David Murray writes: > > > > But that's not interesting; you did that with Python 3. We want to > > Of course I did it with Python3. It's the Python3 email codebase >

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-07 Thread R. David Murray
changes (that is, we don't do it intentionally without a good reason and a deprecation cycle, and if we do it unintentionally it is a regression and treated as such). -- R. David Murray www.bitdance.com ___ Python-

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-08 Thread R. David Murray
vocate here. Obviously the issues directly affect you, so hopefully it is worth your time to engage us on this topic. And thank you for the messages you have sent. I know they have made me even more careful than I was already trying to be. -- R. David Murray

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-08 Thread R. David Murray
g at, although in practice I think you have to hang wire-format and text-format bits off of appropriate places in the model in order to keep everything properly coordinated. > Maybe even in email5 I suspect that's pushing it. Patches happily accepted, though :) -- R. David Murray

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-08 Thread R. David Murray
if you see examples where we are failing in that goal, call us on it (with specifics). > to offer, except to underscore again that changes made here affect > very many people who are too busy using Python to participate here. > Especially given the still tentative state of 3.X, stabi

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-08 Thread R. David Murray
n the direction of structure by breaking lines at "obvious" places like ';'s. (Which line breaking algorithm is the subject of at least one bug report) I'd like to fix that in email6 by adding full support for structured headers. -- R. David Murray

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-08 Thread R. David Murray
et sorted out). > > I don't understand why this is difficult. As far as what Unicode has It isn't difficult in principle. It's just difficult in email5. -- R. David Murray www.bitdance.com ___

Re: [Python-Dev] Patch making the current email package (mostly) support bytes

2010-10-08 Thread R. David Murray
On Sat, 09 Oct 2010 02:48:23 +0900, "Stephen J. Turnbull" wrote: > R. David Murray writes: > > On Sat, 09 Oct 2010 01:06:29 +0900, "Stephen J. Turnbull" > wrote: > > > That mess is entirely unnecessary in Python 3. Text and wire format > > >

Re: [Python-Dev] Distutils2 scripts

2010-10-08 Thread R. David Murray
an end to that naming scheme, and that's a shame. > > Anyway, I can always alias pysetup to cheeseshop or ohmightytim on my > machine and reminisce. Or thebookofarmaments. -- R. David Murray www.bitdance.com ___

Re: [Python-Dev] Relative imports in Py3k

2010-10-10 Thread R. David Murray
s of Python's normal backward compatibility policy. In other words, you should move this discussion to python-ideas. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org h

Re: [Python-Dev] Distutils2 scripts

2010-10-12 Thread R. David Murray
On Tue, 12 Oct 2010 19:33:52 +0200, =?windows-1252?Q?=22Martin_v=2E_L=F6wis=22?= wrote: > > So as well as pysetup.py/.exe I would like pysetup-3.2.py / .exe on > > Windows please. (I'd really like a python-3.2.exe as well.) > > Please submit a patch to the installer, then. > > I'm still skeptic

Re: [Python-Dev] PPC Leopard buildbot failing sqlite test for Python 3.2

2010-10-16 Thread R. David Murray
t? Good question :) When I added this it seemed like such a simple thing. Maybe the endianness issue is the one to look at, despite the pass on Solaris. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list

Re: [Python-Dev] Buildbot for AIX

2010-10-17 Thread R. David Murray
following issues > could be commited: 4499, 678250, 730467. I've committed #9862, #4499 and #678250. I'd like a confirming opinion on #730467, though it sounds reasonable to me. -- R. David Murray www.bitdance.com ___

Re: [Python-Dev] About resolution “accepted ” on the tracker

2010-10-18 Thread R. David Murray
l Stutzbach and I are (were) two users of the second meaning. It’s > more useful to follow Raymond’s meaning, so that a simple query can find > all accepted patches that are awaiting commit. > > I don’t remember if I took up this use from R. David Murray or someone > else,

Re: [Python-Dev] About resolution “accepted” on the tracker

2010-10-18 Thread R. David Murray
ing it 'unit test needed', but if people would rather change it back to just 'test needed', I will raise no objection, since in practice trying to squeeze the meaning I wanted into the stage field doesn't really work. -- R. David Murray www.b

Re: [Python-Dev] Bug week-end on the 20th-21st?

2010-10-25 Thread R. David Murray
tting users groups to participate). I'll be around and able to participate that weekend except for evening US Eastern time. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org h

Re: [Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/

2010-10-26 Thread R. David Murray
ducing a new directory and having multiple files that cross-import > one another. +1 (or more) -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

Re: [Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/

2010-10-26 Thread R. David Murray
On Tue, 26 Oct 2010 16:46:15 -0400, Michael Foord wrote: > On 26/10/2010 15:05, R. David Murray wrote: > > On Tue, 26 Oct 2010 10:39:19 -0700, Raymond > > Hettinger wrote: > >> If someone wants to reorganize code for clarity, I would prefer keeping > >> it

Re: [Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/

2010-10-27 Thread R. David Murray
d I'm not saying that packages are always bad. I'm just saying that packages are also not always good; and, further, that the number of lines of code in a file should, IMO, have nothing to do with the decision as to whether or not to create a packa

Re: [Python-Dev] Continuing 2.x

2010-10-28 Thread R. David Murray
But the reality is that almost all those Python2 users are future Python3 users, so they *are* the future user base. And like Georg said, as far as we can see Python3 uptake is pretty much right on the schedule that was predicted when it was first released. -- R. David

Re: [Python-Dev] Continuing 2.x

2010-10-29 Thread R. David Murray
es of 2.7 are worth the effort, we will, I'm sure, continue to produce them. What *new features* are needed in 2.x? I think the effort required to set up and maintain a fork is a good measure of whether or not such features are *valuable enough* to be worth doing. If they are, someone will do

Re: [Python-Dev] Cleaning-up the new unittest API

2010-10-30 Thread R. David Murray
eems like it would need to be documented, even though it would in a lot of cases just be used through assertEqual. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] Cleaning-up the new unittest API

2010-10-30 Thread R. David Murray
On Sat, 30 Oct 2010 18:36:45 +0200, Antoine Pitrou wrote: > On Sat, 30 Oct 2010 12:02:27 -0400 > "R. David Murray" wrote: > > > > I don't disagree with this simplification, but given that you all want > > to pare down the unittest API, I'd be in

Re: [Python-Dev] Change to logging Formatters: support for alternative format styles

2010-10-31 Thread R. David Murray
7;s no biggie to have an optional style argument for basicConfig. > People who don't use it don't have to specify it; the style argument would > only > apply if format was specified. > > For some people, use of {} over % is more about personal taste than about the >

Re: [Python-Dev] Stable sort and partial order

2010-11-01 Thread R. David Murray
hm is stable, which means the above > behaviour is a feature. I see no easy way of eliminating the O(n*n) > issue. Custom key functions can't work in all cases. Even granting some theoretical way to sort sets by their contents, it still wouldn't be a bu

Re: [Python-Dev] Stable sort and partial order

2010-11-01 Thread R. David Murray
le, so that is in fact *not* an invariant: >>> x = ['abcd', 'foo'*50, 'foo'*50, 'dkke'] >>> y = x[::-1] >>> [id(n) for n in sorted(x)] [3073747680, 3073747904, 3073747624, 3073747512] >>> [id(n) for n in sorted(y)] [3073747680,

Re: [Python-Dev] Stable sort and partial order

2010-11-01 Thread R. David Murray
On Mon, 01 Nov 2010 15:14:36 -, Michael Foord wrote: > On 01/11/2010 15:10, R. David Murray wrote: > > On Mon, 01 Nov 2010 14:26:19 -, Michael > > Foord wrote: > >> Well, bug is the wrong word as it is obviously an intended feature (or > >> consequ

Re: [Python-Dev] "Too many open files" errors on "x86 FreeBSD 7.2 3.x" buildbot

2010-11-06 Thread R. David Murray
imarily on the available system memory (see: http://www.freebsd.org/doc/handbook/configtuning-kernel-limits.html) The systems I got the above number from have 1GB of memory. -- R. David Murray www.bitdance.com ___ Pytho

<    2   3   4   5   6   7   8   9   10   11   >