Santiago Gala added the comment:
works in python 3ka2 (svn as of today):
print(á)
á
print(bá)
SyntaxError: bytes can only contain ASCII literal characters.
(pyshell#5, line 1)
as it should, so the problem appears in 2.* only.
_
Tracker [EMAIL PROTECTED
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 header
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/pydoc.py
Index: Lib/pydoc.py
Santiago Gala sg...@apache.org 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 send
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 if the patch here
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.python.org/issue3206
New submission from Santiago Gala sg...@apache.org:
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
New submission from Santiago Gala sg...@apache.org:
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
New submission from Santiago Gala sg...@apache.org:
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
Changes by Santiago Gala sg...@apache.org:
--
components: +Library (Lib)
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8138
New submission from Santiago Gala sg...@apache.org:
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', 'named' or
'pyformat' over
Santiago Gala sg...@apache.org 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
New submission from Santiago Gala sg...@apache.org:
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
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
@@ -19,7
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)$ for i
Santiago Gala sg...@apache.org 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 sg...@apache.org 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
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
18 matches
Mail list logo