[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

[issue8416] python 2.6.5 documentation can't search

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

[issue8416] python 2.6.5 documentation can't search

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

[issue8416] python 2.6.5 documentation can't search

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

[issue8196] sqlit3.paramstyle reported as 'qmark'

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

[issue8196] sqlit3.paramstyle reported as 'qmark'

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

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

2010-03-14 Thread Santiago Gala
Changes by Santiago Gala : -- components: +Library (Lib) type: -> behavior ___ Python tracker <http://bugs.python.org/issue8138> ___ ___ Python-bugs-list mai

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

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

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

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

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

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

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

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

[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.pytho

[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 i

[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)$ fo

[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 @@

[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/py

[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 he

[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. (, line 1) as it should, so the problem appears in 2.* only. _