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
. Why it can't "just work" for my > user story? Because you weren't around advocating and implementing a change when Python 3 was developed? It's too late now to arbitrarily break backward compatibility, so you'll have to advocate and develop any change inside the parameter

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

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

2010-11-06 Thread R. David Murray
n" and "closed" > deltas is already quite an achievement and shows that our triage works. Agreed. We did have negative open deltas for several weeks running in October. Kudos to everyone involved, and lets do it some more :) I&

Re: [Python-Dev] bugs.python.org not responding (Was: rlcompleter -- auto-complete dictionary keys (+ tests))

2010-11-07 Thread R. David Murray
resolved soon. FYI bugs.python.org and www.python.org are different machines, and in fact the two machines are not even hosted at the same location. Valery, I would advise you to submit the patch to bugs.python.org when it comes back up. Patches posted to this mailing list will in general

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread R. David Murray
On Mon, 08 Nov 2010 17:02:24 +0100, wrote: > If there is no enormous difficulty in maintaining compatibility, I think > the usual deprecation process should be followed. We don’t know who is > using pydoc as a library, so let’s play safe and not risk breaking their > code (especially consider

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread R. David Murray
On Mon, 08 Nov 2010 18:10:17 -0600, Ron Adam wrote: > def _private_api(): > # > # Isn't it a good practice to use comments here? > # > ... IMO, no. -- R. David Murray www.bitdance.com __

Re: [Python-Dev] Breaking undocumented API

2010-11-10 Thread R. David Murray
ode to deal with. I think Tres was referring to certain packages (which shall remain nameless since I don't feel like googling to find one) whose documentation recommends the 'from import *' methodology. At least that's how I read "Module writers who..." (that is,

[Python-Dev] unexpected traceback/stack behavior with chained exceptions (issue 1553375)

2010-11-13 Thread R. David Murray
s.python.org/issue1553375 -- 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/

Re: [Python-Dev] python3k vs _ast

2010-11-17 Thread R. David Murray
r this list. The question was "why did you developers drop this (obscure) feature that we depend on in Python3?" I don't think that question would make sense on python-list. Granted, there's a fuzzy line there, but pylint is really development infrastructure :) The pyth

Re: [Python-Dev] new LRU cache API in Py3.2

2010-11-17 Thread Jason R. Coombs
d the ActiveState recipes for simple caches, but in almost every case, I've had to adapt the implementation to provide more transparency. I'd prefer to not have to do the same with the stdlib. Regards, Jason R. Coombs # modified from http://code.activestate.com/recipes/498245-lru-and-l

Re: [Python-Dev] Web servers, bytes, str, documentation, Python 3.2a4

2010-11-21 Thread R. David Murray
processing of non-RFC conformant data. I want to look at the CGI issue, but I'm not sure when I'll get to it. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] len(chr(i)) = 2?

2010-11-21 Thread R. David Murray
ng written the above, I googled for UCS-2 and got the Wikipedia article on UTF16/UCS-2 [1]. Scanning that article, I do not see anything that would clue me in to the problems of slicing strings in a Python narrow build. Indeed, reading that article with my limited unicode knowledge, if I were told P

Re: [Python-Dev] len(chr(i)) = 2?

2010-11-21 Thread R. David Murray
On Sun, 21 Nov 2010 10:17:57 -0800, Raymond Hettinger wrote: > On Nov 21, 2010, at 9:38 AM, R. David Murray wrote: > > I'm sorry, but I have to disagree. As a relative unicode ignoramus, > > "UCS-2" and "UCS-4" convey almost no information to me, and the

Re: [Python-Dev] Web servers, bytes, str, documentation, Python 3.2a4

2010-11-21 Thread R. David Murray
On Sun, 21 Nov 2010 19:59:54 -0800, Glenn Linderman wrote: > On 11/21/2010 9:18 AM, R. David Murray wrote: > > I want to look at the CGI issue, but I'm not sure when I'll get to it. > > Actually, since this code was working before 3.x, and if email.parser > can n

Re: [Python-Dev] len(chr(i)) = 2?

2010-11-22 Thread R. David Murray
`, the faq/extending.rst: ... print('UCS4 build') faq/extending.rst: ... print('UCS2 build') -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://m

Re: [Python-Dev] len(chr(i)) = 2?

2010-11-22 Thread R. David Murray
On Mon, 22 Nov 2010 12:37:59 -0500, Alexander Belopolsky wrote: > On Mon, Nov 22, 2010 at 12:30 PM, R. David Murray > wrote: > .. > > For reference, a grep in py3k/Doc reveals that there are currently exactly > > 23 lines mentioning UCS2 or UCS4 in the docs. > > Did

Re: [Python-Dev] transform() and untransform() methods, and the codec registry

2010-12-03 Thread R. David Murray
efer Python because it uses smaller and more namespaces > which are more specific and well defined. If we add email and compression > functions to bytes, why not adding a web browser to the str? As MAL says, the codec machinery is a general purpose too

Re: [Python-Dev] transform() and untransform() methods, and the codec registry

2010-12-03 Thread R. David Murray
On Fri, 03 Dec 2010 11:14:56 -0500, Alexander Belopolsky wrote: > On Fri, Dec 3, 2010 at 10:11 AM, R. David Murray > wrote: > .. > > Please also recall that transform/untransform was discussed before > > the release of Python 3.0 and was approved at the time, but it

Re: [Python-Dev] Repo frozen for 3.2

2010-12-06 Thread R. David Murray
I understand all four of these to be "versions of xxx that won't raise". I think that's a reasonable use of the word 'safe', but perhaps there is something better. SafeConfigParser doesn't follow that pattern, of course, though it is perhaps true that it would raise er

Re: [Python-Dev] API for the new sysconfig module

2010-12-10 Thread R. David Murray
7;t at the moment), it seems to make sense from an implementation standpoint as well. Like Éric, I'm not sure what the implications of the existing module having been released in 2.7 and 3.2 beta are in terms of making such an API change. -- R. David Murray

Re: [Python-Dev] A grammatical oddity: trailing commas in argument lists -- continuation

2010-12-13 Thread R. David Murray
re lots more out there[*]. I do especially like the fact that there is one in the stdlib :) It seems like the status quo is fine. I wouldn't object to it being made more consistent. I would object to removing the existing cases. -- R. David Murray www.bit

Re: [Python-Dev] [Python-checkins] r87310 - in python/branches/release27-maint: Doc/library/compileall.rst Lib/compileall.py

2010-12-16 Thread R. David Murray
un directly. In 3.2, this means it will never show up normally, since you can't even run the .pyc file without moving it out of __pycache__. Which means 'ddir' is henceforth useful only to those people who want to package sourceless distributions of the python code. (If

Re: [Python-Dev] Locale-specific formatting

2010-12-17 Thread R. David Murray
'12,345' > ... > >>> "UK says {value:,@uk} and France says > {value:,@france}".format(value=12345, uk=uk_loc, france=france_loc) > 'UK says 1,234.5 and France says 1 234,5' > > Comments? There was at least one long thread on this on py

Re: [Python-Dev] r87389 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py Misc/NEWS

2010-12-18 Thread R. David Murray
s "actual, expected"... And yet "expected, > actual" still looks weird to me. :-( You aren't unique, I feel the same way. But it seems to me that the most important thing is to be consistent, so that I don't freak out for long. -- R. David Murray

Re: [Python-Dev] Issue #8863 adds a new PYTHONNOFAULTHANDLER?environment variable

2010-12-20 Thread R. David Murray
t; let developers act more quickly on bug reports. I wonder if this output > really speeds up the process. > > Do you have an example bug where this patch helps in finding the precise > location of a segfault? How is 'line 29 in g' not more precise

Re: [Python-Dev] [Python-checkins] r87504 - in python/branches/py3k: Doc/c-api/exceptions.rst Include/pyerrors.h Include/warnings.h

2010-12-27 Thread R. David Murray
ion:: int PyErr_WarnFormat(PyObject *category, Py_ssize_t > stack_level, const char *format, ...) > > Function similar to :c:func:`PyErr_WarnEx`, but use > - :c:func:`PyUnicode_FromFormat` to format the warning message. > + :c:func:`PyUnicode_FromFormat` to format the warning m

Re: [Python-Dev] [Python-checkins] r87505 - in python/branches/py3k: Doc/c-api/unicode.rst Include/unicodeobject.h

2010-12-27 Thread R. David Murray
with the 8th bit set, leaving no room for interpretation. So presumably you mean it is (treated as) an ISO-8859-1 encoded string, despite the function name? -- R. David Murray www.bitdance.com ___ Python-Dev mailing

Re: [Python-Dev] [Python-checkins] r87504 - in python/branches/py3k: Doc/c-api/exceptions.rst Include/pyerrors.h Include/warnings.h

2010-12-28 Thread R. David Murray
On Tue, 28 Dec 2010 13:58:24 +0100, Victor Stinner wrote: > Le mardi 28 décembre 2010 à 11:40 +0100, "Martin v. Löwis" a écrit : > > Am 28.12.2010 11:28, schrieb Victor Stinner: > > > Le lundi 27 décembre 2010 à 23:07 -0500, R. David Murray a écrit : > &g

Re: [Python-Dev] [Python-checkins] r87505 - in python/branches/py3k: Doc/c-api/unicode.rst Include/unicodeobject.h

2010-12-28 Thread R. David Murray
On Tue, 28 Dec 2010 10:28:51 +0100, Victor Stinner wrote: > Le lundi 27 décembre 2010 à 23:13 -0500, R. David Murray a écrit : > > > Modified: python/branches/py3k/Doc/c-api/unicode.rst > > > ==

Re: [Python-Dev] [Python-checkins] r87537 - in python/branches/py3k: Doc/library/struct.rst Doc/whatsnew/3.2.rst Lib/test/test_struct.py Lib/wave.py Misc/NEWS Modules/_struct.c

2010-12-28 Thread R. David Murray
gt; >> I believe you mean >> "struct.pack no longer implicitly encodes unicode to UTF-8", >> which will be clearer to most people. > >Yes, done in r87559 You still have two words swapped. You changed it to no longer encodes implicitly unicode but it

Re: [Python-Dev] Backport troubles with mercurial

2010-12-29 Thread R. David Murray
g to be maintaining 2.7 for a while, this is a workflow problem that we *must* solve to make the hg transition worthwhile. I have no doubt that we will, but I also have no doubt we need to *solve* it, not just wave our hands. Many thanks to Georg and Djirkan for

Re: [Python-Dev] Issue #10348: concurrent.futures doesn't work on BSD

2010-12-29 Thread R. David Murray
all supports. In other words, a user of concurrent.futures really needs to tweak their FreeBSD install to make in fully functional. There should be a way (through sysctl, presumably) to query the maximum number of semaphores and skip the relevant tests on that basis. -- R. David Murray

Re: [Python-Dev] Backport troubles with mercurial

2010-12-29 Thread R. David Murray
On Thu, 30 Dec 2010 14:42:48 +0900, "Stephen J. Turnbull" wrote: > R. David Murray writes: > > > We merge bug fixes to 2.7 on a routine basis. It is the rule rather > > than the exception, by a long shot. > > For bugfixes, of course it's routine. I un

Re: [Python-Dev] Backport troubles with mercurial

2010-12-30 Thread R. David Murray
hat it > > is a SMOP is a concern :) > > Sure, but in this crowd, I wouldn't waste a good worry on this > particular SMOP. Talent is one thing, available time, as you pointed out about yourself, is a different matter. I'm confident we can make this all work. The only qu

Re: [Python-Dev] [Python-checkins] r87603 - python/branches/py3k/Misc/NEWS

2011-01-02 Thread R. David Murray
sue numbers). Whoops, two of those are mine. I am still > learning and will try to remember to include it in both log messages and > NEWS entries. Heh. I think two of them were mine, and I'm supposed to know better by now. -- R. David Murray www.b

Re: [Python-Dev] Hello everyone

2011-01-05 Thread R. David Murray
you are still relatively new to Python coding it may take longer to do the necessary research to be able to write the patch). If you like you can also come hang out on the #python-dev IRC channel on freenode, where a number of the core developers and other folks hang out and discuss issues (am

Re: [Python-Dev] Checking input range in time.asctime and time.ctime

2011-01-06 Thread R. David Murray
en out-of-range values were passed to the CRT that other platforms accepted. -- R. David Murray www.bitdance.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1

2011-01-17 Thread R. David Murray
On Mon, 17 Jan 2011 08:33:42 +, Mark Summerfield wrote: > from ..Graphics import Xpm > SVG = 1 > > I can do the relative import with Python 3.0 and 3.1 but not with > 3.2rc1: What about 3.1.3? I wonder if it is related to this issue: http://bugs.python.org/issue79

Re: [Python-Dev] devguide: Add a doc outlining how to add something to the stdlib.

2011-01-17 Thread R. David Murray
new contributor isn't in general going to know when a small change is controversial without asking *somewhere*, be it a mailing list or the tracker. Searching the tracker to make sure it hasn't already been proposed and rejected is, of course, a good id

Re: [Python-Dev] Rietveld integration status (Was: MSI: Remove dependency from win32com.client module (issue4080047))

2011-02-01 Thread R. David Murray
g and fix that script. Martin hasn't had time to do it, and I haven't had time to learn enough about rietveld to try. Getting set up to test tracker patches is distinctly non-trivial, which is probably why very few people work on it. -- R. Davi

Re: [Python-Dev] Python merge module

2011-02-02 Thread R. David Murray
are not web developers) avoid XML whenever possible, and when we do have to deal with it we tend to abstract it behind easier to work with Python code. The obvious exception to that would be web templating languages, but I personally prefer to avoid those, as well

Re: [Python-Dev] Python Unit Tests

2011-02-07 Thread R. David Murray
s and recompile. I imagine at least some of this is already covered in the dev guide (I haven't made time to review it yet). If any of it is unclear to you, please provide feedback so we can improve the guide (which is new). -- R. David Murray www.

Re: [Python-Dev] Rights on the tracker

2011-02-14 Thread R. David Murray
ils2 component is newly added. (Antoine: FYI, the place this is edited is http://bugs.python.org/component, and I don't know anything more than what is explained on that scree :). -- R. David Murray www.bitdance.com

Re: [Python-Dev] Fwd: deep question re dict as formatting input

2011-02-23 Thread R. David Murray
y using "If every character is a digit, then it is treated as an > integer, otherwise it is used as a string". Perhaps you are thinking of http://bugs.python.org/issue7951. Not directly on point, but related. -- R. David Murray

Re: [Python-Dev] Mercurial conversion repositories

2011-02-26 Thread R. David Murray
ory instances intact). With bazaar I got in trouble trying to do that, because the interrelationship between the working copy directories (and their subsets of the repo?) and the master repo(?) was not clear. I never did figure out how to make it work, I ended up st

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-01 Thread R. David Murray
On Tue, 01 Mar 2011 16:26:05 -0500, Eric Smith wrote: > On 3/1/2011 4:19 PM, Kerrick Staley wrote: > > Hello, > > There is a need for the default Python2 install to place a symlink at > > /usr/bin/python2 that points to /usr/bin/python, or for the > > documentation to recommend that packagers ensu

Re: [Python-Dev] contributors survey?

2011-03-02 Thread R. David Murray
ycle management, but I don't think there is any *fix* other than more people. So, doing followup after sprints/bug days to help keep contributor enthusiasm going and get some of them converted into committers is perhaps the best "fix"

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-02 Thread R. David Murray
other choice, it should provide a /usr/bin/python2 symlink. Otherwise, it is going to be getting bug reports from users asking why XYZ script doesn't run. In short, I don't see any *downside* to providing a /usr/bin/python2 symlink. -- R. David Murray

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-04 Thread R. David Murray
t about this issue before, it is probably worth mentioning sys.executable somewhere (a footnote?). But another issue here (and this speaks against the proposal of not shipping a /usr/bin/python link) is that it is quite possible to write a script that will run on either python2 or python3.

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-04 Thread R. David Murray
On Fri, 04 Mar 2011 07:03:08 -0800, Westley =?ISO-8859-1?Q?Mart=EDnez?= wrote: > On Fri, 2011-03-04 at 00:54 -0800, Aaron DeVore wrote: > > On Thu, Mar 3, 2011 at 11:44 PM, Kerrick Staley > > wrote: > > > That way, if the sysadmin does decide to replace the installed "python" > > > file, he ca

Re: [Python-Dev] Support the /usr/bin/python2 symlink upstream

2011-03-04 Thread R. David Murray
s on it won't run on a vanilla user-install of 2.7.1 or 2.7. But how likely is that scenario compared to the scenario where a script written for another distro fails to run because /usr/bin/python2 doesn't exist? I think the balance of the

Re: [Python-Dev] .hgignore (was: Mercurial conversion repositories)

2011-03-05 Thread R. David Murray
est way to find them (if they aren't ignored). Or if there's some way to configure my personal .hgrc to ignore those particular ignore lines, that would be fine too :) -- R. David Murray www.bitdance.com ___

Re: [Python-Dev] .hgignore (was: Mercurial conversion repositories)

2011-03-05 Thread R. David Murray
do a rebuild after...and all of that just takes too long :) I guess I have some hg hacking in my future, unless someone has already written extensions for this stuff. -- R. David Murray www.bitdance.com ___ Python-Dev ma

Re: [Python-Dev] small commit emails nit

2011-03-06 Thread R. David Murray
olor sit amet > [python-checkins] devguide: Lorem ipsum dolor sit amet > [python-checkins] devguide (hg_migration): Lorem ipsum dolor sit amet > > What we have isn't bad, but I agree with Benjamin that it could be better. I don't feel strongly about it either way. -- R. David Mu

<    4   5   6   7   8   9   10   11   12   13   >