[issue6673] Py3.1 hangs in coroutine and eats up all memory

2009-08-09 Thread Georg Brandl
Georg Brandl added the comment: No idea, actually. I just wanted to point out that it is nothing specific to Python 3. -- ___ Python tracker ___ _

[issue6673] Py3.1 hangs in coroutine and eats up all memory

2009-08-09 Thread Stefan Behnel
Stefan Behnel added the comment: Hmm, ok, so this is actually an anticipated bug? And I assume this has been discussed before and was decided to get solved by doing... what? Is it documented somewhere why this happens and what one must avoid to not run into this kind of pitfall? -- __

[issue6126] Python 3 pdb: shows internal code, breakpoints don't work

2009-08-09 Thread Georg Brandl
Georg Brandl added the comment: Attached patch confirmedly fixes this. Will commit as soon as svn is back up. -- assignee: -> georg.brandl keywords: +patch nosy: +georg.brandl Added file: http://bugs.python.org/file14679/pdb-fix.diff ___ Python tra

[issue6126] Python 3 pdb: shows internal code, breakpoints don't work

2009-08-09 Thread Alex Grönholm
Alex Grönholm added the comment: Why has this not been resolved yet? Not having a working debugger is a severe hindrance to the acceptance of Py3k. -- nosy: +agronholm ___ Python tracker ___

[issue6673] Py3.1 hangs in coroutine and eats up all memory

2009-08-09 Thread Georg Brandl
Georg Brandl added the comment: Try list(genexp) instead of [listcomp] in 2.x and see what happens... -- nosy: +georg.brandl ___ Python tracker ___ __

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-09 Thread Senthil
Senthil added the comment: On Sun, Aug 09, 2009 at 03:40:47PM +, Nir Soffer wrote: > for query string. This will break exiting code that assume the default > safe parameters. > > Other characters may be unsafe in other parts of the url - I did not I agree with your comments and I had simil

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-09 Thread Nir Soffer
Nir Soffer added the comment: Here is one example of code that would break if the safe parameter is changed in a careless way mentioned here (look for url_encode): http://dev.pocoo.org/projects/werkzeug/browser/werkzeug/urls.py#L112 I'm sure we can find similar code in every web application.

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-09 Thread Nir Soffer
Nir Soffer added the comment: Senthil said: > The way to handle this issue would be add these characters > '%/:=&?~#+!$,;'@()*[]' to always_safe list. This is wrong - for example, '&=?' are NOT safe when quoting parameters for query string. This will break exiting code that assume the default

[issue6673] Py3.1 hangs in coroutine and eats up all memory

2009-08-09 Thread Stefan Behnel
New submission from Stefan Behnel : Here's a simple coroutine that works perfectly in Python 2.6 but seems to let Py3.1 enter an infinite loop that ends up eating all memory. - def printing_sink(): "A simple sink that prints the received values." while True: print

[issue6672] Add Mingw recognition to pyport.h to allow building extensions

2009-08-09 Thread Jan Schlüter
New submission from Jan Schlüter : This addresses missing statements for recognizing the Mingw compiler in pyport.h, needed to build several extension modules on Windows using Mingw. I will first explain the background, then indicate what needs to be changed and end with some pointers to "rela

[issue6663] re.findall does not always return a list of strings

2009-08-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6671] webbrowser.py doesn't respect xfce default browser

2009-08-09 Thread Aliaksandr Stelmachonak
New submission from Aliaksandr Stelmachonak : Currently webbrowser.py only trying to use GNOME and KDE default browser setting. This patch adds launching Xfce default browser if xfce environment detected. -- components: Library (Lib) files: webbrowser.py.patch keywords: patch messages: