Re: [Python-Dev] str with base

2006-01-16 Thread Barry Warsaw
t; > I wouldn't mind seeing arbitrary base encoding of integers included somewhere, > but as a method of str -- let alone the constructor! -- it feels quite wrong. Hear, hear. I was similarly perplexed when I first read that! -Barry signature.asc Description: This is a digitall

Re: [Python-Dev] str with base

2006-01-16 Thread Barry Warsaw
he obvious choice is probably "b". > > For example: > > >>> '%08b' % (12) > '1100' > >>> '%b' % (12) > '1100' +1 -Barry signature.asc Description: This is a digitally signed message part __

Re: [Python-Dev] Building on OS X 10.4 fails

2006-01-17 Thread Barry Warsaw
t. (There was something else that bugged me about the OS X 10.4 Python from-source build but now I can't remember.) -Barry signature.asc Description: This is a digitally signed message part ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] str with base

2006-01-19 Thread Barry Warsaw
l literals is handy for things like os.chmod(). Unix weenies shouldn't be totally forgotten in P3K. I'm also for keeping hex() and oct() although if you want to move them out of builtins, that's fine. +0b1 for binary literals and %b. -Barry signatu

Re: [Python-Dev] [Python-checkins] r42116 - python/branches/release24-maint/Lib/unittest.py

2006-01-20 Thread Barry Warsaw
> backport, I guess it could be hacked to work right-ish, but subclassing > TestCase in this way, while convenient, isn't important enough to warrant > this (IMHO). Exactly right. -Barry signature.asc Description: This is a digitally signed message part __

Re: [Python-Dev] Building on OS X 10.4 fails

2006-01-21 Thread Barry Warsaw
the DP paths (i.e. /opt/local) to setup.py specifically to get its readline, but instead to pick up any libraries that happen to be in DP in preference to those in OSX by default. If that /happens/ to cause a different version of readline to be used as a side-effect, then oops!

Re: [Python-Dev] Building on OS X 10.4 fails

2006-01-21 Thread Barry Warsaw
On Jan 21, 2006, at 11:19 AM, Barry Warsaw wrote: > In that case, what I think we ought to do is not add the DP paths > (i.e. /opt/local) to setup.py specifically to get its readline, but > instead to pick up any libraries that happen to be in DP in > preference to those in OSX by

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

2006-01-25 Thread Barry Warsaw
efficient than having to create a bunch of intermediate objects. All in all, I'd have to say I'm -0 on __div__ for path concatenation. -Barry signature.asc Description: This is a digitally signed message part ___ Python-Dev mailing list Python-

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Barry Warsaw
. It's a trade-off that should be made for practical purposes. I've definitely come to prefer spellings like is_absolute over isabsolute, and in general dislike squish words. -Barry signature.asc Description: This is a digitally signed message part ___

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

2006-01-25 Thread Barry Warsaw
as much, and > doesn't > raise precedence and readability questions. Or the need to employ ugliness like backslashes when you have to split the join across multiple lines. -Barry signature.asc Description: This is a digitally signed message part ___

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

2006-01-25 Thread Barry Warsaw
me. It's actually jarring enough that I have to stop and think about what it means because it /looks/ like there's math going on. OTOH, something like: image = Path('', 'images', name) + ext or even better image = Path.join('', 'images', name) +

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Barry Warsaw
shed out in more detail. If it's proved to be an impossible (or merely an extremely infeasible) task, then I think we can discuss the shortcut of deriving from strings. It just seems gross so I'd like to be sure there's no better way. -Barry signature.asc Description: This is

Re: [Python-Dev] SourceForge Download Page, Subversion Home Page

2006-01-29 Thread Barry Warsaw
On Sat, 2006-01-28 at 19:46 +0100, "Martin v. Löwis" wrote: > Barry Warsaw favours Jira as a tracker. Still do! At at one time the Atlassian folks offered to help us import the SF tracker data into Jira if we could get a machine readable (hopefully XML-ish) dump of the current SF

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

2006-01-31 Thread Barry Warsaw
d suggest we do nothing unless the FSF asks us to. -Barry signature.asc Description: This is a digitally signed message part ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail

Re: [Python-Dev] Octal literals

2006-02-01 Thread Barry Warsaw
0xff, 0o664, and 0b1001001 seems like the right direction, although 'o' for octal literal looks kind of funky. Maybe 'c' for oCtal? (remember it's 'x' for heXadecimal). -Barry signature.asc Description: This is a digitally signed message part ___

Re: [Python-Dev] Octal literals

2006-02-01 Thread Barry Warsaw
ary for bit flags and other bit twiddling, and oct for OS/file system interfaces. In none of those cases do you actually need or want signed values. IME. -Barry signature.asc Description: This is a digitally signed message part ___ Python-Dev mai

Re: [Python-Dev] threadsafe patch for asynchat

2006-02-07 Thread Barry Warsaw
On Tue, 2006-02-07 at 16:01 -0800, Robert Brewer wrote: > Perhaps, but please keep in mind that the smtpd module uses both, currently, > and would have to be rewritten if either is "removed". Would that really be a huge loss? -Barry signature.asc Description: This is a

Re: [Python-Dev] threadsafe patch for asynchat

2006-02-08 Thread Barry Warsaw
unit tests of some random Python implemented mailing list manager. Just fer instance. But still... > But I can't speak for how often this need comes up among users. Yeah, there is that. ;) -Barry signature.asc Description: This is a digitally

Re: [Python-Dev] threadsafe patch for asynchat

2006-02-08 Thread Barry Warsaw
m doing a lot more dev on the Mac these days, I definitely agree that this is what makes Gentoo so cool for Linux, and I can't wait for Gentoo-on-OSX to switch to doing things the Right Way (can you say bye-bye DarwinPorts?). -Barry signature.asc Description: This is a digitally signed me

[Python-Dev] email 3.1 for Python 2.5 using PEP 8 module names

2006-02-08 Thread Barry Warsaw
;d like to keep discussion on the email-sig, so please join us there if you care about this one way or the other. -Barry signature.asc Description: This is a digitally signed message part ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] py3k and not equal; re names

2006-02-09 Thread Barry Warsaw
riety. I've long advocated for keeping <> as I find it much more visually distinctive when reading code. -Barry ___ 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] PEP for adding an sq_index slot so that any object, a or b, can be used in X[a:b] notation

2006-02-09 Thread Barry Warsaw
On Thu, 2006-02-09 at 11:30 -0800, Guido van Rossum wrote: > In the past, the protocol for aqcuiring a PEP number has been to ask > the PEP coordinators (Barry Warsaw and David Goodger) to assign one. I > believe that we could simplify this protocol to avoid necessary > involvemen

Re: [Python-Dev] py3k and not equal; re names

2006-02-09 Thread Barry Warsaw
on > to remove it is another question. Visually, "==" looks very symmetrical and stands out nicely, while "!=" is asymmetric and jarring. "<>" has a visual symmetry that is a nice counterpart to "==". For me, t

Re: [Python-Dev] release plan for 2.5 ?

2006-02-10 Thread Barry Warsaw
;t shed a tear if it were rejected. One other un-PEP'd thing. I'd like to put email 3.1 in Python 2.5 with the new module naming scheme. The old names will still work, and all the unit tests pass. Do we need a PEP for that? -Barry _

Re: [Python-Dev] release plan for 2.5 ?

2006-02-10 Thread Barry Warsaw
On Feb 10, 2006, at 5:47 PM, Guido van Rossum wrote: > On 2/10/06, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >> [Barry Warsaw"]like to put email 3.1 in Python 2.5 >>> with the new module naming scheme. The old names will still work, >>> and all the unit

Re: [Python-Dev] PEP 351

2006-02-11 Thread Barry Warsaw
e thread. > > Could you please do that? I'd like to understand all of your > objections. Thanks! Better yet, add them to the PEP. -Barry ___ 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

<    24   25   26   27   28   29