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

2009-03-04 Thread Benji York
trigger 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 -- Benji York ___ Python-Dev mailing

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

2009-01-21 Thread Benji York
On Wed, Jan 21, 2009 at 6:39 PM, Aahz 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

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&q

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

2008-06-13 Thread Benji York
ould be good to have something in the toolchain to change this. Subversion can be configured to normalize line endings, either manually through properties, or automatically via ~/.subversion/config: [miscellany] enable-auto-props = yes [auto-props] *.c = svn:eol-style=native *.h = svn:eol-style=

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

2008-05-27 Thread Benji York
perhaps there should be an ABC that things like lists and tuples provide, but strings don't. No idea what 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.

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

2007-11-16 Thread Benji York
= numNodes): # do something with r -- 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
ted is the very simple zc.lockfile: http://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

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

2007-08-22 Thread Benji York
viewing the "random" 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-d

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

2007-08-21 Thread Benji York
dentifier, string or number """ Nothing 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 hid

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

2007-05-03 Thread Benji York
^ > SyntaxError: EOL while scanning single-quoted string > In the first 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 escap

Re: [Python-Dev] New syntax for 'dynamic' attribute access

2007-02-12 Thread Benji York
connection, but I'd say it's the wrong one. In C, "x->y" > dereferences x, while in Python, "x->y" would dereference y. That's > just begging for trouble. Then the syntax should obviously be "x<-y". [insert in-Soviet-Russia-variables-d

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

2007-01-24 Thread Benji York
active" 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 ___ 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] [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. -- Be

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 h

Re: [Python-Dev] Doctest and Footnotes

2006-07-11 Thread Benji York
Alexander Belopolsky wrote: > Benji York 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 __tes

Re: [Python-Dev] Doctest and Footnotes

2006-07-11 Thread Benji York
;d like to try some 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 h

[Python-Dev] Doctest and Footnotes

2006-07-10 Thread Benji York
doctest (http://tinyurl.com/nekam). The behavior is controlled by an optionflag, much like ELLIPSIS 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 _

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

2006-06-29 Thread Benji York
/~rinard/paper/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
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 't

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

Re: [Python-Dev] Switch statement

2006-06-19 Thread Benji York
statements else: statements except: statements -- 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] Code coverage reporting.

2006-06-19 Thread Benji York
It might 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 _

Re: [Python-Dev] Code coverage reporting.

2006-06-19 Thread Benji York
on't know if we need 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 Pyt

Re: [Python-Dev] fixing buildbots

2006-05-30 Thread Benji York
ntire build directory is removed 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/ma

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 mean

Re: [Python-Dev] Python sprint mechanics

2006-05-05 Thread Benji York
Martin v. Löwis wrote: > Benji York wrote: > >>I'm not familiar with the mechanics, recent versions of Subversion allow >>per-directory security. > > It works fine for http(s), but not for svn+ssh. Versions prior to 1.3 could use Apache's authorization sy

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 mai

Re: [Python-Dev] Python sprint mechanics

2006-05-05 Thread Benji York
access 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/

Re: [Python-Dev] Positional-only Arguments

2006-05-02 Thread Benji York
akes for ugly function 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] Positional-only Arguments

2006-05-02 Thread Benji York
which arguments are positional 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 arg

[Python-Dev] Positional-only Arguments

2006-05-02 Thread Benji York
nice. 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/mailm

Re: [Python-Dev] Dropping __init__.py requirement for subpackages

2006-04-26 Thread Benji York
become 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

Re: [Python-Dev] 2.5a1 Performance

2006-04-05 Thread Benji York
he maximum (1.4 GHz) 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'

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 m

Re: [Python-Dev] 2.5a1 Performance

2006-04-05 Thread Benji York
to running buildbot and nothing else 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

[Python-Dev] 2.5a1 Performance

2006-04-05 Thread Benji York
nes across different 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.or

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

2006-03-29 Thread Benji York
should be used, 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 ___

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

2006-02-27 Thread Benji York
lt.aspx The express editions 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

Re: [Python-Dev] buildbot is all green

2006-02-20 Thread Benji York
ll practical 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 thu

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

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Benji York
horizontal space). 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-de

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Benji York
"builder" links. This only works in Firefox, also because of IE's 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

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@py

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

Re: [Python-Dev] locale and LC_NUMERIC

2006-01-09 Thread Benji York
> runner ? Sounds like a good use 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/pyth

Re: [Python-Dev] Active Objects in Python

2005-09-27 Thread Benji York
its name, but it's 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 ___

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

2005-08-30 Thread Benji York
ame, found, _ = pname.rpartition('.') line, _, _ = line.partition('#') Slicing: sep, port = host.partition(':')[1:] head, sep = path.rpartition('/')[:2] line = line.partition(';')[0] pname, found = pname.rpartition(

Re: [Python-Dev] Fwd: Distributed RCS

2005-08-15 Thread Benji York
ing that usage to sharing branches and such via bzr (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://mai

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

2005-08-07 Thread Benji York
roperty on the directory 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

Re: [Python-Dev] iter alternate form and *args and **kwargs (Was: Wishlist: dowhile)

2005-06-15 Thread Benji York
ow about 2.5's "partial": for chunk in iter(partial(f1.read, CHUNK_SIZE), ''): f2.write(chunk) -- 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] Merging PEP 310 and PEP 340-redux?

2005-05-12 Thread Benji York
the file object had these methods: def __enter__(self): return self def __exit__(self, *args): 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: