[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- assignee: - gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4890 ___ ___ Python-bugs-list

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Fixed on r69461, r69462, r69463 and r69464, thanks. Will be adding tests for Tkinter.Text.search for trunk and py3k only. -- resolution: - fixed status: open - closed ___ Python tracker

[issue4890] handling empty text search pattern in tkinter

2009-02-09 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I've added some tests for it on r69467 now. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4890 ___ ___

[issue4890] handling empty text search pattern in tkinter

2009-01-09 Thread Matthias Kievernagel
, Matthias Kievernagel mkiever/at/web/dot/de -- components: Tkinter files: text_search_pattern.py messages: 79459 nosy: mkiever severity: normal status: open title: handling empty text search pattern in tkinter versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7 Added file: http

[issue4890] handling empty text search pattern in tkinter

2009-01-09 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I don't know what I was thinking when I said that, the check you are doing in the patch is fine. And just to answer your next question: it would raise ValueError. Also, it would be good to add the other missing search switches. --

Re: Empty text

2007-07-10 Thread Nick Craig-Wood
Miles [EMAIL PROTECTED] wrote: On Jul 9, 4:30 am, Nick Craig-Wood [EMAIL PROTECTED] wrote: Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: On Sun, 08 Jul 2007 22:23:20 +0200, Jan Danielsson wrote: Firefox is very unhappy about the textarea not having separate opening and a

Re: Empty text

2007-07-10 Thread André
On Jul 8, 5:23 pm, Jan Danielsson [EMAIL PROTECTED] wrote: Hello all, I'm using mod_python+ElementTree to build XHTML pages. But I stumbled across this problem: def foo(req, desc = None): ... tr = ET.SubElement(tbl, tr) th = ET.SubElement(tr, th)

Re: Empty text

2007-07-10 Thread Jan Danielsson
André wrote: [---] I understand the opitmization ElementTree is performing; but it seems there are cases when it is not the proper thing to do. Is it possible to force ElementTree to output the XHTML code I need it to? I ran into the same problem and a workaround I found was to use

Re: Empty text

2007-07-09 Thread Nick Craig-Wood
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: On Sun, 08 Jul 2007 22:23:20 +0200, Jan Danielsson wrote: The problem is that this generates the following code: tr thDescription/th td textarea cols=64 name=desc rows=8 /

Re: Empty text

2007-07-09 Thread Miles
On Jul 9, 4:30 am, Nick Craig-Wood [EMAIL PROTECTED] wrote: Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: On Sun, 08 Jul 2007 22:23:20 +0200, Jan Danielsson wrote: Firefox is very unhappy about the textarea not having separate opening and a closing tags. i.e. I need this:

Empty text

2007-07-08 Thread Jan Danielsson
Hello all, I'm using mod_python+ElementTree to build XHTML pages. But I stumbled across this problem: def foo(req, desc = None): ... tr = ET.SubElement(tbl, tr) th = ET.SubElement(tr, th) th.text = Description td = ET.SubElement(tr, td) ta =

Re: Empty text

2007-07-08 Thread Marc 'BlackJack' Rintsch
On Sun, 08 Jul 2007 22:23:20 +0200, Jan Danielsson wrote: The problem is that this generates the following code: tr thDescription/th td textarea cols=64 name=desc rows=8 / /td /tr Firefox is very unhappy about