Is there any thought to extending escape to escape / unescape to by
default handle characters other than <, >, and &? At a minimum it
should handle arbitrary &xxx; values. Ideally, it would also handle
common other symbolic names besides < > etc.
HTML from common web sites such as nytimes.c
At 11:56 PM -0400 5/10/08, Fred Drake wrote:
>On May 10, 2008, at 11:49 PM, Guido van Rossum wrote:
>> Works for me. The other thing I always use from cgi is escape() --
>> will that be available somewhere else too?
>
>
>xml.sax.saxutils.escape() would be an appropriate replacement, though
>the loc
On Sun, May 11, 2008 at 7:02 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 6:50 PM, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
>> On Sun, May 11, 2008 at 06:39:02PM -0700, Brett Cannon wrote:
>>> cgi.escape() to the html package somewhere (either 'html',
>>> 'html.parser'
On Sun, May 11, 2008 at 6:50 PM, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 06:39:02PM -0700, Brett Cannon wrote:
>> cgi.escape() to the html package somewhere (either 'html',
>> 'html.parser' which is currently HTMLParser, or some new module;
>
> html.parser.escape() see
On Sun, May 11, 2008 at 06:39:02PM -0700, Brett Cannon wrote:
> cgi.escape() to the html package somewhere (either 'html',
> 'html.parser' which is currently HTMLParser, or some new module;
html.parser.escape() seems a bit backward; html.escape() fits the best!
Oleg.
--
Oleg Broytmann
On Sun, May 11, 2008 at 6:35 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 6:34 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
>> On Sun, May 11, 2008 at 6:23 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>>> On Sun, May 11, 2008 at 5:01 PM, Brett Cannon <[EMAIL PROTECTED
On Sun, May 11, 2008 at 6:34 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 6:23 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>> On Sun, May 11, 2008 at 5:01 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
>>> On Sun, May 11, 2008 at 4:43 PM, Guido van Rossum <[EMAIL PROTECTED
On Sun, May 11, 2008 at 6:23 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 5:01 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
>> On Sun, May 11, 2008 at 4:43 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>>> On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <[EMAIL PROTECTE
On Sun, May 11, 2008 at 5:01 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 4:43 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>> On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <[EMAIL PROTECTED]> wrote:
>>> Fred Drake schrieb:
On May 10, 2008, at 11:49 PM, Guido
On Sun, May 11, 2008 at 4:43 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <[EMAIL PROTECTED]> wrote:
>> Fred Drake schrieb:
>>>
>>> On May 10, 2008, at 11:49 PM, Guido van Rossum wrote:
Works for me. The other thing I always use from cgi
On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <[EMAIL PROTECTED]> wrote:
> Fred Drake schrieb:
>>
>> On May 10, 2008, at 11:49 PM, Guido van Rossum wrote:
>>>
>>> Works for me. The other thing I always use from cgi is escape() --
>>> will that be available somewhere else too?
>>
>>
>> xml.sax.saxu
-Brett [from his iPod touch]
On 10-May-08, at 20:49, "Guido van Rossum" <[EMAIL PROTECTED]> wrote:
Works for me. The other thing I always use from cgi is escape() --
will that be available somewhere else too?
It can be. =)
-Brett
On Sat, May 10, 2008 at 8:30 PM, Brett Cannon <[EMAIL P
Fred Drake schrieb:
On May 10, 2008, at 11:49 PM, Guido van Rossum wrote:
Works for me. The other thing I always use from cgi is escape() --
will that be available somewhere else too?
xml.sax.saxutils.escape() would be an appropriate replacement, though
the location is a little funky.
Ide
On May 10, 2008, at 11:49 PM, Guido van Rossum wrote:
Works for me. The other thing I always use from cgi is escape() --
will that be available somewhere else too?
xml.sax.saxutils.escape() would be an appropriate replacement, though
the location is a little funky.
-Fred
--
Fred Drake
Works for me. The other thing I always use from cgi is escape() --
will that be available somewhere else too?
On Sat, May 10, 2008 at 8:30 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> I just realized that PEP 3108 was missing one proposal from the stdlib
> SIG (originally proposed by Facundo Bati
15 matches
Mail list logo