[issue1542677] IDLE shell doesn't accept non ascii char input

2008-01-14 Thread Santiago Gala
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

[issue1867] patch for pydoc to work in py3k

2008-01-18 Thread Santiago Gala
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

[issue1867] patch for pydoc to work in py3k

2008-01-21 Thread Santiago Gala
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

[issue8416] python 2.6.5 documentation can't search

2010-08-05 Thread Santiago Gala
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

[issue3206] Multiprocessing Array and sharedctypes.Array error in docs/implementation

2008-12-06 Thread Santiago Gala
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

[issue3206] Multiprocessing Array and sharedctypes.Array error in docs/implementation

2008-12-06 Thread Santiago Gala
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

[issue4667] Patch with a couple of 2.0isms in tutorial

2008-12-14 Thread Santiago Gala
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

[issue4668] examples in the functional howto are not consistent with 3.X behavior

2008-12-14 Thread Santiago Gala
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

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2010-03-14 Thread Santiago Gala
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

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2010-03-14 Thread Santiago Gala
Changes by Santiago Gala sg...@apache.org: -- components: +Library (Lib) type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8138

[issue8196] sqlit3.paramstyle reported as 'qmark'

2010-03-21 Thread Santiago Gala
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

[issue8196] sqlit3.paramstyle reported as 'qmark'

2010-03-22 Thread Santiago Gala
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

[issue8416] python 2.6.5 documentation can't search

2010-04-16 Thread Santiago Gala
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

[issue3603] trivial typo in Include/pymath.h

2008-08-19 Thread Santiago Gala
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

[issue3603] trivial typo in Include/pymath.h

2008-08-20 Thread Santiago Gala
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

[issue8416] python 2.6.5 documentation can't search

2012-01-03 Thread Santiago Gala
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

[issue1542677] IDLE shell gives different len() of unicode strings compared to Python shell

2009-04-12 Thread Santiago Gala
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

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2014-10-02 Thread Santiago Gala
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