[issue18489] IDLE Unit test for SearchEngine.py

2013-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: By masking mock Text.index with instance functions, I removed the need for tk.Text and hence the tests are gui free. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -&g

[issue12037] test_email failures under desktop Windows

2013-08-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed title: test_email failures under Windows with the eol extension activated -> test_email failures under desktop Windows __

[issue18831] importlib.import_module() bypasses builtins.__import__

2013-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the actual doc: "importlib.__import__(name, globals=None, locals=None, fromlist=(), level=0) An implementation of the built-in __import__() function." I think this is pretty clear that builtin.__import__ has no effect unless direc

[issue18843] Py_FatalError (msg=0x7f0e3b373232 "bad leading pad byte") at Python-2.7.5/Python/pythonrun.c:1689

2013-08-31 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: OK, I backed off the aggressive CFLAGS/CXXFLAGS to " -ggdb -pipe", and ran "emerge =dev-lang/python-2.7.5-r1" *once* each with and without the 'EXTRA_ECONF="--with-pydebug"' flag. Compiled with GCC 4.7.3.

[issue18843] Py_FatalError (msg=0x7f0e3b373232 "bad leading pad byte") at Python-2.7.5/Python/pythonrun.c:1689

2013-08-31 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Yeah, hope is a good thing. But I've spent the last 20 years debugging an X11 application based on a Lisp interpreter, I save hope for fireflies, my dog, and my daughter these days. :-) To the OP: I don't follow Gentoo closely, but I have acq

[issue18889] test_sax: multiple failures on Windows desktop

2013-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two things have happened with Python: we switched bytes from 'text or binary' to 'binary (or text)' in 3.0. We switched from svn to hg in 3.2. When did test_sax start failing? I have no idea. Until recently, there were much worse problems

[issue18889] test_sax: multiple failures on Windows desktop

2013-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Having the files be the same on all systems seems the right solution. Changing .hgeol should do that, at least for the repository. Let's hope the Windows .msi installer leave line endings alone. I should install the a,b,c releases just to run the test

[issue9709] test_distutils warning: initfunc exported twice on Windows

2013-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: This warning still appears on buildbots running with warnings turned on. -- nosy: +terry.reedy versions: +Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue9

[issue12420] distutils tests fail if PATH is not defined

2013-09-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just ran into this issue (same I believe) running the test suite with installed, versus repository, python on win7, but get a different traceback. Traceback (most recent call last): ...\lib\distutils\tests\test_build_ext.py" line 15

[issue18730] suffix parameter in NamedTemporaryFile silently fails when not prepending with a period

2013-09-01 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg196681 ___ Python tracker <http://bugs.python.org/issue18730> ___ ___ Python-bugs-list m

[issue18891] Master patch for content manager addtion to email package.

2013-09-03 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: I'm thinking this may be overengineering, but I may as well post it and find out for sure. :-) Is it worth encapsulating MIME types? They're "really" pairs as far as mail handling applications are concerned, but they have a string

[issue18944] Minor mistake in test_set.py

2013-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The typo causes 1 test to run 5 times instead of 5 tests 1 each. After fix, all pass on Win7, 3.4.0a1 (where fix is on line 1675 instead of 1618). -- nosy: +rhettinger, terry.reedy ___ Python tracker <h

[issue18917] python won't display greek characters in apache under windows

2013-09-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> works for me stage: -> committed/rejected ___ Python tracker <http://bugs.python.org/issue18917> ___ ___ Pyth

[issue18903] IDLE file-completion is case-sensitive in Windows

2013-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: This strikes me a sort-of a bug. However, feature vs. bug does not matter for small changes (see PEP434). Is Windows the only case preserving, case insensitive OS? -- nosy: +terry.reedy ___ Python tracker <h

[issue18917] python won't display greek characters in apache under windows

2013-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that this is *the* answer to the issue, so the issue should be closed. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue18

[issue18944] Minor mistake in test_set.py

2013-09-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Just to answer, anyone with Python snake has commit privileges of some sort but may not be setup to commit to cpython. I suspect Armin found this while review the test for pypy. I focus mostly on Idle, but on better days, will do little commits like this

[issue18894] In unittest.TestResult.failures remove deprecated fail* methods

2013-09-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord ___ Python tracker <http://bugs.python.org/issue18894> ___ ___ Python-bugs-list mailin

[issue18896] Remove namedtuple 255 arguments restriction

2013-09-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue18896> ___ ___ Python-bugs-list mailing list Unsub

[issue18936] 2.7 distutils getopt chokes on unicode option names

2013-09-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> eric.araujo components: +Distutils -Library (Lib) nosy: +eric.araujo, tarek title: getopt chokes on unicode option names -> 2.7 distutils getopt chokes on unicode option names ___ Python tracker

[issue18943] argparse: default args in mutually exclusive groups

2013-09-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +bethard ___ Python tracker <http://bugs.python.org/issue18943> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18873] "Encoding" detected in non-comment lines

2013-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nasty bug. Running a file with 'coding=0', a quite legitimate assignment statement, causes Idle to close, with LookupError, leading to SyntaxError, reported on the console if there is one ('crash' otherwise). (Idle closing is a separate pr

[issue18903] IDLE file-completion is case-sensitive in Windows

2013-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: A possible complication is that at least in part, the same code (AutoComplete.py) is used for both attribute completion and filename completion. Attribute completion is always case sensitive. -- ___ Python tracker

[issue18903] IDLE file-completion is case-sensitive in Windows

2013-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The initial difficulty I am having is that the edit menu, help file, code, and behavior do not seem to match up, so this whole feature set needs more review. For one thing, the AutoCompleteWindow (ACW) often comes up empty initially. Sometimes it fills in a

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2013-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not currently seeing the problem I reported, so closing. If I type past / and hit ^space, I sometimes get an empty listbox, but I do not yet have a consistent failing case. Will open a new issue if/when I get one. -- resolution: -> fixed st

[issue4832] IDLE does not supply a default ext of .py on Windows or OS X for new file saves

2013-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: With PEP 434, this can and I think should be backported. I should have done it for 2.7.5 and will try to do soon. -- ___ Python tracker <http://bugs.python.org/issue4

[issue11163] iter() documentation code doesn't work

2013-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the current 3.3.2 docs, 'STOP' has been replaced by '', so there is a change, and no infinite loop. However, this is still does not strike me as an example of 'useful' as for line in iter(fp.readline, "STOP"): #

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is there a reason to say (several times) 'can support' instead of just 'support'? Do the OSes in question just optionally support rather than always support? The first version added: change 'depend of' to 'depend on'

[issue14606] Memory leak subprocess on Windows

2012-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does your last message mean that this issue should be closed here? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue14

[issue14620] Fatal Python error: Cannot recover from stack overflow.

2012-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are several other 'stack overflow' issues (just do a search on that phrase). Please take a look and see if yours is a duplicate of any of the others. If this does seem different, please reduce your code to the minimum needed and attach the

[issue14627] Fatal Python Error when Python startup is interrupted by CTRL+c

2012-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In a running interpreter and Idle, ^C results in KeyboardInterrupt >>> and nothing else. >From a command line, I think KeyboardInterrupt: Python startup stopped" would be ideal. On Windows, I do not know if a program started from an i

[issue14692] json.loads parse_constant callback not working anymore

2012-05-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: json.joads parse_constant callback not working anymore -> json.loads parse_constant callback not working anymore ___ Python tracker <http://bugs.python.org/issu

[issue14701] parser module doesn't support 'raise ... from'

2012-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Just curious, should "The parser module provides an interface to Python’s internal parser and byte-code compiler." say "CPython's"? -- nosy: +terry.reedy ___ Python tracker <http:

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2012-05-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using ^Z (ascii Substitute char) instead of ^D (ascii 'End of Transmission') is an MSDOS affectation carried over to the the MSDOS-based text-mode Command Prompt on Windows. I verified that ^D now closes IDLE on Windows. ^Z gives a beep. (I do not

[issue14783] Update int() docstring from manual

2012-05-11 Thread Terry J. Reedy
New submission from Terry J. Reedy : int.__doc__ starts "int(x[, base]) -> integer". That is not exactly correct as x is not required and base is only allowed if x is a string. The 3.3 manual fixes both problems with "int([number | string[, base]])" I actually think th

[issue14728] trace function not set, causing some Pdb commands to fail

2012-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since this pdb issue is a continuation of #13183 and repeals a part of that issue's patch, I nosy'ed the contributors to that issue. -- nosy: +georg.brandl, loewis, neologix, orsenthil, terry.reedy stage: ->

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3, Win 7, Idle >>> root.clipboard_get() 'abc€' after cut from here -- nosy: +terry.reedy ___ Python tracker <http://bugs

[issue14781] Default to year 1 in strptime if year 0 has been specified

2012-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker <http://bugs.python.org/issue14781> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are definitely platform differences. As I noted, the original example works fine on Windows. However >>> root.clipboard_get(type='STRING') 'abc€' >>> root.clipboard_get(type='UTF8_STRING') Tracebac

[issue14807] Move tarfile.filemode() into stat module

2012-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. After careful check, I am convince that converted _filemode_table (now private) is correct. Ditto for copied filemode function with adjusted docstring. 2. New test_stat.py is nice. I believe there is a new style of actually running the tests that somehow

[issue14807] Move tarfile.filemode() into stat module

2012-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks good enough to me except for the alias docstring. If someone does dir(tarfile) and help(filemode), they should get the message that it is a deprecated alias and should not use it. -- ___ Python tracker

[issue1602] windows console doesn't print or input Unicode

2012-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Glenn, I do not know what you are using the interactive interpreter for, but for the unicode BMP, the Idle shell generally works better. I only use CommandPrompt for cross-checking behavior. -- ___ Python tracker

[issue13849] Add tests for NUL checking in certain strs

2012-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are two issues. 1) what is the requested changed and is it technically correct; 2) if correct, should it be made from a policy viewpoint. 1) Alex, do I understand correctly that you see the behavior of disallowing nulls in paths as correct, and that

[issue8376] Tutorial offers dangerous advice about iterators: “__iter__() can just return self”

2012-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue8376> ___ ___ Pytho

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : There have been several requests for a set.get() (no args) or set.pick() method to get an item without deleting it as .pop() does. Probably the best answer is to use the simple generic composition next(iter(s)). The counter response is that it is hardly

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zachary, you are brave/foolhardy to take this on;) I agree that the XXX comment should be removed. One possible resolution is to do just that, replacing it with nothing. I would note that the fuss over tuples versus lists comes from a time before iterators

[issue14788] Pdb debugs itself after ^C and a breakpoint is set anywhere

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue14788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14789] after continue, Pdb stops at a line without a breakpoint

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue14789> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14792] setting a bp on current function, Pdb stops at next line although no bp

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue14792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14795] Pdb incorrectly handles a method breakpoint when module not imported

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue14795> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue14797> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14808] Pdb does not stop at a breakpoint set on the line of a function definition

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue14808> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue14814> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14831] make r argument on itertools.combinations() optional

2012-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: permutations(i,r) has an obvious default length, len(i). For combinations(i,r), r = len(i), the return is i itself. Uninteresting. You are asking for something else, that combinations(i) be powerset(i), which is a different function. Powerset can be built

[issue14833] Copyright date in footer of /pypi says 2011

2012-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is invalid *here* because this tracker is for the CPython implementation and the documentation, not the python.org site. I have, however, sent a message to the pypi catalog-sig mailing list, which *is* the proper venue. Thanks for noticing

[issue14838] IDLE Will not load on reinstall

2012-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: If python itself runs, you can easily try this from inside the interpreter >>> from idlelib import idle This *should* bring up the Idle shell window. It just did for me on 64 bit Win7. If not, there *should* be an error traceback you can cut and p

[issue14845] list() != []

2012-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: It has been noted elsewhere (but I cannot find it) that 1) an uncaught StopIteration raised in an expression *within* a genexp is indistinguishable from the StopIteration raised *by* the genexp upon normal termination; and 2) this makes genexps different

[issue14850] The inconsistency of codecs.charmap_decode

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +doerwalter, lemburg ___ Python tracker <http://bugs.python.org/issue14850> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am ok with Ezio's 3rd version. -- ___ Python tracker <http://bugs.python.org/issue14840> ___ ___ Python-bugs-list m

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I re-verified this on win7-64 with 3.3.0a3 >From Idle, Idle remains after clicking away the error box. >From Command Prompt, CP disappears after clicking away box. Problem is not specific to Donwloads. Other Libraries fail also. Desktop and other normal

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : In the doctest section, 25.2.3.5. Option Flags and Directives has examples of using #doctest: directives in the .rst source ''' An example's doctest directives modify doctest's behavior for that single example. Use ``+`` to enab

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a somewhat recent reversion. 3.1.5 (a month ago) http://docs.python.org/release/3.1.5/library/doctest.html#module-doctest >>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: To my mind, stripping is not ignoring ;-), but I understand what you mean, sphinx ignores as it pays attention and strips. [2] is the commit for [1], and both are from 3 years ago, long before 3.2.0. Does the true-by-default ``trim_doctest_flags`` config

[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The directives should normally be stripped, but not when they are intentionally given to teach their existence, syntax, and use, as in the doctest doc on directives. I opened (and closed -- am trying to anyway) a duplicate, #14865. The problem of directive

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for discovering that. I did not search well enough. -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- superseder: -> doctest directive examples in library/doctest.html lack the flags ___ Python tracker <http://bugs.python.org/issu

[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, I pretty much agree with your points and would be happy either with rejection or one simple sentence. This idiom really belongs in a hypothetical how-to, such as 'Python iterators and generators'. The real use case for it=iter() followed

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: [Agreed that spacing comments were bogus.] As for the rest, patch looks good except for 'is is' in +ValueError: If the integer is is negative or... I am glad I could help improve things a bit. I will try to look at the how-to by tomorrow t

[issue12641] Remove -mno-cygwin from distutils

2012-05-24 Thread Phillip J. Eby
Phillip J. Eby added the comment: Just adding a data point: I use the "mingw32" compiler setting with the Cygwin GCC installation, to compile extensions for standard Windows Python (*not* Cygwin Python). It would be good if any change doesn't break this scenario -- assuming i

[issue14903] dictobject infinite loop on 2.6.5 on 32-bit x86

2012-05-24 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +Mark.Shannon ___ Python tracker <http://bugs.python.org/issue14903> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14903] dictobject infinite loop on 2.6.5 on 32-bit x86

2012-05-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you reproduce on current 2.7.3 or 3.2.3 or even 3.3.0 (which has changed dict implementation)? Or can you upload a short program that exhibits the problem, so someone else can try? 2.6 gets security fixes only and I do not believe this qualifies. If not

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue14881> ___ ___ Python-bugs-list mailing list Unsub

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3 commit is http://hg.python.org/cpython/rev/9373ca8c6c55 Richard, it did not record here because you just said 'Merge' rather than "#14881 merge" ;-). Great to see a crasher fixed. Ready to close? -

[issue14907] SSL module cannot handle unicode filenames

2012-05-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are other paramaters that take optional 'files'. Whatever change is made should be done uniformly for all. 'File' is unfortunately vague, as it could mean file object or file name or both. If file name, it could be str only o

[issue14876] IDLE highlighting theme does not preview with user-selected fonts

2012-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch looks good and seems to work fine. I tested before and after the patch on my working copy of 3.3.0a3 with my selected font. Highlight config was default courier before and selected font after. I agree with change and applied. -- resolution

[issue14903] dictobject infinite loop on 2.6.5 on 32-bit x86

2012-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was suggesting alternate installations, not that you touch your system Python (a bad idea I have read). Such should be easy on Ubuntu. Whether you can run this particular program with alt installs is a different matter. If you have questions about doing so

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified problem in 3.3 and when opening dialog from shell. Patch fixes problem, including open idle, open dialog, close shell, select file, and now file is opened. Thanks Roger. I went ahead and applied fix. (But note: your patch had a 'blank'

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-05-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue10365> ___ ___ Python-bugs-list mailing list Unsub

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 2.7 & 3.3 on Win 7, 'a'( brings up calltip (bad). With 3.3, '\xyz'( causes Idle to die (worse) With 2.7, the same or u'\xyz'( have no effect, just like 3(. There are a lot of little differences between 2.7 and 3.x, but t

[issue11820] idle3 shell os.system swallows shell command output

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: After thinking some more and re-reading the os.system doc, I am closing this. I think things are working exactly as documented, and in a way that will not be changed. The os.system doc initially says 1. "Execute the command (a string) in a subshell.

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

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win 7, a brings up the box on all the latest releases: 2.7.3, 3.2.3, and 3.3.0a3. (These all come with recent tk 8.5.x.) Mike, please retest with 3.2.3 and specify os and tk version and exactly what you entered if there is still a problem

[issue11820] idle3 shell os.system swallows shell command output

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I thought I was un-confusing sys.std* Python objects (such as idlelib.rpc.RPCProxy) from std* integer file descriptors, whereas you seem to say they are the same: "copies of the file descriptors (in particular, sys.std*)". The rest of your messag

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The only substantive change I see is replacing the four lines setting 'interp' with a defaulted getattr call. You seem to have missed my point that 'Otherwise, open a new window' is false. It must be that "flist.open(filename)

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'a'(, [](, {}( no longer do anything. [int][0]( and {0:int}[0] bring up int tooltip. However, patch is not a complete fix yet. [int][1]( and {0:int}[1] both 'crash' Idle. So we need to add IndexError and KeyError to +

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-05-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review ___ Python tracker <http://bugs.python.org/issue12510> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14929] IDLE crashes on *Edit / Find in files ...* command

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Interesting -- and nasty. I have used this successfully with both 3.2 and now 3.3 on Win7 to search idlelib/*.py files and on a directory of my own files, all written by Idle and been quite pleased with the speed. I just tried searching /Lib/*.py for

[issue14929] IDLE crashes on *Edit / Find in files ...* command

2012-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hit send too soon;-). With that much done, we can think about a more complete fix. See last paragraph above. Also, perhaps dialog box could have encodings field. People should be able to grep python code for any legal identifier, and this means proper

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-05-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker <http://bugs.python.org/issue12510> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-05-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker <http://bugs.python.org/issue10365> ___ ___ Python-bugs-list mailing list Unsubscri

[issue14876] IDLE highlighting theme does not preview with user-selected fonts

2012-05-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker <http://bugs.python.org/issue14876> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12932] dircmp does not allow non-shallow comparisons

2012-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lennart, I saw your response on StackOverflow ;-). -- nosy: +terry.reedy resolution: out of date -> stage: committed/rejected -> test needed status: closed -> open versions: +Python 3.3 -Python 2.6, P

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am reopening just as a reminder to revise the comment. -- status: closed -> open ___ Python tracker <http://bugs.python.org/issu

[issue14944] Setup & Usage documentation for pydoc, idle & 2to3

2012-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I second the motion for IDLE. There is no module doc for it. Off the top of my head, there should be a general section that * says what it is, and that it depends on tcl/tk and tkinter install; * mentions the existent of the menu Help / IDLE help document

[issue14944] Setup & Usage documentation for pydoc, idle & 2to3

2012-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hmm, how did I miss that?? Well better to reference that, and maybe revise it. I believe there may also be another .txt document in idlelib. Anyway, perhaps there should first be a section on tkinter by itself, and how to get the tcl/tk it depends on

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2012-06-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12510] IDLE: calltips mishandle raw strings and other examples

2012-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: CallTips.py has a 'main' test at the end. Currently, test TC fails in 3.x but not 2.7. So either the test became invalid or get_argspec was not completely and correctly converted from get_arg_text. This should be fixed. int.append( does not bring u

[issue12510] IDLE: calltips mishandle raw strings and other examples

2012-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: i12510.test.diff (for Python 3 only) does the following: * Turn method CallTips.get_entity into a module function as it does not use the self parameter and is therefore not really an instance method. * Delete the erroneous _find_constructor function. Even if

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Maureen, I have saved and run a file from the Idle editor perhaps a thousand times over the years with multiple Python versions, including 3.2.3 (retried just now) on both Windows XP and Win7. (Note: on the General tab of the Preferences dialog, one can make

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: #12988 was about saving specifically to a Win7 Explorer window sidebar 'library', and the OP report with 3.2.1. This is different from a normal path as you know it. Maureen said she cannot save 'any file' except to desktop and that the b

[issue12510] IDLE: calltips mishandle raw strings and other examples

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: By 'Python 3 only', I meant that I am not personally planning to backport to 2.7. I do not want to edit the more complicated get_arg_text and consider other issues higher priority. I meant to include a test case for callable instances, but forgo

[issue12510] IDLE: calltips mishandle raw strings and other examples

2012-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Stephen D'Aprano just asked on Python list how to get signatures of builtins, noting that calling inspect.getargspec on a Python-coded subclass of a builtin class raises an exception. So we need another testcase, verify the behavior, and probably ad

<    79   80   81   82   83   84   85   86   87   88   >