Re: [Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

2009-03-04 Thread Benji York
a good name in someone else's head... TemporalDict -- Since the order of insertion is important SerialDict -- From Websters: of, relating to, consisting of, or arranged in a series, rank, or row serial order -- Benji York ___ Python-Dev mailing list

Re: [Python-Dev] Where is Fred Drake?

2009-01-21 Thread Benji York
On Wed, Jan 21, 2009 at 6:39 PM, Aahz a...@pythoncraft.com wrote: Mail to fdr...@acm.org is bouncing; I don't know whether it's a temporary failure. Does anyone have another address for him? /me channels Fred: Use freddr...@verizon.net until the acm.org account is back up. -- Benji York

Re: [Python-Dev] multiprocessing source not Unix clean

2008-06-13 Thread Benji York
~/.subversion/config: [miscellany] enable-auto-props = yes [auto-props] *.c = svn:eol-style=native *.h = svn:eol-style=native etc. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] multiprocessing source not Unix clean

2008-06-13 Thread Benji York
On Fri, Jun 13, 2008 at 4:28 PM, Benji York [EMAIL PROTECTED] wrote: Subversion can be configured to normalize line endings, either manually through properties, or automatically via ~/.subversion/config: After sending this I though surely this is in the developer docs, and indeed it is: http

Re: [Python-Dev] Iterable String Redux (aka String ABC)

2008-05-27 Thread Benji York
that might be. -- Benji York ___ 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] On quote styles

2008-05-12 Thread Benji York
On Sat, May 10, 2008 at 10:51 PM, [EMAIL PROTECTED] wrote: It might be useful to have a wiki page which identified some of the conventions people use. One such entry could be Do what python does.: 'I am a string.' 'I am a string.' I'm a string I'm a string -- Benji York

Re: [Python-Dev] for loop with if filter

2007-11-16 Thread Benji York
-- Benji York http://benjiyork.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Does Python need a file locking module (slightly higher level)?

2007-10-22 Thread Benji York
://pypi.python.org/pypi/zc.lockfile -- Benji York http://benjiyork.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] [Python-3000] Documentation switch imminent

2007-08-22 Thread Benji York
module docs, it looks like two or more lines overlap in the footer (scroll all the way down). -- Benji York http://benjiyork.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] [Python-3000] Documentation switch imminent

2007-08-21 Thread Benji York
happened when I clicked Yes. The error is repeated each time a new page is opened. An additional opinion: The red, appear-on-hover permalink markers don't make much sense in a CHM and are somewhat distracting. Can those be hidden, perhaps via CSS? -- Benji York http://benjiyork.com

Re: [Python-Dev] PEP 30XZ: Simplified Parsing

2007-05-03 Thread Benji York
case, it's treated as a continuation character even though it's not at the end of a physical line. So it gives an error. No, that is unrelated to line continuation. The \ is an escape sequence, therefore there is no double-quote to end the string literal. -- Benji York http://benjiyork.com

Re: [Python-Dev] [Python-checkins] buildbot failure in amd64 gentoo 2.5

2007-01-24 Thread Benji York
(outlined here http://damienkatz.net/2007/01/negative_captch.html) of having a hidden field that is attractive to spam bots, but hidden from humans would seem to be as effective without the (slight) annoyances of filling in an extra field every time. -- Benji York

Re: [Python-Dev] [Python-3000] Warning for 2.6 and greater

2007-01-10 Thread Benji York
Paul Moore wrote: How many other projects/packages anticipate *not* migrating to Py3K, I wonder? I certainly can't speak for the project as a whole, but I anticipate a fair bit of work to port Zope 3 (100+ KLOC) to Python 3.0. -- Benji York ___ Python

Re: [Python-Dev] [wwwsearch-general] 2.5: recently introduced sgmllib regexp bug hangs Python

2006-08-17 Thread Benji York
John J Lee wrote: Looks like revision 47154 introduced a regexp that hangs Python Revision 47155 was a similar change to the 2.4 branch. -- Benji York Senior Software Engineer Zope Corporation ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Doctest and Footnotes

2006-07-11 Thread Benji York
time (using ReST tables for FIT), so if there's interest perhaps I'll try my hand at a plugin system of some sort. (wish I could use zope.component :) -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] Doctest and Footnotes

2006-07-11 Thread Benji York
Alexander Belopolsky wrote: Benji York benji at zope.com writes: Here's the idea: when a footnote is referenced in prose, execute the code associated with the footnote at that point. For example: Another natural place for the referenced code is the __test__ dictionary. Using that has

[Python-Dev] Doctest and Footnotes

2006-07-10 Thread Benji York
or NORMALIZE_WHITESPACE. Tim has given me a few pointers on improvements to make, which I'll work on this week. Thoughts/questions? -- Benji York Senior Software Engineer Zope Corporation ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] For sandboxing: alternative to crippling file()

2006-06-29 Thread Benji York
/osdi04.pdf -- Benji York ___ 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] ImportWarning flood

2006-06-26 Thread Benji York
Nick Coghlan wrote: Perhaps ImportWarning should default to being ignored, the same way PendingDeprecationWarning does? Then -Wd would become 'the one obvious way' to debug import problems +1 -- Benji York ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] ImportWarning flood

2006-06-26 Thread Benji York
Michael Hudson wrote: Benji York [EMAIL PROTECTED] writes: Nick Coghlan wrote: Perhaps ImportWarning should default to being ignored, the same way PendingDeprecationWarning does? Then -Wd would become 'the one obvious way' to debug import problems +1 I'm not sure what this would achieve

Re: [Python-Dev] Code coverage reporting.

2006-06-19 Thread Benji York
it hooked into the buildbots (unless it is dirt cheap to generate the report). It would be interesting to combine the coverage over several platforms and report that. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Code coverage reporting.

2006-06-19 Thread Benji York
be interesting as a BuilBot extension: you already know the definitive identity of the thing that you're running (svn path and revision), a central server with established communication channel, plus all the other BuildBot machinery. -- Benji York ___ Python-Dev

Re: [Python-Dev] Switch statement

2006-06-19 Thread Benji York
-- Benji York ___ 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] fixing buildbots

2006-05-30 Thread Benji York
and rebuilt on each run. It slows things down a bit, but the results have been more consistent and it's easier to administer. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Python sprint mechanics

2006-05-06 Thread Benji York
Martin v. Löwis wrote: Benji York wrote: Subversion 1.3 added a path-based authorization feature to svnserve. That's what I mean by does not work fine: I would need to update to subversion 1.3. I noted that in my original message. I thought you meant that it wasn't possible at all

Re: [Python-Dev] Python sprint mechanics

2006-05-05 Thread Benji York
to parts of the repo, and read-write to others. It shouldn't be difficult (given a recent enough Subversion) to set up a sprint area in the repo. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] lambda in Python

2006-05-05 Thread Benji York
Ian D. Bollinger wrote: I'm not sure Xah is so much a troll as he is completely out of his mind. Is that Bollinger's law? Any sufficiently advanced insanity is indistinguishable from trolling. -- Benji York ___ Python-Dev mailing list Python

[Python-Dev] Positional-only Arguments

2006-05-02 Thread Benji York
. Is there any reason to pursue the idea, or this mostly a misguided desire for symmetry? -- Benji York ___ 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] Positional-only Arguments

2006-05-02 Thread Benji York
and which are keyword. Doing so would recast PEP 3102 from how to get a keyword-only argument into how to get a keyword (non-positional) argument. A downside would be the need to specify when an argument can be positional *or* keyword. -- Benji York

Re: [Python-Dev] Positional-only Arguments

2006-05-02 Thread Benji York
bodies (or lots of name rebinding). -- Benji York ___ 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] Dropping __init__.py requirement for subpackages

2006-04-26 Thread Benji York
packages with no modules in them? sharpening-my-farm-implements-ly y'rs, -- Benji York ___ 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

[Python-Dev] 2.5a1 Performance

2006-04-05 Thread Benji York
releases, different architectures, and between particular changes to the code. (That's assuming that the machines are otherwise idle, though.) -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] 2.5a1 Performance

2006-04-05 Thread Benji York
could be flagged as such. -- Benji York ___ 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] 2.5a1 Performance

2006-04-05 Thread Benji York
Neal Norwitz wrote: 32-bit or 64-bit? I would expect a modest diff on 64-bit between 2.4 and 2.5. 32-bit; don't know of any 64-bit Pentium Ms :) You built both HEAD and 2.4 from scratch, right? Right. -- Benji York ___ Python-Dev mailing list

Re: [Python-Dev] 2.5a1 Performance

2006-04-05 Thread Benji York
) and remeasure. 2.5a1 reported the same pystones (30k) and, to my surprise, 2.4 reported 31k (about 5k *less* than with freq. scaling on). So there seems to be some interaction between frequency scaling and pystones. Benchmarking is hard, let's go shopping! -- Benji York

Re: [Python-Dev] I'm not getting email from SF when assignedabug/patch

2006-03-29 Thread Benji York
, if not it's better to use something that works well regardless of what it's written in. (Not that I qualify to have an opinion. I don't have time to contribute to Python, other than with snarky emails.) -- Benji York ___ Python-Dev mailing list

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-02-27 Thread Benji York
are only free until November 7th: http://msdn.microsoft.com/vstudio/express/support/faq/default.aspx#pricing -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] buildbot is all green

2006-02-20 Thread Benji York
purposes we can probably get rid of the seconds in the timestamp. So far the cosmetic changes have been done purely in CSS, implementing the above would (AFAICT) require modifying the buildbot waterfall display HTML generation. Something that's been shied away from thus far. -- Benji York

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Benji York
limited CSS2 support. More could be done if the HTML generation was modified, but that didn't seem prudent. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Benji York
). The current version is bold-free with slightly larger text. -- Benji York ___ 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

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Benji York
Martin v. Löwis wrote: Benji York wrote: See http://www.benjiyork.com/pybb. Great! you haven't explicitly stated that: may I copy this on python.org? (I did, but I need confirmation) Sure! Feel free to use it as you wish. I replied to Walter Dörwald's suggestions and made a few changes

Re: [Python-Dev] buildbot is all green

2006-02-18 Thread Benji York
Neal Norwitz wrote: http://www.python.org/dev/buildbot/ If there's interest in slightly nicer buildbot CSS (something like http://buildbot.zope.org/) I'd be glad to contribute. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] http://www.python.org/dev/doc/devel still available

2006-02-17 Thread Benji York
Alexander Schremmer wrote: In fact, PHP does it like php.net/functionname which is even shorter, i.e. they fallback to the documentation if that path does not exist otherwise. Like many things PHP, that seems a bit too magical for my tastes. -- Benji York

Re: [Python-Dev] locale and LC_NUMERIC

2006-01-09 Thread Benji York
for buildbot. After running the tests normally they could be re-run with a different locale. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] Active Objects in Python

2005-09-27 Thread Benji York
an extension that lets you store Python objects in shared memory and use them from multiple processes, modulo certain strict limitations. POSH: http://poshmodule.sourceforge.net/posh/html/ -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Proof of the pudding: str.partition()

2005-08-30 Thread Benji York
= pname.rpartition('.')[:2] line = line.partition('#')[0] I think I like the original better, but can't use _ in my code because it's used for internationalization. -- Benji York ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Fwd: Distributed RCS

2005-08-15 Thread Benji York
(or mercurial, which looks great), but keeping the trunk in svn. -- Benji York ___ 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

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-08-07 Thread Benji York
A script named svnmerge that does just that is included in the contrib directory of the Subversion tar. We (ZC) have just started using it to track two-way merge operations, but I don't have much experience with it personally yet. -- Benji York ___ Python-Dev

Re: [Python-Dev] Merging PEP 310 and PEP 340-redux?

2005-05-12 Thread Benji York
): self.close() you could write do file('whatever) as f: lines = f.readlines() Or a lock: def __enter__(self): self.aquire(); return self def __exit__(self, *args): self.release() do my_lock: a() b() c() -- Benji York Sr. Software Engineer Zope Corporation