Re: [Python-3000] Iterators for dict keys, values, and items == annoying :)

2006-03-23 Thread skip
eople what that version? In any case, I vote to get rid of iterBLAH in favor of just BLAH, and in most cases make BLAH() return an iterator (or a view I suppose), with explicit list(), tuple(), set() required to get various concrete containers. Skip ___

Re: [Python-3000] Iterators for dict keys, values, and items == annoying :)

2006-03-24 Thread skip
e(23))' 'for k in d: v = d[k]' 10 loops, best of 3: 4.58 usec per loop Not as dramatic an improvement as you saw, but yes, I'm surprised that iteritems() is faster than items(). I stand corrected. Thx, Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] pre-PEP: Procedure for PEPs with Backwards-Incompatible Changes

2006-03-27 Thread skip
itten for 2.x and gives some space for various informational PEPs that are specific to Python 3.x. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailma

Re: [Python-3000] pre-PEP: Procedure for PEPs with Backwards-Incompatible Changes

2006-03-28 Thread skip
o overflow into 4000 :-). Should there be some distinction between Py3k PEPs which fall under the purview of Steven's PEP and those which contain completely new stuff and aren't going to impact Python 2.x code? Skip ___ Python-3000 mailing li

Re: [Python-3000] pre-PEP: Procedure for PEPs with Backwards-Incompatible Changes

2006-03-28 Thread skip
ll be Py3k only. I see no reason to implement them badly in 2.x at this point only to break them incompatibly in 3.x. That was why I asked about a distinction between PEPs. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/ma

Re: [Python-3000] pre-PEP: Procedure for PEPs with Backwards-Incompatible Changes

2006-03-28 Thread skip
>> No one is forgetting about 2.x by any means. There seemed to be >> general consensus that there will be at least a couple more 2.x >> releases. Or maybe that was just my view and no one disagreed. :-) Guido> It's my view too. Are you sure it&

Re: [Python-3000] Need list owner for py3k lists

2006-03-30 Thread skip
e plow through moderation requests in short order. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] String formating operations in python 3k

2006-04-03 Thread skip
e of the debate about adding to dictionaries: how are duplicate keys handled? Multiple occurrences of **dict aren't supported in Python 2.4. I suppose it probably doesn't typically make a lot of sense, but for this it seems like it might be reasonable. Skip __

Re: [Python-3000] More wishful thinking

2006-04-15 Thread skip
Giovanni> if re.match(...): Giovanni>x,y = re.group(1), re.group(2) Giovanni> elif re.match(..): Giovanni>... Because then the re module wouldn't be thread safe. Skip ___ Python-3000 mailing list Python-3000@py

Re: [Python-3000] More wishful thinking

2006-04-16 Thread skip
tch( string ): talin>text = re_pattern.lastmatch.group( 1 ) No, it would still be thread-unsafe. The re_pattern object can be shared by multiple threads. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000

Re: [Python-3000] More wishful thinking

2006-04-16 Thread skip
Giovanni> Can't you put the global last-match object into TLS? What if you're not using threads? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://ma

Re: [Python-3000] More wishful thinking

2006-04-16 Thread skip
uot;. Please take it c.l.py, hash it out there, and if a reasonable idea floats to the top of the soup, raise it on python-dev unless the idea is somehow backward-incompatible and has to wait until Python 3000. Skip ___ Python-3000 mailing list P

Re: [Python-3000] Is reference counting still needed?

2006-04-19 Thread skip
at I think you referred to here: http://mail.python.org/pipermail/python-list/1999-July/007623.html FYI... Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/m

Re: [Python-3000] Type Expressions

2006-04-21 Thread skip
Guido> To prevent more abominations like this, let me pronounce that I Guido> now like the single-star syntax: Guido> def foo(a, b, *, x=1, y=2): ... Sorry, I haven't been following this thread. What exactly does the naked st

Re: [Python-3000] Type Expressions

2006-04-21 Thread skip
Guido> def foo(a, b, *, x=1, y=2): ... skip> Sorry, I haven't been following this thread. What exactly does skip> the naked star mean? Sorry, should have finished reading my mail first. S ___ Python-3000 mailing li

Re: [Python-3000] Type Comparisons with Godel Numbers

2006-04-21 Thread skip
k of something that will actually work. (I'm happy to live without type annotations, but that's just me.) Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Unsure if I should write a PEP on Types

2006-04-24 Thread skip
: When in doubt, a PEP will out. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] [Python-3000-checkins] r45689 - in python/branches/p3yk: Include/bytesobject.h Lib/test/test_bytes.py Lib/test/test_file.py Objects/bytesobject.c Objects/fileobject.c

2006-04-24 Thread skip
ng happening in a separate checkin so as not to obscure the real work... Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] sets in P3K?

2006-04-27 Thread skip
/) looks more like the null set to me... Actually, if Py3k is going to be Unicode only, why not use Ø as the null set? ;-) Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: htt

Re: [Python-3000] sets in P3K?

2006-04-27 Thread skip
Barry> x = 1, 2, 3 Barry> x = (1, 2, 3) Barry> So let's keep the first and hijack the second to be set Barry> constructor notation. This is a fairly common error: x = 1, For that reason I prefer to always use parens for tupl

Re: [Python-3000] sets in P3K?

2006-04-28 Thread skip
at typing Ø would be a challenge for most of us on the US side of the pond. In my case it's Fn-Shift-F3 / O though I note now that my Mac supports Shift-Option-O as well. In any case, neither is all that straightforward, and Ø does look a lot like zero in s

Re: [Python-3000] PyGUI in Py3K stdlib, more details

2006-05-01 Thread skip
sted on mail.python.org. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] PyGUI in Py3K stdlib, more details

2006-05-02 Thread skip
Bill> I think a PyGUI mailing list would be a good thing, Skip. And a Bill> bug-tracker. And a CVS repository. Bill> I disagree, though, about this discussion being too detailed for Bill> this list. This is exactly the kind of discussion we need on this Bill&g

Re: [Python-3000] bug in modulus?

2006-05-03 Thread skip
Michael> So why not make "x % y" for floats behave exactly like it does Michael> for integers and provide a separate operation with your Michael> described behavior? %% anyone? (Skip ducks and runs...) Skip ___ Pytho

[Python-3000] test

2006-05-16 Thread skip
Sorry for the intrusion. Checking to see if Mailman is constipated or not... Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000

Re: [Python-3000] Is it possible that some issues reported in the tracker can loose or be deleted?

2007-12-13 Thread skip
ge the tracker. -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/

Re: [Python-3000] How to override io.BytesIO and io.StringIO with their optimized C version?

2007-12-26 Thread skip
e io module is loaded. Alexaandre> How would that works? The modules in Module/config.c need to Alexaandre> linked to the main binary, no? Assuming they aren't huge I don't see any real problem linking them into the interpreter's binary image

[Python-3000] Maybe change the subject?

2007-12-28 Thread skip
I don't have any problem with a discussion of Mercurial or Bazaar as they relate to hosting Python's source code, but could we maybe not cloak the discussion with a subject about the io module? Thx, Skip ___ Python-3000 mailing list P

Re: [Python-3000] Lexical variables at last!

2007-12-29 Thread skip
co> What do you all think? Lambdas only support a single expression, not statements and that's not going to change in 3.0. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe

Re: [Python-3000] Useless methods in Queue module

2008-01-14 Thread skip
ting anything. All three have long been documented as not reliable. It's not like it should be a surprise to anyone that if not q.qsize(): print q.qsize() might print something besides 0. And if it is a surprise, they should probably not be programmin

Re: [Python-3000] Useless methods in Queue module

2008-01-14 Thread skip
cumbersome, but I didn't worry too much about that since a future merge to the 3.0 branch will delete them anyway. Thanks for the suggestion. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [Python-3000] Set literal

2008-01-24 Thread skip
Guido> Looking over the code base, frozensets are used rarely. So I Guido> don't think this is warranted. I kind of like the idea. Raymond's arguments make sense to me. Most of the time if I bother to create a set literal it would be to use it as a

Re: [Python-3000] [Python-ideas] Namespaces are one honking great idea -- let's do more of those!

2008-02-02 Thread skip
ly obliterate the python symlink. I don't understand what all the fuss is. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] [Python-ideas] Namespaces are one honking great idea -- let's do more of those!

2008-02-02 Thread skip
Stephen> FWIW, I can tell you that Skip will get pushback from me if he Stephen> proposes registering those extensions in XEmacs's Stephen> auto-mode-alist. I won't absolutely veto it, but I'll Stephen> certainly suggest to the other reviewers that this

Re: [Python-3000] [Python-ideas] Namespaces are one honking great idea -- let's do more of those!

2008-02-02 Thread skip
; exit(1) It won't work in this case. Compilation of the module might well fail because of Python2/Python3 syntax differences. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe:

Re: [Python-3000] [Python-ideas] Namespaces are one honking great idea -- let's do more of those!

2008-02-03 Thread skip
uture__" facility or the #! trick you and others mentioned, but that would only work for Python 2.6 and above. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

[Python-3000] Does anyone remember the Red Hat 1.5->2.x fiasco?

2008-02-04 Thread skip
that they shipped Python 2.x, and then the executable was called (I think) python2. I no longer remember the details very well, but I wonder if there's a lesson to be learned from that experience as we decide how to install Python 3.0. Skip ___ Python-30

[Python-3000] PYTHONPATH in Python 3.0 (was: Namespaces are one honking ...)

2008-02-05 Thread skip
James> Not much fun for users of the PYTHONPATH env var though, eh? PYTHONPATH3 anyone? Or maybe .pth files are sufficient. So far I've been able to mangle my PYTHONSTARTUP file to work with both Python 2 and Python 3. That's not very sophisticated code

Re: [Python-3000] Free list for small longs

2008-02-05 Thread skip
1 is. Do you mean positive and negative numbers which fit in one byte or one long word? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Nix dict.copy()

2008-02-10 Thread skip
copy.copy() migrates to builtin it should raise something other than copy.Error as well. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

[Python-3000] Does Py3k's print offer any unicode encoding help?

2008-02-14 Thread skip
A thread on the Python Mac sig got me to wondering if there is any magic in Python 3's print function for printing Unicode. Nope, no magic: >>> print("\xef") Traceback (most recent call last): File "", line 1, in File "/Users/skip/lo

Re: [Python-3000] Drop list.reverse()?

2008-02-14 Thread skip
rse() is dumped shouldn't s.sort() be as well? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Does Py3k's print offer any unicode encoding help?

2008-02-14 Thread skip
able to reopen() an open file object, e.g.: print(..., file=sys.stdout.reopen(encoding="utf-8") ? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python

Re: [Python-3000] [Python-Dev] The release process

2008-03-01 Thread skip
lable through MacPorts, at least according to "port search ...". Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] [Python-Dev] The release process

2008-03-03 Thread skip
Barry> True, but it's just more moving parts to break, especially when I Barry> don't really feel a u/i buys you much[*]. Barry> [*] Skip knows me as a diehard XEmacser so that statement can Barry> pretty much define my standard answer to all such quest

Re: [Python-3000] should Python 3's executable install as 'python'?

2008-03-05 Thread skip
ython 3.0." Of course the same holds true for people who install multiple minor revisions of Python 2.x. The README files on both trunk and the py3k branch need updating. If I get a chance today and nobody beats me to it I will modify it with something like Oleg's wording. Skip ___

Re: [Python-3000] should Python 3's executable install as 'python'?

2008-03-05 Thread skip
yikes! skip> If, in the future, the install target does what the altinstall target does skip> today, what should the target that does what the install target does today? skip> (???, install) = (install, altinstall) Let me try this again. If, in the future, the insta

Re: [Python-3000] should Python 3's executable install as 'python'?

2008-03-05 Thread skip
target does today, what should the target that does what the install target does today? (???, install) = (install, altinstall) Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe:

Re: [Python-3000] should Python 3's executable install as 'python'?

2008-03-05 Thread skip
to make what you're installing "right now" be considered "python". Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] svnmerge - three broken tests

2008-03-15 Thread skip
to datetime today. Might that have caused your problems with test_datetime? Is your merge checked in so I can have a look? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http:

Re: [Python-3000] [Python-Dev] 2.6 and 3.0 project management

2008-03-16 Thread skip
ese saved searches public. I suspect you could define one or more saved public searches which correspond to desired hot lists. Aside: Today's my last day here. I'd like to say hi sometime today. Free for lunch? Maybe this would be a good lunchtime discussion. Skip _

Re: [Python-3000] [Python-Dev] 2.6 and 3.0 project management

2008-03-16 Thread skip
in that tracker so they can either spend more time with their families or work on other things that need doing. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python

[Python-3000] JSON nit

2008-03-18 Thread skip
uld prefer it if it raised a TypeError if I tried to encode something other than a string as a dictionary key. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.

[Python-3000] Strategy for porting to 3.0?

2008-03-19 Thread skip
other issues. Should I feed the problems I discover here back to the community in hopes either -3 or 2to3 can be enhanced? Then what? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe:

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-19 Thread skip
o be some incompatibilities which aren't covered by -3 or 2to3? Those will require manual code changes which aren't 2.x compatible. I view this mostly as an exercise to provide feedback to the greater Python community, not necessarily a straight-line path to 3.x support in Spam

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-19 Thread skip
Eric> The proposed 3to2 also might be a way out. Will be interesting to see how the round-trip code compares to the original. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscr

[Python-3000] csv.Sniffer - delete in Python 3.0?

2008-03-19 Thread skip
probably represent data from single-column files, not double-column files with '8' or 'f' as the delimiter. I would be happy to get rid of it in 3.0, but I'm also aware that some people use it. I'd like feedback from the Python communi

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-19 Thread skip
ally? I'm not aware of any. Nothing specifically. I was simply under the impression that the conversion couldn't be 100% from my reading, perhaps incorrectly, of the mailing list. Skip ___ Python-3000 mailing list Python-3000@python.org http:

Re: [Python-3000] Strategy for porting to 3.0?

2008-03-23 Thread skip
(Diverting from python-3000 to spambayes-dev.) Skip> After the next SpamBayes release I plan to branch the code and Skip> work on porting it to Python 3.0, mostly as an experiment in Skip> porting code from Python 2.x to 3.x whose results I can feed back Skip> t

Re: [Python-3000] [Python-Dev] Python source code on Bazaar vcs

2008-03-24 Thread skip
Barry> All the gory details are documented here: Barry> http://www.python.org/dev/bazaar Thanks. I checked out, made a branch named test3, changed Makefile.pre.in to have a test3 target, checked it in, then tried to push it: % pwd /Users/skip/src/python-bzr/test3

Re: [Python-3000] [Python-Dev] Python source code on Bazaar vcs

2008-03-25 Thread skip
>> Did I misread the directions or do I really need the --create-prefix >> arg? Barry> You do, the first time you push a user branch because users/skip Barry> doesn't exist yet. It's mentioned in the docs, but it's pretty Barry> easy

Re: [Python-3000] lambda

2008-03-26 Thread skip
a look at the red buildbots. ;-) Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] the release gods are angry at python

2008-03-27 Thread skip
shows 10 pending. It looks like its last run was about 18 hours ago. You would think by now it would have been able to make another run. It pings fine. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo

Re: [Python-3000] [Python-Dev] the release gods are angry at python

2008-03-28 Thread skip
Neal> Anything that connects to a remote host is definitely flaky. Would it maybe help to set up a dedicated host (or virtual host) to serve as the sole target of all network tests? Skip ___ Python-3000 mailing list Python-3000@python.org h

Re: [Python-3000] [Python-Dev] Python source code on Bazaar vcs

2008-03-29 Thread skip
Benjamin> Once you've pushed the branches, is there a way to remove them? Related question: is there a way to view the various branches in a non-local repository? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.py

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-09 Thread skip
Is there a 2-to-3 fixer for % format? I scanned the fixes directly quickly but didn't see anything obvious. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe:

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-09 Thread skip
that kind of hard to believe (that it should be terribly difficult to write a fixer, at least given a % operator with a string literal LHS and either a tuple or dict RHS or a call to locals() or globals()). Skip ___ Python-3000 mailing list Python-3000@pytho

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-12 Thread skip
True, I'm not implying anything should be broken, just that much of the work can be mechanical conversion. Also, for some of us, % formatting will remain the "first way" of generating formatted string output as long as it exists in the language. Skip ___

Re: [Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-02 Thread skip
Fred> If user-local package installs went to ~/ by default ... with a Fred> way to set an alternate "prefix" instead of ~/ using a distutils Fred> configuration setting, I'd be happy enough. +1 from me. Skip ___

Re: [Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-03 Thread skip
Nick> [EMAIL PROTECTED] wrote: Fred> If user-local package installs went to ~/ by default ... with a Fred> way to set an alternate "prefix" instead of ~/ using a distutils Fred> configuration setting, I'd be happy enough. Skip> +1 from me.

Re: [Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-03 Thread skip
>> - for experienced users (Barry, skip, etc) that want ~/.local to be >> more easily accessible, creating a visible ~/local symlink is an >> utterly trivial exercise. Barry> Hey Nick, I agree with everything above, except that I'd probably

Re: [Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-04 Thread skip
. It gives you the flexibility needed to handle a number of different scenarios. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] [Python-Dev] Invitation to try out open source code review tool

2008-05-05 Thread skip
a Dutch city and (maybe?) a Dutch architect by that name. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-06 Thread skip
ly non-obvious. Would you prefer /usr/.local to /usr/local? If not, then why prefer ~/.local to ~/local? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/m

Re: [Python-3000] [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-06 Thread skip
minimum of noise. I don't mind the system clearly telling me about code I've installed. That's a lot different than Mozilla hiding it's internal stuff in ~/.mozilla. Skip ___ Python-3000 mailing list Python-3000@python.org http:/

[Python-3000] Code Freeze - full or partial?

2008-05-09 Thread skip
intention to make the duration of the code freeze so short (a few minutes or hours) that it's not worth the effort to make this distinction? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-3000] Trunk / branch switch

2008-06-11 Thread skip
ts. I suspect I might qualify as an old fart today. If I qualify I suspect Tim and Barry aren't too far behind. Is the time machine running in reverse??? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/l

[Python-3000] "make (alt)?install" with all the recent structural changes

2008-06-22 Thread skip
I'm guessing we should be in the habit of zapping our Python 3.0 installations before executing "make (alt)?install", correct? Looking at my local Py3k install I see both urllib the package and urllib the module: % find /Users/skip/local/lib/python3.0 -name 'urllib*&#x

[Python-3000] PEP 3108 and the demise of bsddb3

2008-09-03 Thread skip
>From issue3769: Skip> Remind me why we want to get rid of bsddb? Benjamin> The reasons are enumerated in PEP 3108. Not much justification and no references to outside discussion for such a heavily used package which has been part of Python for a long time in one form or an

Re: [Python-3000] PEP 3108 and the demise of bsddb3

2008-09-04 Thread skip
ither bsddb185 or bsddb3) built for the Windows distributions? Without something there's no guarantee that anydbm or shelve will work out of the box. As Raymond pointed out, dumbdbm would be a poor choice as the default dict-on-disk module. Skip _

Re: [Python-3000] Not releasing rc1 tonight

2008-09-04 Thread skip
Barry> In addition, Mark reported in IRC that there are some regressions Barry> in the logging module. Vinay apparently checked in some changes to the logging module with no review. In the absence of obvious bug fixes there that should probably be reverted.

Re: [Python-3000] Not releasing rc1 tonight

2008-09-04 Thread skip
parators in logging configuration files. Modified: python/trunk/Lib/logging/config.py python/trunk/Lib/test/test_logging.py python/trunk/Misc/NEWS I noticed because someone else (Brett?) questioned the apparent lack of review. Skip ___

[Python-3000] Should package __init__ files include pkgutil.extend_path?

2008-09-06 Thread skip
rt pkgutil __path__ = pkgutil.extend_path(__path__, __name__) I'm wondering if all the core packages in 3.x should include the above in their __init__.py files. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listi

[Python-3000] Nonlinearity in dbm.ndbm?

2008-09-06 Thread skip
nlinear in the ndbm code, probably the underlying library, but it may be worth checking the wrapper quickly. Platform is Mac OSX 10.5.4 on a MacBook Pro. Now to dig into the abysmal sqlite performance. Skip ___ Python-3000 mailing list Python-30

Re: [Python-3000] Nonlinearity in dbm.ndbm?

2008-09-06 Thread skip
t of 3: 270 msec per loop * Get rid of cursors, calling the connection's execute method instead: 1000 loops, best of 3: 198 usec per loop 100 loops, best of 3: 2.26 msec per loop Hmmm... Should cursors be used? What benefit are they? Without them is the sqlit

Re: [Python-3000] Nonlinearity in dbm.ndbm?

2008-09-06 Thread skip
_conn.commit() I think you need the commits and have to suffer with the speed penalty. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

[Python-3000] Would someone please look at this bug report?

2008-09-07 Thread skip
aps I should have marked it as a release blocker, but I don't think that's my call. Thx, Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman

Re: [Python-3000] [Python-Dev] Proposed revised schedule

2008-09-08 Thread skip
7;s clear it has some shortcomings. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Should package __init__ files include pkgutil.extend_path?

2008-09-09 Thread skip
t dbm_sqlite mal> # Install dbm_sqlite into the dbm package mal> sys.modules['dbm.sqlite'] = dbm_sqlite mal> dbm.sqlite = dbm_sqlite I was hoping to make migration from an external module in test to a module distributed with Python (if it gets

Re: [Python-3000] [Python-Dev] dbm.sqlite

2008-09-09 Thread skip
vs optparse) even if the two versions are functionally identical. In this case, my hope is that dbm.sqlite will eventually move into the distributed dbm package. If so, it would be nice if the move was transparent. Skip ___ Python-3000 mailing list

[Python-3000] How much should non-dict mappings behave like dict?

2008-09-12 Thread skip
#x27;m of the opinion it should apply more broadly. Others are not of that opinion. Should the documentation be more explicit about this? Comments? Thx, Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/p

Re: [Python-3000] How much should non-dict mappings behave like dict?

2008-09-12 Thread skip
to be the place where we remove as many warts as possible. It would also be nice to tighten up the documentation in these somewhat murky areas. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-3000] How much should non-dict mappings behave like dict?

2008-09-12 Thread skip
dering of keys, values and items is made. Can we settle on something like this and spell it out explicitly somewhere in the 3.0 docs? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscrib

Re: [Python-3000] How much should non-dict mappings behave like dict?

2008-09-12 Thread skip
osiah> the items, keys and values should return results in the same Josiah> order." Josiah> So... key ordered, or rowid ordered? I could care less, just so it's predictable. Ordering by rowid is probably more efficient. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Backporting multiprocessing?

2008-10-17 Thread skip
Christian> I like to make as much code of the trunk version compatible Christian> with 2.5 and 2.4 as possible. Let's see how far we can get Christian> with a bunch of macros and #ifdefs. I'll follow your lead. ;-) Skip

Re: [Python-3000] Backporting multiprocessing?

2008-10-17 Thread skip
Jesse> Do we want to start a google code project for this given all Jesse> three of us are interested in this? :) Maybe the svn repo could grow a backports sibling of sandbox. Skip ___ Python-3000 mailing list Python-3000@python.or

Re: [Python-3000] Backporting multiprocessing?

2008-10-17 Thread skip
u can admit project developers without giving them the keys to the kingdom so-to-speak. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-

Re: [Python-3000] Backporting multiprocessing?

2008-10-17 Thread skip
uld help. See what fails and then see what fixes correspond to fixing those failing tests. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/optio

Re: [Python-3000] Backporting multiprocessing?

2008-10-18 Thread skip
e=$HOME/tmp/multiprocessing.tar --exclude=.svn --exclude='*.pyc' Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Backporting multiprocessing?

2008-10-20 Thread skip
started! Are you going to Christian> commit your work to the Google Code repository anytime soon? I checked in the contents of my multiprocessing.tar file and opened issues #1 and #2. Skip ___ Python-3000 mailing list Python-3000@python.org http://mai

  1   2   >