Re: [Python-3000] [Python-Dev] ANN: new python-porting mailing list

2008-12-05 Thread skip
oth :-) way. I trust you will announce this in python-list and python-announce-list if you haven't already? Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python

[Python-3000] Python3 - it's awesome (fwd)

2008-11-17 Thread skip
Kudos to the Python 3.0 folks from a poster on comp.lang.python. And it's not even been released yet... Cheers, Skip --- Begin Message --- Hello list, since I've read so much about Python 3 and ran into some trouble which was supposed to be fixed with 3k, I yesterday came around

Re: [Python-3000] Backporting multiprocessing?

2008-10-22 Thread skip
processing.py API compatible with processing 0.52? 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

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-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-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
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
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-16 Thread Skip Montanaro
> I had been approached to do the exact same thing, are you trying to > back port the trunk version (2.6) or py3000? I'm trying to backport from 2.6. It appears that the buffer stuff is completely new though (backported from Python 3.0). S ___ Python

[Python-3000] Backporting multiprocessing?

2008-10-16 Thread Skip Montanaro
ears to be much more robust than the 0.52 third-party release.) Thanks, 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/arch

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] 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
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

[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] [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

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] 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

[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] 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

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

[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

[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

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 ___

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] 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 _

[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

[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

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] 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] [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:/

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] 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-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] 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-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-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] 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] 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-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] [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] [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] 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] 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] [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] [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] 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] 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:

[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
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

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

[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:

[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.

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

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] 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] 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] 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
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] [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] [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] 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] 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

[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] 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

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

[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

[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

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

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-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
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] 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] 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] 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] 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

[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] 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

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/

[Python-3000] Is py3k branch still frozen?

2007-12-09 Thread skip
Is the freeze for 3.0a2 still in place? I have a trivial docstring fix for bytesobject.c. 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] bsddb185 v1.0 for Python 2.6 and 3.0

2007-12-08 Thread skip
lable from the Python Package Index: http://pypi.python.org/pypi/bsddb185 Cheers, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python

[Python-3000] PEP 3108 - recommendations for PyPI transition

2007-12-06 Thread skip
d for certain modules? 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] test_asynchat hanging

2007-11-25 Thread skip
Am I the only person for whom test_asynchat is hanging? If it's not already a known issue let me know and I'll try and characterize it a bit better than "it hangs". Skip ___ Python-3000 mailing list Python-3000@python.org http://mai

Re: [Python-3000] plat-mac seriously broken?

2007-10-27 Thread skip
Bill> I found that an SSL test was failing on 3K because of the following: ... Bill> All of the modules in plat-mac are full of this kind of stuff. ISTR much of the plat-mac stuff was generated by Tools/bgen. If so, that would be the place to fix things.

Re: [Python-3000] Simplifying pickle for Py3k

2007-10-03 Thread skip
as I try and figure out what methods my to-be-pickled objects need to implement. __reduce__, __reduce_ex__, __getstate__, __setstate__, copy_reg, __safe_for_unpickling__, __getnewargs__. Your head starts to swim after awhile. Skip ___ Python-3000 maili

Re: [Python-3000] Emacs22 python.el support for py3k

2007-10-02 Thread skip
Guido> So is python.el a descendant of python-mode.el, or an independent Guido> development? Adam> I've never seen a definitive statement but I believe it was Adam> developed independently. Correct. Skip ___ Python-

[Python-3000] bytes vs. array.array vs. numpy.array

2007-10-01 Thread skip
rt bitwise operations either, but numpy's do. How much overlap is there between the three types? Does it make sense to consider that canonical underlying array type now (or in the near future, sometime before the release of 3.0 final)? Skip ___ Pyt

Re: [Python-3000] ordered dict for p3k collections?

2007-09-26 Thread skip
Mark> With sorteddict you pay O(log N) for accessing, but you pay Mark> nothing for sorting. Pay me now or pay me later, but maintaining a sorted sequence will always cost something. Skip ___ Python-3000 mailing list Python-3000@pyth

Re: [Python-3000] ordered dict for p3k collections?

2007-09-26 Thread skip
be something more than that. Wrapping sorted() around a keys() or values() call is a pretty trivial operation. I didn't see that the implementation saved anything. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailma

Re: [Python-3000] New io system and binary data

2007-09-25 Thread skip
I fixed that up as well. I mentioned the automatic encode/decode for text files there as well, though I'm not sure it needs to be mentioned in the tutorial. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailm

[Python-3000] More uniform treatment of files' newlines attribute?

2007-09-23 Thread skip
. Presumably in most cases you'll know the file's mode without needing to check, but maybe binary files should also have a newlines attribute which is always the empty set. Skip ___ Python-3000 mailing list Python-3000@python.org http://mai

Re: [Python-3000] New io system and binary data

2007-09-23 Thread Skip Montanaro
d binary modes is meaningless on Unix systems, drop me a note and I'll have a look. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/pyth

Re: [Python-3000] New io system and binary data

2007-09-19 Thread skip
ERTICAL BAR they type 'vertical bar'. But enough wistful reminiscing. I will shut up after one more parting shot: Dennis-Ritchie-had-it-right-ly yr's, Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/l

Re: [Python-3000] New io system and binary data

2007-09-19 Thread skip
l tools do one thing well instead of a massively bloated tool that has a swiss army knife drawer full of options. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.pytho

Re: [Python-3000] New io system and binary data

2007-09-19 Thread skip
s is rather foreign. I understand that to a large degree if you made the world right for us the tail would be wagging the dog. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: htt

Re: [Python-3000] __format__ and datetime

2007-09-12 Thread Skip Montanaro
> Given how long strftime has been around I think %f is fine. We may > even influence the future of the C library. :-) Patch for datetime (py3k only at this point, no tests either) here: http://bugs.python.org/issue1158 Skip ___ Pytho

Re: [Python-3000] __format__ and datetime

2007-09-12 Thread skip
Oy Year (offset from %C) in the locale's alternate representation and using the locale's alternate numeric symbols. Skip ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailm

Re: [Python-3000] __format__ and datetime

2007-09-12 Thread skip
ybe "%."? It appears that all strftime codes are one or two letters. 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] __format__ and datetime

2007-09-11 Thread skip
Skip> I would like to see an analog to %S which preserves fractions of a Skip> second as the default formatting for time and datetime objects Skip> does: Skip> >>> print(now) Skip> 2007-09-10 22:07:53.654774 Guido> Right. It's odd th

  1   2   >