Re: [Python-Dev] Python 3000 PEP: Postfix type declarations

2007-04-01 Thread Johann C. Rocholl
Brilliant! On 4/1/07, Georg Brandl [EMAIL PROTECTED] wrote: def foo${LATIN SMALL LETTER LAMBDA WITH STROKE}$(x${DOUBLE-STRUCK CAPITAL C}$): return None${ZERO WIDTH NO-BREAK SPACE}$ This is still easy to read and makes the full power of type-annotated Python available to ASCII

Re: [Python-Dev] splitext('.cshrc')

2007-03-06 Thread Johann C. Rocholl
On 3/6/07, Martin v. Löwis [EMAIL PROTECTED] wrote: #1115886 complains that in the file name '.cshrc', the entire file name is treated as an extension, with no root. #1462106 contains a patch for that, changing the behavior so that there will always be a root file name (and no extension if

Re: [Python-Dev] splitext('.cshrc')

2007-03-06 Thread Johann C. Rocholl
On 3/6/07, Phillip J. Eby [EMAIL PROTECTED] wrote: It's *useful* to classify e.g. .svn directories or .*rc files by their extension I respectfully disagree. When trying to find directories named .svn or files named .bashrc, I do filename in ('.svn', '.bashrc') because I don't expect

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

2007-02-13 Thread Johann C. Rocholl
C. Rocholl ___ 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] That library reference, yet again

2006-08-31 Thread Johann C. Rocholl
What is the status of http://effbot.org/lib/ ? I think it's a step in the right direction. Is it still in progress? Can I have access to toolchain source code and/or conversion output? I would like to set up something like gotapi.com for the Python library reference, or help the gotapi people to

[Python-Dev] Add pure python PNG writer module to stdlib?

2006-06-10 Thread Johann C. Rocholl
I'm working on simple module to write PNG image files in pure python. Adding it to the standard library would be useful for people who want to create images on web server installations without gd and imlib, or on platforms where the netpbm tools are not easily available. Does anybody find this

Re: [Python-Dev] Add pure python PNG writer module to stdlib?

2006-06-10 Thread Johann C. Rocholl
Does anybody find this idea interesting? Yes, although I wouldn't want an interface taking in strings but something more like an iterator that returns each row which itself contains int triples. In other words more array-based than string based. I agree that arrays would be semantically