Re: [Python-Dev] [Python-3000] Python 3000 Status Update (Long!)

2007-06-19 Thread Martin v. Löwis
>> What would a registry of tranformation algorithms buy us compared to a >> module with transformation functions? > > Easier registering of custom transformations. Without a registry, you'd have > to monkey-patch a module. Or users would have to invoke the module directly. I think a convention

Re: [Python-Dev] Inspect Patch for IronPython (and Jython?) Compatibility

2007-06-19 Thread Michael Foord
Guido van Rossum wrote: > Let's definitely add this to the trunk (2.6). It sounds fine to me as > a bugfix too, since (from your description) it doesn't change the > behavior at all in CPython. Great. It looks to me like the patch will apply fine against release25-maint. No behaviour change. Tha

Re: [Python-Dev] Multi-line comments - a case for PEP 3099?

2007-06-19 Thread Guido van Rossum
On 6/19/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > Guido van Rossum schrieb: > > On 6/19/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > > > >> we got another feature request for multi-line comments. > >> > >> While it is nice to comment out multiple lines at once, every editor > >> that deserves

Re: [Python-Dev] Multi-line comments - a case for PEP 3099?

2007-06-19 Thread Georg Brandl
Guido van Rossum schrieb: > On 6/19/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > >> we got another feature request for multi-line comments. >> >> While it is nice to comment out multiple lines at once, every editor >> that deserves that name can add a '#' to multiple lines. >> >> And there's alwa

Re: [Python-Dev] [Python-3000] Python 3000 Status Update (Long!)

2007-06-19 Thread Georg Brandl
Walter Dörwald schrieb: If a PEP is called for, I'd be happy to at least co-author it. >>> Codecs are a major exception to Guido's law: Never have a parameter >>> whose value switches between completely unrelated algorithms. >> >> I don't think that applies here. This is more like __import__

Re: [Python-Dev] Inspect Patch for IronPython (and Jython?) Compatibility

2007-06-19 Thread Guido van Rossum
Let's definitely add this to the trunk (2.6). It sounds fine to me as a bugfix too, since (from your description) it doesn't change the behavior at all in CPython. I won't have the time to submit this, but I'm sure there are others here who do. --Guido On 6/19/07, Michael Foord <[EMAIL PROTECTED

Re: [Python-Dev] Issues with PEP 3101 (string formatting)

2007-06-19 Thread Guido van Rossum
Those are valid concerns. I'm cross-posting this to the python-3000 list in the hope that the PEP's author and defendents can respond. I'm sure we can work something out. Please keep further discussion on the [EMAIL PROTECTED] list. --Guido On 6/19/07, Chris McDonough <[EMAIL PROTECTED]> wrote:

Re: [Python-Dev] Multi-line comments - a case for PEP 3099?

2007-06-19 Thread Guido van Rossum
On 6/19/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > we got another feature request for multi-line comments. > > While it is nice to comment out multiple lines at once, every editor > that deserves that name can add a '#' to multiple lines. > > And there's always "if 0" and triple-quoted strings.

Re: [Python-Dev] [Python-3000] Python 3000 Status Update (Long!)

2007-06-19 Thread Walter Dörwald
Georg Brandl wrote: > Walter Dörwald schrieb: >> Georg Brandl wrote: >>> Nick Coghlan schrieb: Georg Brandl wrote: > Guido van Rossum schrieb: >> I've written up a comprehensive status report on Python 3000. Please >> read: >> >> http://www.artima.com/weblogs/viewpost.jsp?

[Python-Dev] Issues with PEP 3101 (string formatting)

2007-06-19 Thread Chris McDonough
Wrt http://www.python.org/dev/peps/pep-3101/ PEP 3101 says Py3K should allow item and attribute access syntax within string templating expressions but "to limit potential security issues", access to underscore prefixed names within attribute/item access expressions will be disallowed. I am

[Python-Dev] Calling Methods from Pythons C API with Keywords

2007-06-19 Thread Campbell Barton
Hey Guys, My first post on this list so I hope this is the right place to post and relevant. Im rewriting parts of the Blender3D python API that has got a bit old and needs an update. Im making a PyList subtype with the C/Python API, this involves intercepting calls to standard list methods to ma

Re: [Python-Dev] [Python-3000] Python 3000 Status Update (Long!)

2007-06-19 Thread M.-A. Lemburg
On 2007-06-19 14:40, Walter Dörwald wrote: > Georg Brandl wrote: A minuscule nit: the rot13 codec has no library equivalent, so it won't be supported anymore :) >>> Given that there are valid use cases for bytes-to-bytes translations, >>> and a common API for them would be nice, does it

Re: [Python-Dev] [Python-3000] Python 3000 Status Update (Long!)

2007-06-19 Thread Walter Dörwald
Georg Brandl wrote: > Nick Coghlan schrieb: >> Georg Brandl wrote: >>> Guido van Rossum schrieb: I've written up a comprehensive status report on Python 3000. Please read: http://www.artima.com/weblogs/viewpost.jsp?thread=208549 >>> Thank you! Now I have something to show to interest

[Python-Dev] Multi-line comments - a case for PEP 3099?

2007-06-19 Thread Georg Brandl
Hi, we got another feature request for multi-line comments. While it is nice to comment out multiple lines at once, every editor that deserves that name can add a '#' to multiple lines. And there's always "if 0" and triple-quoted strings... Georg ___

[Python-Dev] Inspect Patch for IronPython (and Jython?) Compatibility

2007-06-19 Thread Michael Foord
Hello all, I've just submitted a patch on sourceforge to make inspect compatible with IronPython (and Jython I think). This patch originally comes from the IPCE ( http://fepy.sf.net ) project by Seo Sanghyeon. It is a trivial change really. The patch is number 1739696 http://sourceforge.net/tr

Re: [Python-Dev] Python 3000 Status Update (Long!)

2007-06-19 Thread Nick Coghlan
Georg Brandl wrote: > Guido van Rossum schrieb: >> I've written up a comprehensive status report on Python 3000. Please read: >> >> http://www.artima.com/weblogs/viewpost.jsp?thread=208549 > > Thank you! Now I have something to show to interested people except "read > the PEPs". > > A minuscule n

Re: [Python-Dev] Python 3000 Status Update (Long!)

2007-06-19 Thread Georg Brandl
Guido van Rossum schrieb: > I've written up a comprehensive status report on Python 3000. Please read: > > http://www.artima.com/weblogs/viewpost.jsp?thread=208549 Thank you! Now I have something to show to interested people except "read the PEPs". A minuscule nit: the rot13 codec has no library