[issue15104] Unclear language in __main__ description

2014-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am a bit puzzled. According to https://docs.python.org/2.7/using/cmdline.html#interface-options __main__.py (not indexed) has been supported since 2.5. On the other hand, recursively grepping Lib for 'e' in __main__.py files hits about 20 files

[issue21192] Idle: Print filename when running a file from editor

2014-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have not tried your patch yet, but the relevant code seems to be class ModifiedInterpreter(InteractiveInterpreter): def runcode(self, code): if code.co_filename[0] != '<': ## your patch self.tkconsole.wri

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2014-04-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy ___ Python tracker <http://bugs.python.org/issue18566> ___ ___ Python-bugs-list mai

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2014-04-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nitika, congrats on first patch. One minor problem: spaces at end of lines. It it my fault for not checking, but try to avoid them anyway. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -&g

[issue21139] Idle: change default reformat width from 70 to 72

2014-04-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am puzzled at the differences between the 2.7 and 3.4 patches. There are only three differences between the files - from Tkinter import Tk, Text, TclError + from tkinter import Tk, Text, TclError ? ^ - from test.test_support import requires + from

[issue21192] Idle: Print filename when running a file from editor

2014-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I took another look and tried the patch and discovered that my comments are partly wrong because restart_shell is called before runcode when runcode is use to run a file. (I am not sure how it is called otherwise with self.tkconsole.executing == True.) This

[issue19316] devguide: compiler - wording

2014-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will try to take a look, but anyone else is welcome to also. -- ___ Python tracker <http://bugs.python.org/issue19316> ___ ___

[issue12148] Clarify "or-ing together" doctest option flags

2014-04-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue12

[issue5150] IDLE to support reindent.py

2014-04-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I use rstrip routinely when editing idlelib files, before committing, so it has been useful for that purpose. I do not happen to know what reindent.py does that the current format options do not. #18704 was about integrating the pep8 style checker. That was

[issue21204] multiprocessing example does not work on Windows

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: When quoting from the docs, it is helpful to give a link. https://docs.python.org/2/library/multiprocessing.html#examples That also identifies the version. I verified that the example fails on my 2.7.6 Windows 7 with PicklingError: Can't pickle : it's

[issue21232] Use of '1' instead of 'True' as 'splitlines' argument in difflib documentation

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.x, 1 is guaranteed to be true, in that sense that if 1: print 'true' is guaranteed to print 'true', while True is not necessarily true. >>> True = 0 >>> if True: print 'yes' >>> So 2.x docs shoul

[issue21232] Use of '1' instead of 'True' as 'splitlines' argument in difflib documentation

2014-04-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy ___ Python tracker <http://bugs.python.org/issue21232> ___ ___ Python-bugs-list mai

[issue21251] Standard library trace module crashes with exception

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Third party compiled C crashers are nasty. Two suggestions: 1. Reduce the failing example to the minimum needed to fail. If you bypass all the python code in maps.py and device.py and just 'import dmraid', do you still get a crash at that poin

[issue21253] Difflib.compare() crashes on mostly different sequences

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: An obvious fix for the recursion limit error is to convert the .compare recursion to iteration with a stack (which I could try to do), but I don't know if the deep recursion is expected in this case, or is a bug. Tim? -- nosy: +terry.reedy, tim.p

[issue16261] Fix bare excepts in various places in std lib

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: See more discussion on duplicate #21259. -- ___ Python tracker <http://bugs.python.org/issue16261> ___ ___ Python-bugs-list m

[issue21259] replace "except: pass" by "except Exception: pass"

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is definitely a duplicate of #16261 and should be closed at such. On that issue, in msg202448, I explained that #15313 is about except: in idlelib and idlelib must be patched separately for the reason Raymond repeated (point 2). The other reason (point 1

[issue21261] Teach IDLE to Autocomplete dictionary keys

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks sensible. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue21261> ___ ___ Python-bugs-list mailin

[issue21279] str.translate documentation incomplete

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docstring is more accurate. ">>> str.translate.__doc__ 'S.translate(table) -> str\n\nReturn a copy of the string S, where all characters have been mapped\nthrough the given translation table, which must be a mapping of\nUnicode ordina

[issue21279] str.translate documentation incomplete

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I see that we mostly added the same info. -- ___ Python tracker <http://bugs.python.org/issue21279> ___ ___ Python-bugs-list m

[issue21284] IDLE reformat tests fail in presence of non-default FormatParagraph setting

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I noticed the same while working on #21139 and posted there a patch, 21139-34-fpe.diff, that adds a limit parameter to .format_paragraph_event. Test could then specify a width for each test without touching the user configuration. Different tests could use

[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse

2014-04-18 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan ___ Python tracker <http://bugs.python.org/issue21295> ___ ___ Pytho

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do I understand correctly that only one space is ignored? -- nosy: +terry.reedy stage: -> needs patch title: skipinitialspace in the csv module only skips spaces, not "whitespace" in general -> csv.skipinitialspace only skips spaces,

[issue21232] Use of '1' instead of 'True' as 'splitlines' argument in difflib documentation

2014-04-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that there have been discussions on this point and my memory is to leave 1 alone in 2.x docs. I could be mistaken though. -- ___ Python tracker <http://bugs.python.org/issue21

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: A file per news entry seems a bit much, but an optional file per developer would solve most of the problem for those who have a problem with the status quo. Add a directory named, for instance, news.3.4.1. Put in a template with the allowed section headings

[issue21232] Use of '1' instead of 'True' as 'splitlines' argument in difflib documentation

2014-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you want to backport, go ahead. -- ___ Python tracker <http://bugs.python.org/issue21232> ___ ___ Python-bugs-list mailin

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 4/20/2014 7:59 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> This is already not a rule because the devguide mentions inserting new >> items at random positions to avoid conflicts due to another commit. > &

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: For the recommendation actually put in the devguide, change 'random position' to 'position near but not at the top'. https://docs.python.org/devguide/committing.html#news-entries ends with "A nice trick to make Mercurial’s autom

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: If we put news items in a database keyed by issue number (and I think it reasonable that all news-worthy patches should have a tracker issue), then there would be no conflicts. (We already avoid simultaneous commits to the same issue.) If the database had

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Moving News items from the repository to the tracker, where I think they initially belong anyway, would also remove them as an issue for a future gating system. -- ___ Python tracker <http://bugs.python.

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: A sequential log of commit messages for a particular branch would give one an even better snapshot view of activity since not all commits have news messages and even when they do, commit messages sometimes have additional info. But see below. The essence of

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: My concern with a file for each entry is a possible slowdown of some operations, like TortoiseHg resyncing the diff between repository and working directory (it is not instantaneous even now). However, if there are multiple directories and if they are emptied

[issue21284] IDLE reformat tests fail in presence of non-default FormatParagraph setting

2014-04-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue21139] Idle: change default reformat width from 70 to 72

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I applied my patch as part of #21284. When I did so, I added 'limit=70' so that the tests pass otherwise unchanged. The only thing left here is to change config-main.def. -- ___ Python trac

[issue21138] mimetypes.MimeType UnicodeDecodeError

2014-04-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg216987 ___ Python tracker <http://bugs.python.org/issue21138> ___ ___ Python-bugs-list m

[issue21138] mimetypes.MimeType UnicodeDecodeError

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The unlinked push message was for #21139. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue21138> ___ ___

[issue21139] Idle: change default reformat width from 70 to 72

2014-04-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I put 21138 in the commit message. The push messages are these. New changeset 374746c5dedc by Terry Jan Reedy in branch '2.7': Issue #21138: Change default reformat paragraph width to PEP 8's 72. http://hg.python.org/cpython/rev/374746c5dedc

[issue4913] wave.py: add writesamples() and readsamples()

2014-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, is this something you can review? -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue4

[issue4913] wave.py: add writesamples() and readsamples()

2014-04-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: A patch against default, including a test, would be helpful. -- ___ Python tracker <http://bugs.python.org/issue4913> ___ ___

[issue16104] Compileall script: add option to use multiple cores

2014-04-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Use multiprocessing in compileall script -> Compileall script: add option to use multiple cores ___ Python tracker <http://bugs.python.org/issu

[issue17442] code.InteractiveInterpreter doesn't display the exception cause

2014-04-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am on the fence as to whether this should be treated as a bug fix or enhancement. Claudiu's pydev post gives this as the current InteractiveInterpreter behavior. -- >>> try: ...1 / 0 ... except ZeroDivisi

[issue14218] include rendered output in addition to markup

2014-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The link in the first message does not work. This should: https://docs.python.org/devguide/documenting.html The section under discussion, which pydev controls, as opposed to the full .rst doc at http://docutils.sourceforge.net/rst.html, is https

[issue15569] Doc doc: incorrect description of some roles as format-only

2014-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are no versions for the devguide. There is another misplaced role: : option A command-line option of Python. The leading hyphen(s) must be included. If a matching cmdoption directive exists, it is linked to. For options of other programs or scripts

[issue16574] clarify policy on updates to final peps

2014-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: With respect to editing final peps, I think this issue should be closed. The current PEP 1 statement accurately describes what we do, which is that in general we do not edit final peps. Moreover, Chris has not submitted a patch and I doubt anyone else knows

[issue17227] devguide: buggy heading numbers

2014-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The only change is that '25' is now '28'. A possible solution, without changing Sphinx, is to reduce the headers to a couple of words and put the question under the header, possibly in italics. *Q. How do I do this difficult thing?* A. D

[issue21314] Document '/' in signatures

2014-04-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> title: Bizarre help -> Document '/' in signatures ___ Python tracker <http://bugs.python.org/issue21314> ___

[issue21321] itertools.islice() doesn't release reference to the source iterator when the slice is exhausted

2014-04-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue21321> ___ ___ Python-bug

[issue21325] Missing Generic EXIF library for images in the standard library

2014-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Generic ideas like this, without specific patch or patch prospect, should be first posted on python-ideas. You can reopen this if there is a concrete proposal with some support. However, I agree with Brett about an Exif module. We do not even have an image

[issue21337] Add tests for Tix

2014-04-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue21337> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21341] Configuring 'font' with ttk.Style for 'TEntry' does not change displayed font

2014-04-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be a tcl/tk(ttk) issue. You rediscovered what is documented here: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/ttk-Entry.html Table 40. ttk.Entry options fontUse this option to specify the font of the text that will appear in the

[issue8387] use universal newline mode in csv module examples

2014-04-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue8387> ___ ___ Python-bugs-list mailing list Unsub

[issue18944] Minor mistake in test_set.py

2014-04-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: tim.peters -> terry.reedy ___ Python tracker <http://bugs.python.org/issue18944> ___ ___ Python-bugs-list mai

[issue18944] Minor mistake in test_set.py

2014-04-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue21358] Augmented assignment doc: clarify 'only evaluated once'

2014-04-26 Thread Terry J. Reedy
New submission from Terry J. Reedy: https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "An augmented assignment expression like x += 1 can be rewritten as x = x + 1 to achieve a similar, but not exactly equal effect. In the augmented version, x is

[issue16701] Docs missing the behavior of += (in-place add) for lists.

2014-04-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Augmented assignment confuses enough people that I think we can improve the doc. In #21358 I suggest an augmented version of the previous claim, about evaluation just once. I think something here is needed perhaps even more. I have not decided what just yet

[issue21352] improve documentation indexing

2014-04-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue21352> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21048] Index 'as' in import and with statements

2014-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I forgot the # in commit message. Changeset: 90501 (9a0fc12991e2) Closes 21048: Index 'as' in import and with statements. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue21054] Improve indexing of syntax symbols

2014-04-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +Derby: Convert the _sre module to use Argument Clinic, Index (augmented) assignment symbols ___ Python tracker <http://bugs.python.org/issue21

[issue21054] Improve indexing of syntax symbols

2014-04-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +Index 'as' in import and with statements -Derby: Convert the _sre module to use Argument Clinic ___ Python tracker <http://bugs.python.o

[issue6839] zipfile can't extract file

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adam P, please don't screw around with the version headers. If you want to claim that this is a security issue of the type we care about (threats to the public internet) for patching old releases, and severe enough that we should do anything about it, s

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new patch adds a docstring with spec template, a second example, and a crude runall(). I am inclined to push this as a base for further patches -- at least one to improve runall and others to test more widget classes. These might be separate issues

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New patch. I refined the definition of the parameter for run() in the process of adding a test for EditorWindow.HelpDialog. This cannot be tested directly. This example is also a reminder that some files define more than one display widget. I should try

[issue6839] zipfile can't extract file

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adam P. I politely asked you to leave the headers alone. Since you ignored that, LEAVE THE HEADERS ALONE! If you continue, you will eventually get banned. An issue gets dealt with when a volunteer core developer makes it his top priority. In the past 24

[issue6839] zipfile can't extract file

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nick, do you agree that this should be treated as a bug (apply to all 3 versions)? Should debug messages be 'print'ed, sent to stderr, or go through the warnings module? -- ___ Python trac

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file35096/18104-htest2.diff ___ Python tracker <http://bugs.python.org/issue18104> ___ ___ Python-bug

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file35099/18104-htest3.diff ___ Python tracker <http://bugs.python.org/issue18104> ___ ___ Python-bug

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Defective patches removed and replaced with one that includes current htest.py and should have proper (unix) line endings. -- Added file: http://bugs.python.org/file35116/18104-htest4.diff ___ Python tracker <h

[issue21401] python2 -3 does not warn about str to bytes conversions and comparisons

2014-04-30 Thread Joshua J Cogliati
New submission from Joshua J Cogliati: The -3 option should warn about str to bytes conversions and str to bytes comparisons: For example in Python 3 the following happens: python3 Python 3.3.2 Type "help", "copyright", "credits" or "license" for mo

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here are my notes on modules that should probably be included in htest. Most have some end-of-module test now, many with errors. -- Added file: http://bugs.python.org/file35119/18104-htest.txt ___ Python tracker

[issue7267] format method: c presentation type broken

2014-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the purpose of backporting .format was/is to help people writing forward-looking code, or now, to write 2&3 code, then it should work like .format in 3.x, at lease when the format string is unicode. -- nosy: +terry.reedy stage: needs p

[issue2716] Reimplement audioop because of copyright issues

2014-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Audioop was not removed in 3.x; the security bugs have been fixed; and no lawsuit. I agree with Aaron about modifying 2 files. I would also change 'shamelessly stolen' to 'taken'. IP is no longer something to joke about. -- nosy: +

[issue2716] Document license under which audioop is used

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> docs@python components: +Documentation nosy: +docs@python priority: high -> normal title: Reimplement audioop because of copyright issues -> Document license under which audioop is used ___ Pytho

[issue7267] format method: c presentation type broken in 2.7

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: format method: c presentation type broken -> format method: c presentation type broken in 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2014-05-01 Thread Joshua J Cogliati
Joshua J Cogliati added the comment: Hm. That is a good point. Possibly it could only be done when from __future__ import unicode_literals has been used. For example: python2 -3 Python 2.7.5 Type "help", "copyright", "credits" or "license" for mor

[issue18604] Consolidate gui available checks in test.support

2014-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Zach. -- ___ Python tracker <http://bugs.python.org/issue18604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21385] Compiling modified AST crashes on debug build unless linenumbering discarded

2014-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.1 to 3.3 only get internet security patcches, and I don't believe this is such an issue. It is not clear from the title (a statement, not a request) and your text what specific patch you would like. If you want to 'reopen a discussion',

[issue21402] tkinter.ttk._val_or_dict assumes tkinter._default_root exists

2014-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: A reference to a non-existent attribute fails no matter who calls the function. Stephen, can you suggest a patch, perhaps based on code in other functions that try to access _default_root? -- nosy: +terry.reedy

[issue21414] Add an intersperse function to itertools

2014-05-02 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/issue21414> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20544] Use specific asserts in operator tests

2014-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The generic error message for the first is 'False is not true'. Clear but useless. The error message for the second is the more specific ' is not None'. Since the expression was supposed to evaluate to None, but did not, it would be helpful

[issue20866] segfailt with os.popen and SIGPIPE

2014-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was thinking the same thing. This appears to be one of the 2.x bugs that have been fixed in 3.x but not 2.x because backporting the fix might break working code. If there another sensible fix that would be acceptable in 2.x

[issue18314] Have os.unlink remove junction points

2014-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, new issue. -- ___ Python tracker <http://bugs.python.org/issue18314> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21425] Python 3 pipe handling breaks python mode in emacs on Windows

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

[issue21427] installer not working

2014-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I compile 32 bit debug binaries from repository with the free VC++ express 2010. I presume the 'install' option works. -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.o

[issue21439] Numerous minor issues in Language Reference

2014-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suggest at least a patch per chapter (3.x.y, 4.x.y, 6.x.y, ...). -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue21

[issue21467] IDLE icon not included in Windows installer

2014-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Creating issues with patches, so others can comment, is a good idea even when you have commit rights. Adding yourself to https://docs.python.org/devguide/experts.html#experts is a good way to test new commit rights

[issue21467] IDLE icon not included in Windows installer

2014-05-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, I am *really* glad you caught this. We obviously need a new test somewhere that would have caught this before the release. How is the installer tested now? Is it run and the installed python tested with the test suite? If so, a new idle test that runs

[issue21473] Idle: test startup scripts.

2014-05-11 Thread Terry J. Reedy
New submission from Terry J. Reedy: Add test_idle/test_startup to test that Idle starts without obvious error with any of idlelib/idle.(bat, py, pyw). Test should presumably use subprocess. Look at test.support.interactive_python for either direct use or as a model. It in turn uses

[issue21474] Idle: updata fixwordbreaks() for unicode identifiers

2014-05-11 Thread Terry J. Reedy
New submission from Terry J. Reedy: EditorWindow.py has this function, applied to editor and shell windows, which is obsolete for Python3 and unicode identifiers. def fixwordbreaks(root): # Make sure that Tk's double-click and next/previous word # operations use our definition

[issue21477] Idle: improve idle_test,htest

2014-05-11 Thread Terry J. Reedy
New submission from Terry J. Reedy: #18104 created idle_test/htest.py. Besides adding more tests in other issues, some possible improvements to htest itself follow. Many depend on not reusing run, as it now it, in the runall loop. What is left in common to both might be factored out. * For

[issue21477] Idle: improve idle_test,htest

2014-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy stage: -> needs patch type: -> enhancement versions: +Python 2.7, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35221/21477-htest.txt ___ Python track

[issue18104] Idle: make human-mediated GUI tests usable

2014-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The revised patch, as pushed, will serve as a base for this portion of Saimadhav's GSOC project. #21477 proposes changes to htest itself. Adding tests from other modules will be dependencies of that issue. -- resolution: -> fixed stage: patc

[issue21402] tkinter.ttk._val_or_dict assumes tkinter._default_root exists

2014-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: >Due to the risk of breaking existing user code which uses these private >functions, they should be left with old signature and new functions should be >added. The reason we make things private is so we don't have to do this. Why would you mak

[issue19625] IDLE 2.7 should use UTF-8 as it's default encoding

2014-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: For the benefit of anyone finding this in a search, I fixed the title to match the actual request. UTF-8 *is* already the default encoding in 3.x, and upgrading to 3.x if at all possible is the best solution to unicode problems. -- nosy: +terry.reedy

[issue15809] 2.7 IDLE console uses incorrect encoding.

2014-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: It took me awhile to re-recognize Это из консоли: as 'made in konsole'. I agree that the discrepancy between Idle shell and console is a bug relative to a general goal of having them work as nearly the same as possible and sensible. > This bug is

[issue15809] 2.7 IDLE console uses incorrect encoding.

2014-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Idle 3.x has Martin's patch, except that the 'if' clause is merely commented out rather than removed. (Perhaps someone wanted to test the removal first. It should now be deleted.) My 2.7 Idle has Default Source Encoding ... [x] None. Since t

[issue21468] NNTPLib connections become corrupt after long periods of activity

2014-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue21468> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21477] Idle: improve idle_test.htest

2014-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Idle: improve idle_test,htest -> Idle: improve idle_test.htest ___ Python tracker <http://bugs.python.org/issu

[issue21484] More clarity needed about difference between "x += e" and "x = x + e"

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

[issue21495] Sane default for logging config

2014-05-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Library (Lib) stage: -> test needed type: -> enhancement versions: +Python 3.5 ___ Python tracker <http://bugs.python.org/i

[issue21495] Sane default for logging config

2014-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Moving discussion to python-ideas was the right thing to do. I am closing this for the present as there is no concrete accepted idea to write a patch for. Thomas, if that changes, you can re-open. -- nosy: +terry.reedy resolution: -> later st

[issue21511] Thinko in Lib/quopri.py

2014-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Senthil, David, I hope one of you understands this. I looks like a minor fix. -- nosy: +orsenthil, r.david.murray, terry.reedy stage: -> test needed versions: +Python 3.4 ___ Python tracker <http://bugs.pyth

<    83   84   85   86   87   88   89   90   91   92   >