Santiago Gala added the comment:
Something like this should do it:
$ diff -u /usr/lib/python2.7/wsgiref/simple_server.py{~,}
--- /usr/lib/python2.7/wsgiref/simple_server.py~2014-10-02
23:32:47.718382895 +0200
+++ /usr/lib/python2.7/wsgiref/simple_server.py 2014-10-02 14:36:10.662220865
Santiago Gala added the comment:
Still http://docs.python.org/release/2.6.6/search.html?q=regular+expression
works, while
http://docs.python.org/release/2.6.5/search.html?q=regular+expression
fails, and http://docs.python.org/release/2.6.5/searchindex.js gives a
404, while http
Santiago Gala added the comment:
I got this trying to reply:
This is the mail system at host psf.upfronthosting.co.za.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please se
New submission from Santiago Gala :
http://docs.python.org/release/2.6.5/search.html?q=regular+expression
fails. It fails because
http://docs.python.org/release/2.6.5/searchindex.js
returns 404 NOT FOUND
There are really two bugs here:
* that the file is not there, and
* that the page gives
Santiago Gala added the comment:
I don't think they are equally clear, at least from the point of view of the
code written towards the API. I think that
execute("UPDATE authors set name = ?, email = ?, comment = ? WHERE id = ?",
(form.name, form.email, form.text, form.id))
is
New submission from Santiago Gala :
>>> import sqlite3
>>> sqlite3.paramstyle
'qmark'
The documentation claims that sqlite3 accepts 'named' paramstyle, and
:PEP:`249` says in footnote 2:
Module implementors should prefer 'numeric',
Changes by Santiago Gala :
--
components: +Library (Lib)
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue8138>
___
___
Python-bugs-list mai
New submission from Santiago Gala :
In python 2.6, a server created with wsgiref.simple_server.make_server will
claim to be multithreaded and multiprocess through it wsgi environ. See
wsgi.multithread in the browser page after launching
$ python /usr/lib/python2.6/wsgiref/simple_server.py
Santiago Gala added the comment:
Updating the components as the error surfaces in the compile builtin.
the compile builtin works when given unicode, but fails when using a
utf8 (local input encoding) string.
Rather than adding a "coding" string to compile, my guess is that
compile
New submission from Santiago Gala :
map and filter don't return lists anymore, so wrapping them in list() in
the examples will make the real output consistent with what is seen in
the doc.
--
assignee: georg.brandl
components: Documentation
files: 0001-Make-examples-consistent-wit
New submission from Santiago Gala :
references to reload as builtin or dict.keys as returning a list, and
the use of the .sort method, all gone in 3.X
--
assignee: georg.brandl
components: Documentation
files: tutorial.patch
keywords: patch
messages: 77843
nosy: georg.brandl, sgala
Santiago Gala <[EMAIL PROTECTED]> added the comment:
oops, there is a proper code patch in issue4449 , and the documentation
is right.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Santiago Gala <[EMAIL PROTECTED]> added the comment:
Note that if the error is in the documentation semantics, and not in the
implementation, then the benchmark code in the documentation is also
broken, and should be change to not use lock=True/False respectively...
I'm not sure i
Santiago Gala <[EMAIL PROTECTED]> added the comment:
Notice the typo is still in a number of branches/tags (I know, tags
should be static, but nothing impedes committing into a subversion tag
once it is created, so I quote for reference):
[EMAIL PROTECTED] ~/newcode/python.git (py3k)$ fo
New submission from Santiago Gala <[EMAIL PROTECTED]>:
file Include/pymath.h has the typo s/doube/double/, hidden by the fact
that any sane OS defines copysign:
diff --git a/Include/pymath.h b/Include/pymath.h
index a3735c2..7cea9ae 100644
--- a/Include/pymath.h
+++ b/Include/pymath.h
@@
Santiago Gala added the comment:
El sáb, 19-01-2008 a las 20:44 +, Georg Brandl escribió:
> Georg Brandl added the comment:
>
> Fixed in r60100.
>
If the problem with the output of filter is solved at the call site I'd
suggest the second hunk of:
$ svn diff Lib/py
New submission from Santiago Gala:
Basically I'm finding to simple errors:
* an iterable where it expects a list, I solved it using a simple list
comprehension on the original iterable
* it tries to write a string to the socket, I used "UTF-8" both in the
Content-Type he
Santiago Gala added the comment:
works in python 3ka2 (svn as of today):
>>> print("á")
á
>>> print(b"á")
SyntaxError: bytes can only contain ASCII literal characters.
(, line 1)
as it should, so the problem appears in 2.* only.
_
18 matches
Mail list logo