Pablo Mouzo added the comment:
I'm attaching a patch against py3k trunk that moves the function to the html
module and fixes the documentation as Brett asked for. It also changes all the
occurrences of cgi.escape I found for html.escape .
--
keywords: +patch
nosy: +pablomouzo
Pablo Mouzo added the comment:
Thanks Georg for the review, I'm attaching a new patch with those problems
fixed.
The new patch escapes ' when the quote parameter is true, and / always.
--
Added file: http://bugs.python.org/file18619/issu
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file18612/issue2830.diff
___
Python tracker
<http://bugs.python.org/issue2830>
___
___
Python-bugs-list m
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file18619/issue2830.diff
___
Python tracker
<http://bugs.python.org/issue2830>
___
___
Python-bugs-list m
Pablo Mouzo added the comment:
Sorry about that, I have no idea how I managed to generate that diff.
I'm attaching the correct patch.
About the slash, there's a link in #9061 that recommends to escape the slash
too because it's used to close tags in HTML. Is there any chanc
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file18636/issue2830.diff
___
Python tracker
<http://bugs.python.org/issue2830>
___
___
Python-bugs-list m
Pablo Mouzo added the comment:
I'm attaching a new patch without escaping the slash.
--
Added file: http://bugs.python.org/file18667/issue2830.diff
___
Python tracker
<http://bugs.python.org/i
Pablo Mouzo added the comment:
I'm attaching a new patch with the documentation updated.
I agree with Georg that it'd be better to escape everything by default. Are
there any good reasons not to?
--
Added file: http://bugs.python.org/file18677/issu
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file18667/issue2830.diff
___
Python tracker
<http://bugs.python.org/issue2830>
___
___
Python-bugs-list m
Pablo Mouzo added the comment:
I'm attaching a draft patch for patch. Éric, is this patch implementing patch
as you expected?
This patch is not finished because there are many cases where patch can leave
patched objects if it fails to unpatch.
--
keywords: +patch
nosy: +pablo
Pablo Mouzo added the comment:
I'm attaching a correction to sqlite3 documentation, removing all 'buffer'
references and setting bytes as BLOB equivalent.
--
keywords: +patch
nosy: +pablomouzo
Added file: http://bugs.python.org/file15977/issue7723
Changes by Pablo Mouzo :
--
nosy: +pablomouzo
___
Python tracker
<http://bugs.python.org/issue6045>
___
___
Python-bugs-list mailing list
Unsubscribe:
Pablo Mouzo added the comment:
The patch changes the default to True, and updates the tests and the docs to
reflect this.
--
keywords: +patch
nosy: +pablomouzo
Added file: http://bugs.python.org/file16377/issue7834.diff
___
Python tracker
<h
Changes by Pablo Mouzo :
--
nosy: +pablomouzo
___
Python tracker
<http://bugs.python.org/issue7300>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Pablo Mouzo :
FPT class doesn't support the rest parameter in storbinary method.
--
components: None
messages: 92287
nosy: pablomouzo
severity: normal
status: open
title: ftplib rest support for storbinary
type: feature request
versions: Pytho
Pablo Mouzo added the comment:
I attached a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file14841/issue6845.patch
___
Python tracker
<http://bugs.python.org/issue6
Changes by Pablo Mouzo :
--
nosy: +facundobatista
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file14841/issue6845.patch
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list m
Pablo Mouzo added the comment:
I'm changing the title to something clearer (I hope).
The patch I submitted adds the retr optional parameter to the storbinary
method.
--
title: ftplib rest support for storbinary -> Restart support in binary upload
for ftplib
Added fi
Pablo Mouzo added the comment:
I attached some tests.
--
Added file: http://bugs.python.org/file15027/issue6845.diff
___
Python tracker
<http://bugs.python.org/issue6
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file14876/issue6845.patch
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list m
Changes by Pablo Mouzo :
--
nosy: +gregory.p.smith
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list mailing list
Unsubscribe:
Pablo Mouzo added the comment:
I think that a non-digit REST argument is an error. But I've tested some
ftp servers and they don't return an error code, they just set REST to 0
and return some OK code. Finally, ftplib doesn't check that, so if
someone accidentally passes a non-di
Pablo Mouzo added the comment:
Here is a new patch. It works with both ints and strings.
I'm working on a patch for py3k.
--
Added file: http://bugs.python.org/file15302/issue6845-trunk.diff
___
Python tracker
<http://bugs.python.org/i
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file15027/issue6845.diff
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list m
Changes by Pablo Mouzo :
Removed file: http://bugs.python.org/file15302/issue6845-trunk.diff
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bug
Pablo Mouzo added the comment:
Thanks Antoine, I'm attaching both patches. Now the test isn't failing.
--
Added file: http://bugs.python.org/file15401/issue6845-trunk.diff
___
Python tracker
<http://bugs.python.
Changes by Pablo Mouzo :
Added file: http://bugs.python.org/file15402/issue6845-py3k.diff
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list m
Pablo Mouzo added the comment:
This patch solves the problem with the VRFY command, but I'm still
wondering if this happens with other commands too.
--
keywords: +patch
nosy: +pablomouzo
Added file: http://bugs.python.org/file15674/issue7484-trunk
Changes by Pablo Mouzo :
Added file: http://bugs.python.org/file15675/issue7484-py3k.diff
___
Python tracker
<http://bugs.python.org/issue7484>
___
___
Python-bugs-list m
Pablo Mouzo added the comment:
The problem here is that the headers are not updated if they already
exists. The solution is quite simple but breaks the tests because it
"clobbers the existing headers".
You can do this:
...
req.add_data(some_data)
req.add_unredirected_header('
31 matches
Mail list logo