[issue1721890] IDLE hangs in popup method completion

2007-08-23 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

fixed at 53042.

--
priority: high -> normal
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1721890>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser

New submission from Kurt B. Kaiser:

The control-spacebar binding is used in IDLE to 
force open the completions window.  It's causing 
IDLE to exit with a utf8 decode error.  Attached 
is 
a Tkinter cut-down 
exhibiting the problem and a patch.

The cutdown runs ok on 2.6 but not on py3k because 
the latter uses PyUnicode_FromString on all the 
arguments and errs out when it encounters a 
character outside the utf-8 range.

Strangely, on my system, control-spacebar is 
sending a two byte 
string, C0E8 via the %A parameter.  Control-2 
does 
the same.  Other keys with combinations of 
modifier 
keys send one byte.

Linux trader 2.6.18-ARCH #1 SMP PREEMPT Sun Nov 
19 
09:14:35 CET 2006 i686 Intel(R) Pentium(R) 4 CPU 
2.40GHz GenuineIntel GNU/Linux

Can the problem be confirmed?

Using PyUnicode_FromUnicode on %A works because 
the 
unicode string is copied instead of decoded, and 
that parameter is supposed to be unicode, in any 
case.

The patch fixes the problem on my system but 
should 
be reviewed, especially whether the cast in the 
call 
to PyUnicode_FromUnicode is suitably cross-
platform.

Assigning to Neal since he's working a lot of 
Unicode issues right now.  I can check it in if I 
get approval.

--
assignee: nnorwitz
components: Tkinter
files: tkintertest.py
keywords: patch, py3k
messages: 55311
nosy: kbk
severity: normal
status: open
title: Tkinter binding involving Control-spacebar raises unicode error
versions: Python 3.0

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1028>
__

tkintertest.py
Description: application/python
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Heh, I see we have the same damn problem SF had: when a comment is 
edited, 
it doesn't re-wrap properly when submitted.  You have to remove the 
returns 
manually after editing.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1028>
__Index: Modules/_tkinter.c
===
--- Modules/_tkinter.c  (revision 57515)
+++ Modules/_tkinter.c  (working copy)
@@ -1897,7 +1897,7 @@
 PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
 {
PythonCmd_ClientData *data = (PythonCmd_ClientData *)clientData;
-   PyObject *self, *func, *arg, *res;
+   PyObject *self, *func, *arg, *res, *s;
int i, rv;
Tcl_Obj *tres;
 
@@ -1914,7 +1914,12 @@
return PythonCmd_Error(interp);
 
for (i = 0; i < (argc - 1); i++) {
-   PyObject *s = PyUnicode_FromString(argv[i + 1]);
+   if (11 == (i + 1)) {  /* the %A arg is the unicode char */
+   s = PyUnicode_FromUnicode((Py_UNICODE *) argv[i + 1], 
1);
+   }
+   else {
+   s = PyUnicode_FromString(argv[i + 1]);
+   }
if (!s || PyTuple_SetItem(arg, i, s)) {
Py_DECREF(arg);
return PythonCmd_Error(interp);
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Nope, you have to make sure not to type too wide.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1028>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1028>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Well, maybe someday Tk will send a multibyte unicode
character.  Update the patch.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1028>
__Index: Modules/_tkinter.c
===
--- Modules/_tkinter.c  (revision 57515)
+++ Modules/_tkinter.c  (working copy)
@@ -1897,7 +1897,7 @@
 PythonCmd(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
 {
PythonCmd_ClientData *data = (PythonCmd_ClientData *)clientData;
-   PyObject *self, *func, *arg, *res;
+   PyObject *self, *func, *arg, *res, *s;
int i, rv;
Tcl_Obj *tres;
 
@@ -1914,7 +1914,13 @@
return PythonCmd_Error(interp);
 
for (i = 0; i < (argc - 1); i++) {
-   PyObject *s = PyUnicode_FromString(argv[i + 1]);
+   if (11 == (i + 1)) {  /* the %A arg is the unicode char */
+   char *a = argv[i + 1];
+   s = PyUnicode_FromUnicode((Py_UNICODE *) a, strlen(a));
+   }
+   else {
+   s = PyUnicode_FromString(argv[i + 1]);
+   }
if (!s || PyTuple_SetItem(arg, i, s)) {
Py_DECREF(arg);
return PythonCmd_Error(interp);
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2007-08-26 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

OK, thanks for the review! I suppose Tk is sending a bad string.
r57540

--
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1028>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-09-11 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
assignee:  -> kbk
keywords: +py3k
nosy: +kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1130>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1718043] textView code cleanup

2007-10-03 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58309.  Thanks for the Patch!

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1718043>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1730217] IDLE - configDialog layout cleanup

2007-10-03 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58310.  Thanks for the nice patch!  Looks better!

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1730217>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1529018] Move firewall warning to "about" menu

2007-10-03 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

I think it would be better if a dialog popped up (before
trying to set up the subprocess!) with the warning.  It 
should have a checkbox, "Don't show this again." And it
should be something we can reuse in other situations.

Store a tag in the user's .idlerc if he doesn't want to see it 
again

--
resolution:  -> rejected

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1529018>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1225] IDLE - Fix: pressing Ctrl+C while printing exception -> stuck

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58396
Thanks for the patch!

--
assignee:  -> kbk
priority:  -> normal
resolution:  -> accepted
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1225>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58398.  Thanks for the report.

Solution a little different than Tal Einat's.  Please test.

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1130>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1775388] Display CallTips for classes using metaclasses.

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Appears this was fixed at r55818, though with a typo. Module
heavily rewritten since then to use the inspect module.  The
example below now works without further changes.

--
resolution:  -> out of date
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1775388>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1713252] character set in Japanese on Ubuntu distribution

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

absent further response, closing as 
unreproducible.

--
assignee:  -> kbk
keywords: +patch
nosy: +kbk
resolution: fixed -> works for me
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1713252>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1710718] Ctrl+Shift block marking by words

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Ctrl-
right 
does jump 
to the 
ends.  
Behaviour 
is
slightly 
strange, 
but 
useful.  
Let Tk 
handle it.

--
keywords: +patch
resolution:  -> works for me
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1710718>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1691411] Duplicate "preferences" menu item/Tk Aqua 8.4.14

2007-10-09 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
assignee:  -> ronaldoussoren
nosy: +ronaldoussoren

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1691411>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1691411] Duplicate "preferences" menu item/Tk Aqua 8.4.14

2007-10-09 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
keywords: +patch

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1691411>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1725576] IDLE - cursor color configuration bug

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58403.  Thanks for the patch!

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1725576>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1659326] Minor pasting patch

2007-10-09 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58404. Thanks for the patch!

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1659326>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-10-14 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

I caught the first part, but not the second using GNU/Linux.

I think that eol_convention can be a class variable,
since os.linesep isn't going to change from file to file.
Thanks for the report!
r58465.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1130>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1253] IDLE - Percolator overhaul

2007-10-15 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Thanks for the patch, it will definitely be applied once I
finish reviewing it!  Good job splitting off TkTextPercolator
and inheriting from Delegator.

--
assignee:  -> kbk
priority:  -> normal

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1253>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1253] IDLE - Percolator overhaul

2007-10-22 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

What change was required to allow Squeezer and ShellLogger
to co-exist?

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1253>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-24 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Despite your explanation, I don't understand what is being
accomplished here.  Delegates are not intended to be callable.
They have methods, e.g. insert, which are callable, and the
insert call is propagated down the chain by calls like
(from ColorDelegator):

def insert(self, index, chars, tags=None):
index = self.index(index)
self.delegate.insert(index, chars, tags)
self.notify_range(index, index + "+%dc" % len(chars))

IMHO it's an incorrect usage of the Delegator mixin to
affect the callable nature of the class to which it's being added.

Also, this __call__ method, if actually used, propagates to the
end of the Delegator chain and calls the function at the end,
(assuming it is a function).  Or it will skip non-callable
Delegators and stop at the first callable one.

I doubt this is what was intended, and people trying to understand the code 
will be further confused, it seems to me.

Try adding delegator.txt (below) to your Delegator.py and running the
module!

I think this patch increases the complexity and obscurity of the
Delegator/Percolator/WidgetRedirector code, rather than improving
it.  Apparently you want to sometimes call a chain of methods (as
in current usage) and sometimes call a chain of functions. The
semantic overload, which was bad enough already, is too great.

If Squeezer and ShellLogger require this change, then I'd
suggest changing them to match current Percolator usage, instead.
Currently I don't see a Delegator being used in Squeezer.  Could
you be more specific about why the change is needed for those
two extensions?

Added file: http://bugs.python.org/file8604/delegator.txt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__class Hooker(Delegator):

def __init__(self):
Delegator.__init__(self)


class Interceptor(Delegator):

def __init__(self):
Delegator.__init__(self)

def fcn():
print "Fcn at base"

if __name__ == "__main__":
bottom = Hooker()
bottom.setdelegate(fcn)
middle = Hooker()
middle.setdelegate(bottom)
top = Interceptor()
top.setdelegate(middle)
print "top.delegate: ", top.delegate
print "calling top(): ",
top()
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

First, I'm changing my mind about Percolator inheriting from
Delegator.  A Percolator acts as a container for Delegators:
it "hasa" (chain) of them.  But it fails "isa" Delegator.
It has no use for the Delegator's caching, and chaining
Percolators doesn't make sense.  Inheriting from Delegator
just confuses things further, it seems to me.

Delegator is just a mixin implementing a node in the chain.

I do support splitting TkTextPercolator off Percolator.

> 3) make Delegator able to delegate direct calls

Except that the Delegator mixin doesn't know to what function
to delegate the call.  Delegating a function call down the nodes
doesn't do anything, except possibly error out if the bottom
object isn't callable, as in delegator.txt.

> IMO, the nice thing about the Delegator class is that you can
> use an instance just as if it were the underlying object, transparently.
> The major exception from this behavior was that calling a Delegator
> never works, even if the underlying object is callable.

But it does work, if the filter that is using the Delegator mixin has
a __call__ method.  See delegator2.txt above.  Note that the Delegator
__call__ method is removed.  You have to override the latter anyway
if you want to run some code in the filter.  Do you have some 
reason for mixing callable and non-callable filter instances in the
percolator chain?

I can see adding a __call__ method to Percolator, which would call
self.top().  Then each instance in the chain would have a __call__
to appropriate code.

We have two goals: solve your specific requirement of being able to
replace a method with a percolator, and increasing the clarity of the
existing WidgetRedirector/Delegator/Percolator code.

Yes, a Percolator already has semantic overload.  Right now, there are
two ways to access the chain:
1. Since the delegate link is exposed, filters can directly call
   specific methods further down the chain, e.g. self.delegate.index()
2. The caching and __getattr__() allows a "delegator" to call
   unimplemented methods; they will be looked up on the chain.  This
   allows ColorDelegator to access its Text instance's methods without
   having been passed a reference to the instance, as you noted.
   Whether this adds or detracts from the clarity of the code is
   debatable.  Once you understand how it works, it's not a problem,
   but it would be for people new to the code.  Further, it's fragile,
   since the first method with the correct name will be called.

Adding a __call__() method to Delegator doesn't seem to do anything
that can't be accomplished better by adding it to the class
implementing the filter.  Why add complexity prematurely?

--
assignee:  -> kbk
priority:  -> normal
Added file: http://bugs.python.org/file8635/delegator2.txt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__##
##def __call__(self, *args, **kw):
##return self.delegate(*args, **kw)

class Hooker(Delegator):

def __init__(self, name):
Delegator.__init__(self)
self.name = name

def my_fcn(self, caller):
print "Hooker %s called via %s" % (self.name, caller)

def __call__(self, *args, **kw):
self.my_fcn(*args)
self.delegate(*args, **kw)


class Interceptor(Delegator):

def __init__(self, name):
Delegator.__init__(self)
self.name = name

def my_fcn(self, caller):
print "Interceptor %s called via %s" % (self.name, caller)

def __call__(self, *args, **kw):
self.my_fcn(*args)
#self.delegate(*args, **kw) # uncomment to propagate

def fcn(caller):
print "Fcn at base called via %s" % caller

if __name__ == "__main__":
bottom = Hooker("bottom")
bottom.setdelegate(fcn)
middle = Hooker("middle")
middle.setdelegate(bottom)
top = Interceptor("top")
top.setdelegate(middle)
print "top: ", top
print "top.delegate: ", top.delegate
print "calling top()... "
top("top()")
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

I'll respond further shortly.  In the meantime, please notice that
Delegator3.py works the same whether or not your Delegator.__call__()
method is commented out.  That's because you needed to define __call__()
methods in your filters.

We are still suffering from semantic overload.  Let's call the instances
which are chained 'filters' and the Delegator mixin machinery 'nodes' for
the purposes of this discussion (because they act much like the nodes in
a traditional Lisp list).

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1717170] "Really print?" Dialog

2007-10-28 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58700.  Thanks for the patch!
(Used OK/Cancel and simplified message.)

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1717170>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1262] IDLE does not start if windows environment variable containing 'German Umlaute: äöü' exists

2007-10-28 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

I believe this is a duplicate of
http://bugs.python.org/issue1342
and not related to IDLE.

--
nosy: +kbk
resolution:  -> duplicate
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1262>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1356720] Ctrl+C for copy does not work when caps-lock is on

2007-10-28 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

On systems other than Windows, people generally prefer to 
leave as much 
flexibility as possible by not binding various combinations 
of modifiers to 
the callback associated with a .  If you need this 
change, add a 
binding as noamr suggests.

--
resolution:  -> wont fix
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1356720>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1004696] translate Windows cr-lf when installing scripts on Linux

2007-10-28 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
assignee: kbk -> 

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1004696>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1334] IDLE - Fix several highlighting bugs

2007-10-28 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
assignee:  -> kbk
keywords: +patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1334>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1612746] Enhanced tabbed pane widget

2007-10-28 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Can I ask you for an update? This no longer applies cleanly with the 
recent changes to configDialog.py, and I suspect you might have some 
further cleanup.

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> out of date

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1612746>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1612746] Enhanced tabbed pane widget

2007-10-29 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Prior to the 13:17:41 update:
r58710.
Minor formatting changes.

I figured you might have an update :-)  It's good to let these new 
modules 
age a bit :-)  Well, maybe not that long...

renamed tabbedPages.py -> tabbedpages.py to conform to PEP 8.
Nicely done, thanks for the patch!

One comment: when multiple rows are created, the row order in the test 
widget, counting from the top, is 2341.  I expected 1234.

--
resolution: out of date -> accepted

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1612746>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1612746] Enhanced tabbed pane widget

2007-10-29 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Well, I already checked it in.  Please synch to svn and send me an update 
against that.  Note that I renamed tabbedPages.py.

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1612746>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

> 1) Should Delegator delegate calls to callables

No, I agree they should.  The question is whether it's necessary to add a 
__call__() method to the Delegator class.  I claim you can do what you want 
to do without it.  It serves only one purpose that I can see: you want to 
delegate to a callable by calling the instance at the top of the chain, and 
one of the chain members isn't callable.  I don't see a use case for that, 
YAGNI.

I'll defer the Percolator discussion for now.  There is more to it than just 
the inheritance issue.

I found your example1.py to be confusing.  Please stop using the word 
'delegator', it's too overloaded in this discussion!

I marked up example1.py as example1a.py, changing some names and adding some 
comments.

I also worked up example2.py which seems to cover the possible combinations 
of proxying functions, callables, and methods.  It works without adding 
__call__() to Delegator.  Please check it out, what more do you need?

I'll be away until Sunday, so I can't respond further until then.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


Added file: http://bugs.python.org/file8668/example1a.py

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


Added file: http://bugs.python.org/file8669/example2.py

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-10-30 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Further response to your 27Oct:

> That's it.

There is more.  The Delegator mixin exposes its delegate attribute.
Without that, it would not be possible to pass e.g. insert() down the
chain because (in the case of the Text percolator) insert() is found
in each filter and blocks 'transparent' access.

I agree with your two use cases, but repeat that transparent access is
dangerous in that the class in which the attribute is being looked up
changes for each link on the chain.  You could get unexpected results.
IMO you are giving up stability for convenience.  "Explicit is better
than implicit."

> (Caching is just an implementation detail, whose only purpose is to
> facilitate changing a Delegator's delegate.)

Don't believe everything you read.  While that comment in the code is
true, it's not the whole truth.  If 'transparent' access is made to
an attribute further down the chain, that attribute will be actually
cached, i.e. be set as an attribute, in each DelegatorNode.  I imagine
this was done for performance reasons.  The Delegator.__cache is used to
determine which attributes to delete if a delegate is changed.

I'll defer the Percolator comments until later.

> Now, it seems to me that you aren't looking at Delegators and
> Peroclators as transparent proxies at all.

Not so.  That's my 2. in my msg56862 27Oct.  But I see filters as
having two modes of operation.  In the first, they take an action
like insert() and share it explicitly along a chain of authority.
Each link takes specific action, and passes insert() along.  

They also provide transparent access to attributes down the chain, as you 
note.  But once an attribute is found it will not propagate unless
explicitly passed along, and that requires the self.delegate attribute.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10907] OS X installer: warn users of buggy Tcl/Tk in OS X 10.6

2011-03-14 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser :


--
nosy: +kbk

___
Python tracker 
<http://bugs.python.org/issue10907>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4676] python3 closes + home keys

2011-03-25 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

Fixed in 2.7 and forward ported.

--
assignee:  -> kbk
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
type:  -> crash
versions: +Python 3.2, Python 3.3 -Python 2.6, Python 3.0

___
Python tracker 
<http://bugs.python.org/issue4676>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2011-03-25 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser :


--
assignee:  -> kbk
nosy: +kbk
resolution: works for me -> out of date
stage:  -> committed/rejected
status: pending -> closed

___
Python tracker 
<http://bugs.python.org/issue3841>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2011-05-10 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

Tcl/Tk uses modified utf-8 internally.  This includes using 0xC080, a multibyte 
Unicode null character, for embedded nulls that work with C's null terminated 
strings.  Java does the same.

Note that typing Ctrl-space and Ctrl-2 are conventional ways to enter a null 
from the keyboard.  That's the reason a null char is associated with those key 
combinations.

When Tcl exports Unicode, it is supposed to be strict utf-8.  Until Tcl8.5, the 
%A (Unicode character corresponding to an event) was incorrectly leaking the 
modified Unicode null.

_tkinter.c.2.patch is narrowly focused: if PythonCmd raises a 
UnicodeDecodeError and if the string passed in an arg is 0xC080, it is replaced 
with the Unicode null 0x00.

--
assignee: ned.deily -> kbk
components: +Unicode
nosy: +kbk
resolution:  -> accepted
Added file: http://bugs.python.org/file21954/tkinter.c.2.patch

___
Python tracker 
<http://bugs.python.org/issue1028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2011-05-10 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

Rejecting for now, out of date, doesn't apply, not single topic.

--
resolution: out of date -> rejected
stage: test needed -> committed/rejected
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue1350>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2011-05-11 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

r70039 3.1 forward ported > 3.2 > default.  Will be in 3.2.1.

--
resolution: accepted -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue1028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2011-05-11 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

Having a modified utf-8 codec will be useful.  That said, it is an error
for Tcl/Tk to expose modified utf-8 externally, and that was fixed at
some point in Tk8.5.  Since Tk is no longer sending 0xC080 for the %A
char, switching codecs in _tkinter.c won't accomplish anything.

This fix was to correct a long-standing problem in IDLE using Tk8.4,
which is most easily solved by catching the leaked invalid null in
_tkinter.c.

It seems to me that, once you switch to modified utf-8 and allow the
embedded nulls, you have to make sure everything you are doing uses
the modified utf-8 encoding/decoding.

--

___
Python tracker 
<http://bugs.python.org/issue1028>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11896] Save on Close fails in IDLE, from Linux system

2011-05-12 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

tkinter.messagebox.Message sending  rather
than str, so comparison with str failed.  Always for "cancel", (almost?)
always for "yes".

Use the helper functions in tkinter.messagebox, which correct for that.

This hasn't worked for a long time, I'm surprised it just came up.  Will
backport to 2.7.

--
assignee: ned.deily -> kbk
nosy: +kbk
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
versions: +Python 3.1, Python 3.3 -Python 2.6

___
Python tracker 
<http://bugs.python.org/issue11896>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5559] IDLE Output Window 's goto fails when path has spaces

2011-05-12 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

Backported to 2.6 4Oct09  56387:490190cb4a57

--
stage: commit review -> committed/rejected
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue5559>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7738] IDLE hang when tooltip comes up in Linux

2011-05-12 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

Linux trader 2.6.38-2-686 #1 SMP Thu Apr 7 05:24:21 UTC 2011 i686 GNU/Linux
kbk@trader:~/Python/Py27$ aptitude show tk8.5
Package: tk8.5
...
Version: 8.5.9-2

Debian Linux Wheezy

Can't reproduce on 2.7.1+ 3.1.4+ 3.2.1beta 3.3alpha0 with Tk8.4 Tk8.5

--

___
Python tracker 
<http://bugs.python.org/issue7738>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-13 Thread Kurt B. Kaiser

Kurt B. Kaiser <[EMAIL PROTECTED]> added the comment:

Thanks.  Another question: when the shell starts, do you
see the text

   No Subprocess 

to the right of the IDLE version, e.g.

IDLE 2.6a3   No Subprocess 

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-15 Thread Kurt B. Kaiser

Kurt B. Kaiser <[EMAIL PROTECTED]> added the comment:

Sorry for the delay.

OK, we are getting closer.  Please tell me exactly how you start IDLE.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-16 Thread Kurt B. Kaiser

Kurt B. Kaiser <[EMAIL PROTECTED]> added the comment:

Yes, removing the -n is the way to fix your problem.  We went to quite 
a bit of effort to run user code from scratch on each Run/F5 using the 
subprocess.  Running without the subprocess is considered 'expert' mode 
these days. (Although it's still used on Windows if the user edits a 
file via the right click menu - something we hope to fix.)

There is a way around your difficulty - it involves using 'reload', but 
I didn't want to tell you about that too soon :-)

Now I need to look at Debian/Ubuntu to find out why the switch was 
added.  I run Debian, but not Ubuntu, and I use the command line 
pretty 
exclusively, so it didn't bite me.  If this is the way the IDLE package 
is configured, I'm surprised the issue hasn't been reported 
previously.  Thanks for the report!

--
assignee:  -> kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2008-05-22 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser <[EMAIL PROTECTED]>:


--
keywords: +patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2704>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1948] Cant open python gui using VISTA

2008-05-22 Thread Kurt B. Kaiser

Kurt B. Kaiser <[EMAIL PROTECTED]> added the comment:

No response from OP, closing.

--
resolution:  -> works for me
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1948>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2584] numeric overflow in IDLE

2008-05-22 Thread Kurt B. Kaiser

Kurt B. Kaiser <[EMAIL PROTECTED]> added the comment:

When this is running, what happens if you hit Control-c a few times, 
especially in the first few seconds?  Does it abort with a 
KeyboardInterrupt? Does it stop responding to Control-c after the window 
fills up?

Note that IDLE slows down when very large quantities of text are printed 
to the shell window.  This is an issue with the Tk library.

The subprocess is supposed to exit when it notices that the socket has 
closed.  This doesn't work well on Windows, unfortunately.  We are 
thinking about it ;-)

It doesn't seem that what you are attempting to fix has any realistic 
application.

I don't run Vista.  Check your resources right after you start your 
code.  Is your system unresponsive because you are running out of memory 
or because you are using CPU 100%?


Patient: My head hurts when I bang it against a wall.
Doctor: So, don't do that!

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2584>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2913] idlelib/EditorWindow.py uses xrange()

2008-05-22 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser <[EMAIL PROTECTED]>:


--
assignee:  -> kbk
nosy: +kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2913>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2584] numeric overflow in IDLE

2008-05-22 Thread Kurt B. Kaiser

Kurt B. Kaiser <[EMAIL PROTECTED]> added the comment:

BTW, instead of a reboot, use Task Manager (or whatever they needlessly 
renamed it to on Vista :) to kill all python processes.  That should free 
up your machine.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2584>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2584] numeric overflow in IDLE

2008-05-31 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser <[EMAIL PROTECTED]>:


--
resolution:  -> wont fix
status: open -> closed

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2584>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2884] Create the tkinter package

2008-06-01 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser <[EMAIL PROTECTED]>:


--
nosy: +kbk

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2884>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2775] Implement PEP 3108

2008-06-01 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser <[EMAIL PROTECTED]>:


--
nosy: +kbk

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2917] merge pickle and cPickle in 3.0

2008-06-01 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser <[EMAIL PROTECTED]>:


--
nosy: +kbk

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2917>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7881] Hardcoded path, unsafe tempfile in test_logging

2010-02-07 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

In addition, the /tmp/tmp.txt file is only writeable by the user that created 
it.  On the buildbot machine I'm admin'ing, the buildslave user created the 
file and user neal's run of build.sh on the trunk fails because it can't write 
the file.  Also, to avoid clutter in /tmp, the file should not only be created 
safely as Neil suggests, but removed when the test is complete.

--
nosy: +kbk

___
Python tracker 
<http://bugs.python.org/issue7881>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1374] IDLE - minor FormatParagraph bug fix

2007-12-10 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r59463
Thanks for the patch!

--
resolution:  -> accepted
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1374>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2007-12-10 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Do you have any further comments on this issue?

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1612746] Enhanced tabbed pane widget

2007-12-11 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r59468
Thanks for the update!

--
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1612746>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-11 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

This is very useful!

However, it isn't fully baked.  Please test more
before submitting patches.  Try to break them on
corner cases.

import CallTips
CallTips.CallTips(

AttributeError: 'NoneType' object has no attribute 
'splitlines'

def foo():
pass

foo(

same error.

There are two conditional blocks which need to go
on separate lines.

The jocular test in CallTipWindow needs to be changed
to avoid needless controversy.  Also, the doc window's
first line isn't quite right.

There may be other issues, but that's as far as I got.

I would like to get this into 2.6a1.  However, I
completely rewrote CallTips.py for 3.0.  I will need
another version of the patch for the latter, can you
supply it once we get 2.6 put to bed?

--
assignee:  -> kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1350>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1457] IDLE - configDialog - new layout for key config

2007-12-12 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
assignee:  -> kbk
keywords: +patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1457>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

2007-12-12 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Doesn't seem to be IDLE related, removed IDLE tag.

--
components:  -IDLE
nosy: +kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1567>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

2007-12-12 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
keywords: +py3k

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1601>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1586] IDLE no longer shows colour syntax highlighting in the Shell (Py30a2)

2007-12-12 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r59479, thanks for the report!

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1586>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1777398] IDLE Freezes After Running Scripts

2007-12-12 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

What happens when you run this using idle -n  (i.e. without the 
subprocess?)

--
nosy: +kbk

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1777398>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1607] Patch for TCL 8.5 support

2007-12-13 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

But indices are supposed to be strings according to the Tk 
documentation, and with 8.4 the Tkinter indices are strings.  Since 
most of the Tkinter 'documentation' is actually the Tcl/Tk man pages, 
it would be quite confusing to users if Tkinter diverged from Tcl/Tk 
in this regard.  I don't see any change from string in the Tk 8.5 
Text man page.

Second, is there a plan to switch to 8.5 for py3k?  If so, please 
post a link so I can catch up!  (I'm in favor of switching to 8.5, 
btw.)

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1607>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1607] Patch for TCL 8.5 support

2007-12-17 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

I do have an XP on multiboot.  I'm not very enthusiatic about learning 
MS tools; the last time I built Python on W. was with VC5 in the days 
when IDLE had a small C extension, later incorporated into Python.  If 
the Tk 8.5/Tkinkter problem doesn't get fixed I suppose I'lll have to 
attempt 
it again.  Thanks for the link.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1607>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-17 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


Removed file: 
http://bugs.python.org/file8958/IDLE_CallTips.071214.incremental.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1350>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-17 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


Removed file: http://bugs.python.org/file8957/IDLE_CallTips.071214.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1350>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1607] Patch for TCL 8.5 support

2007-12-17 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Good to hear; thanks for the info!

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1607>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1650] IDLE: help() displays output on the wrong shell

2007-12-23 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Yes, and it does on linux, also.  Someone changed the way help() 
works.  Since the help listing is often extensive and clutters up the 
shell, I'm thinking that the best solution would be to pop up a new 
window.  I haven't got around to addressing either the bug or a new 
design.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1650>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1647] IDLE messes around with sys.exitfunc

2007-12-23 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

It was done for VPython support, as described in the docstring in 
run.py:exit().  What are you doing, removing sys.exitfunc from 
2.6? 

The 3.0 run.py code was changed to use atexit._clear().

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1647>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1658] "RuntimeError: dictionary changed size during iteration" in Tkinter

2007-12-23 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
nosy: +kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1658>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1674] pythonw.exe crashes when run in one particular account on Windows XP Pro

2007-12-24 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Thanks for the report.  Please reopen it if you come up 
with further confimation.

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> works for me
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1674>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-26 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

I deleted the extra files.

You aren't making this easy!  I was expecting a relatively small update to 
the original patch.

Did you backport my 3.0 revision of CallTips.py or did you come up with 
your own version which uses inspect.py?

Right now, the patch includes two unrelated developments, which 
(following 
our normal procedures) wouldn't be combined as you have done.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1350>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1650] IDLE: help() displays output on the wrong shell

2007-12-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Fixed by overriding pydoc.py:pager to be plainpager.
r59603

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1650>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1607] Patch for TCL 8.5 support

2007-12-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

This patch doesn't seem like the right way to 
fix the 8.5 issue...Close it?

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1607>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1457] IDLE - configDialog - new layout for key config

2007-12-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r59604
Thanks for the Patch!

--
resolution:  -> accepted
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1457>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1563981] IDLE invokes completion even when running code

2007-12-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Hard to fix since IDLE doesn't know that the interpreter went into 
input state.

However, control-tab appears to do what you want.

--
resolution:  -> wont fix
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1563981>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue404444] [IDLE] auto indent/parentheses

2007-12-27 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
nosy: +kbk


Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue40>

___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1599] IDLE hangs if os.spwanv command is given

2007-12-27 Thread Kurt B. Kaiser

New submission from Kurt B. Kaiser:

Worked for me on Arch GNU/Linux 
using IDLE 2.6a0.  What OS and 
Version 
are you running?  Does it fail for

foo.py:
 def foo():
   pass

>>> import os
>>> os.spawnv(os.P_NOWAIT, 
'foo.py', '')
5026
>>>

--
assignee:  -> kbk
nosy: +kbk
priority:  -> normal
resolution:  -> works for me

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1599>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

2007-12-27 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Assigning to tiran since I'm not building Python on XP.  
Changing to Tkinter, also.  Is the file open bug fixed 
also by the suggested change?

--
assignee: kbk -> tiran
components: +Tkinter -IDLE

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1601>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1061803] Source code encoding in IDLE console

2007-12-28 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Can this be closed? Is it still an issue in 3.0?

--
nosy: +kbk

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1061803>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1692] Syntax Error exception dosen't print string; not informative

2007-12-31 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
nosy: +kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1692>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1177] urllib* 20x responses not OK?

2008-01-01 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58207 and r58247 patch logic is reversed.

--
assignee: facundobatista -> kbk
nosy: +kbk
resolution: fixed -> 
status: closed -> open

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1177>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1177] urllib* 20x responses not OK?

2008-01-01 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Reversed the logic of the previous patches to urllib.py and added a 
test case.  I noticed the problem when I tried to retrieve a file 
which required auth.

r59661

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1177>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1692] Syntax Error exception dosen't print string; not informative

2008-01-04 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

This short patch appears to fix the problem, please review.

--
keywords: +patch
Added file: http://bugs.python.org/file9069/pythonrun.c.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1692>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1692] Syntax Error exception dosen't print string; not informative

2008-01-04 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r59729

--
assignee: gvanrossum -> kbk
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1692>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1743] IDLE fails to launch

2008-01-13 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

1. Could you look at the properties of the .idlerc\recent-files.lst that you 
saved and compare them to the new file which worked?  In particular, what 
about access permissions?

2. I agree that IDLE should have a better error response if opening a user 
config file fails.

--
priority: low -> normal

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1743>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1794] Hot keys must work in any keyboard layout

2008-01-13 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
nosy: +kbk

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1794>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1252] IDLE - patch Delegator to support callables

2008-01-13 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


--
resolution:  -> rejected
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1252>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1862] Error on "Save As" in IDLE (Vista 32-bit)

2008-01-19 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

IDLE creates the .idlerc folder if needed.  It seems it should
be marked as not hidden.  Does anyone know how to do that?

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1862>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1743] IDLE fails to launch

2008-01-23 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Thanks for the fix.  r60225.

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1743>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1862] Error on "Save As" in IDLE (Vista 32-bit)

2008-01-23 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r60225.  Dup of Issue 1743.

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1862>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1794] Hot keys must work in any keyboard layout

2008-01-23 Thread Kurt B. Kaiser

Changes by Kurt B. Kaiser:


__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1794>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   >