[issue11205] Evaluation order of dictionary display is different from reference manual.

2013-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11343] Make errors due to full parser stack identifiable

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

[issue12075] python3.2 memory leak when reloading class with attributes

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

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

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

[issue14507] Segfault with deeply nested starmap calls

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

[issue12211] Better document math.copysign behavior.

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

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The test_delegator patches were useful for working out and testing the use of the gui resource. However, they are not appropriate for testing the Delegator class. It is a standalone class that has nothing to do with tkinter; in fact, the file has no imports

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I asked on the core-mentorship list about pydev test philosophy. I got useful answers from Nick and Antoine that can be summarized as "We are pragmatic, not dogmatic." One may have to be a list member to read this link, but here it is. http://mail.

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-30 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

[issue18288] Idle 2.7: Run Module does not set __file__

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks Roger, problem fixed. -- dependencies: +idle "Run Module" (F5) does not set __file__ variable resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed ___ Py

[issue13582] IDLE and pythonw.exe stderr problem

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Todd, do you have a Mac to test this on? This patch treat sending messages to a widget as a backup option. In 18318 I propose we make Idle a true gui app, with all messages other than 'No tkinter' handled by the gui. Console writing, when availa

[issue18318] Idle: stop depending on console output

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The proposal here is to flip the roles of text console and graphics gui, rather than to indefinitely bandage the current roles. I would want that even with the patch for #13582 applied (which I hope can be done soon

[issue13582] IDLE and pythonw.exe stderr problem

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Print in the user process goes to shell window. You need to stimulate (or just add) print or warn in the idle process, which normally goes to console, or nowhere. It is hard (intentionally, I am sure) to dynamically manipulate idle process code. Roger said

[issue7136] Idle File Menu Option Improvement

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am planning to commit. PS. Shorter names that include '27', '33', etc, are easier to work with ;-). -- assignee: roger.serwy -> terry.reedy ___ Python tracker <http:/

[issue7136] Idle File Menu Option Improvement

2013-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: For some reason, the idlelib/help.txt was reformatted with double indents (not sure I like this) for 3.4 but not 3.3. So parts of the patch against 3.4 would not apply to 3.3, which must be patched first. And the merge to 3.4 likewise failed for two files. We

[issue7136] Idle File Menu Option Improvement

2013-06-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.o

[issue18335] Add textwrap.dedent, .indent, as str methods.

2013-06-30 Thread Terry J. Reedy
New submission from Terry J. Reedy: To end proposals for new syntax to do what they do for triple-quoted strings. Nick Coghlan gave reasons as follows: run time cost small, can be optimized away, would be used more than some other string methods. http://mail.python.org/pipermail/python-ideas

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The test passes as written, so I am not sure what 'mostly works' means. I said elsewhere, and revised README to match, that I changed my mind about test case names starting with 'Test'. Ending with 'Test' is much more commo

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch models Text.data as a single string. But a tkinter Text contains a sequence of strings. While the single sequence works for the one test of the ...event method, a list of strings is needed for .get and many other methods with position parameters to

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Phil (and Todd): I do not know what you mean by "behaves like more like an actual Text Widget" and whether you are talking about internal or external behavior. But I know that tk does not use an immutable string to hold the text. There is no such

[issue13582] IDLE and pythonw.exe stderr problem

2013-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: No change. pythonw.exe is still present and in use. -- ___ Python tracker <http://bugs.python.org/issue13582> ___ ___ Python-bug

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified problem continuing problem windows. There is only a 'crash' when running under pythonw, which does not happenon linux, as far as I know. When running on a console, the error traceback is the same as in msg145581 (with line numbe

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to make two separate commits. First add mock Text into mock_tk.py, and add a new test_text.py. I suggested looking at the tkinter Text test. I turns out that it only tests a few special search cases. I am guessing that they have something to do with

[issue18365] Idle: mock Text class and test thereof

2013-07-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: test_rstrip2.patch contain a Text class to be added to mock_tk.py. The purpose of a mock class is to imitate another class with respect to certain behaviors. The way to verify that is does that is to run the same set of tests for those behaviors with both

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy dependencies: +Idle: mock Text class and test thereof ___ Python tracker <http://bugs.python.org/issu

[issue18365] Idle: mock Text class and test thereof

2013-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The rstrip patch is with #18279. Design discussion occurred on #18226. Both issues and other future issues depend on this one. -- ___ Python tracker <http://bugs.python.org/issue18

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided that the first commit should be a separate issue that this issue depends on. -- assignee: -> terry.reedy dependencies: +Idle: mock Text class and test thereof ___ Python tracker <http://bugs.pyth

[issue18326] Mention keywork only in list.sort docs

2013-07-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Not Clear Docs -> Mention keywork only in list.sort docs type: -> enhancement ___ Python tracker <http://bugs.python.org/i

[issue18326] Mention 'keyword only' for list.sort, improve glossary.

2013-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'keyword argument' refers one to 'argument'. The entry for the latter says that there are only two types of arguments, keyword and positional. That is true as to how actual arguments are passed. There are 3 possibilities for how a s

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: When responding by email, *please* delete the quote, except perhaps for a line or two if really needed. The email signature is *never* needed and *always* noise. I install on Windows with no problem. I presume you too see 'Install' by right-click

[issue18326] Mention 'keyword only' for list.sort, improve glossary.

2013-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new 'which' should be 'that'. Other than that, looks good to me. -- ___ Python tracker <http://bug

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the snips. Have you installed other applications that use a .msi installer (many do not). Have you tried another Python installer? For instance, change .5 to .3 in your link. Are you using a 64-bit installer on 32-bit Windows? It seems not as the

[issue11908] Weird `slice.stop or sys.maxint`

2013-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker <http://bugs.python.org/issue11908> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: You will have to wait until Martin can respond, but the log says failure occurred with C:\Users\astar\AppData\Local\Temp\MSIA812.tmp entry: _CheckDir@4 Description from web: Driver Install Frameworks for Applications library module This appears to part of

[issue18365] Idle: mock Text class and test thereof

2013-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great start! Some revisions: * Create root directly (and just once); add root.destroy, which added several warnings. * Create Text directly; test should not require Editors. This removed warnings. I suspect that EditorWindow.py does other things that are not

[issue12735] request full Unicode collation support in std python library

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

[issue12731] python lib re uses obsolete sense of \w in full violation of UTS#18 RL1.2a

2013-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue12731> ___ ___ Python-bugs-list mailing list Unsub

[issue12734] Request for property support in Python re lib

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

[issue12733] Request for grapheme support in Python re lib

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

[issue12728] Python re lib fails case insensitive matches on Unicode data

2013-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue12728> ___ ___ Python-bugs-list mailing list Unsub

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/issue18360> ___ ___ Pyth

[issue18365] Idle: mock Text class and test thereof

2013-07-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upon further review and tests, I notice that ._decode * is a partial implementation of Text.index, * so it should be renamed index and tested against Text.index, * and it currently returns the wrong values for 'end' and high out-of-bounds indexes.

[issue18365] Idle: mock Text class and test thereof

2013-07-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whoops, I got that partly wrong in that index returns a 'r.c' string after doing what _decode is supposed to do, which is to decode the input according to the current text. The mock index should just return '%s.%s' % _decode(position)

[issue18365] Idle: mock Text class and test thereof

2013-07-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The real problem with 'end' and 'big.m' is that there are three proper decodings, depending on the method asking. I think this patch mostly solves the problems mentioned before. All tests, including many new ones, pass. ---

[issue18365] Idle: mock Text class and test thereof

2013-07-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: A little more polishing and the tests pass again. I think I am done with the implemented methods. Before I commit, I want to review the set of 'pass' functions. It seems a bit haphazard. I think display changing methods like .see are fine.I am not

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I want to commit this patch more or less as is so we can move forward with the tests that do not need anything more. We can then elaborate mock Text as needed and desired. Looking at http://effbot.org/tkinterbook/text.htm, for instance, I see that 'li

[issue18374] ast.parse gives wrong position (col_offset) for some BinOp-s

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue18374> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18375] python -m test --randseed 1234 does not randomize tests

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I know that there is no proper regrtest doc to update, but is there a docstring somewhere in the manual? Or should this be closed? -- nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue18

[issue18376] show the effective count of process when running the testsuite

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue18376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue18383> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I documented and left most of the 'pass' methods. The bind method is inherited from Misc class and is not specifically a Text method, but I will leave it here for now. These def undo_block_start(self, *args): pass def undo_block

[issue18429] IDLE: Format Paragraph doesn't function with comment blocks

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I expect to find things like this while writing tests. A small fix can be part of the test file commit, like I did with configSectionNameDialog and its test. In any case, where is the test that fails without the patch and passes with it? It should be part of

[issue18410] IDLE Improvements: Unit test for SearchDialog.py

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue18410> ___ ___ Python-bugs-list mailing list Unsubscri

[issue18409] IDLE Improvements: Unit test for AutoComplete.py

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue18409> ___ ___ Python-bugs-list mailing list Unsubscri

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Phil (and everyone else): PLEASE submit patches with 4 space indents and no tabs and no trailing spaces. Even if the code below runs in the CPython interpreter, self.undo = mockUndoDelegator() <8 spaces> <4 spaces> def get_selec

[issue18365] Idle: mock Text class and test thereof

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Well, that is annoying. I expected 2.7 failures due to mistakes already corrected, but not with 3.x, and these look to be the latter. == ERROR: setUpClass

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am aware of patchcheck, but the problem for me is that 'make patchcheck' does not work on Windows; the doc is wrong on the awkward to type Windows alternative; and it is usually useless anyway. But I agree that anyone who does not use a editor con

[issue16079] list duplicate test names with patchcheck

2013-07-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue16079> ___ ___ Python-bugs-list mailing list Unsub

[issue18439] Patchcheck for ACKS, NEWS does not work on Windows.

2013-07-12 Thread Terry J. Reedy
New submission from Terry J. Reedy: My current list of changed_files() (command from the code) % hg status --added --modified --no-status Lib\idlelib\RstripExtension.py Misc\ACKS Misc\NEWS Lib\idlelib\idle_test\mock_idle.py Lib\idlelib\idle_test\test_rstrip.py but F:\Python\dev\py33>pcbu

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Trying it out, I rediscovered that patchcheck has a Windows bug. This time I reported it ;-) #18439. -- ___ Python tracker <http://bugs.python.org/issue18

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had to remove the dependency to close this, since the test_text issue #18365 was reopened. -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A simple change to RstripExtension.py fixed the marking of unchanged files as changed. I also removed a useless extra iteration. Having a test makes it possible to do things like this without breaking what already worked. -- dependencies: -Idle: mock

[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking through the 11 stable 3.x buildbots (1 still running), I see 3 outcomes. 1. Windows: test seemed to run, test_idle listed in 'altered environment'. 2. Some *nix: test gave no error, test_idle lit in 'tests skipped'. I presume this

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-13 Thread Terry J. Reedy
New submission from Terry J. Reedy: This is a continuation of #18365, where it was discovered after the first set of pushes that test.support.requires('gui') is currently insufficient (on non-Windows systems) for skipping gui tests on buildbots when they should be skipped, b

[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The change worked, so this issue can be closed. I opened a new issue, #18441, for dealing with the problem in test_idle by moving the TclError check there, so it does not arise in other idle_test/test_*.py files. -- stage: needs patch -> commit

[issue17583] IDLE HOWTO

2013-07-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: (If someone else wants to take this before I get to it, feel free. But there seems to be enough support to add something eventually.) It seems that Rietveld is able to ignore the binaries, but in the future, lets separate the text and images. If nothing else

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I said on one of the other issues, which I hope you read, we have the option of gui tests when mocking becomes too complicated. So at least for now, put the test that requires marks in a separate test case with requires('gui') in setUPClass. T

[issue18472] PEP 8 updates - internal interfaces and import *

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

[issue18472] PEP 8 updates - internal interfaces and import *

2013-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is the scope of this issue just what is in the title, the whole PEP, or something in between;-? For instance, Guido once approved (on pydev) adding an admonition to Programming Recommendations something like the following. * Use a def statement instead of an

[issue18472] PEP 8 updates - internal interfaces and import *

2013-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The public versus internal part of this issue is related to #10434 Document the rules for "public names", which contains among other things a suggested rewrite for PEP 8. -- ___ Python trac

[issue18478] Class bodies: when does a name become local?

2013-07-16 Thread Terry J. Reedy
New submission from Terry J. Reedy: http://docs.python.org/3/reference/executionmodel.html#naming-and-binding says "The following are blocks: ... a class definition." and "If a name binding operation occurs anywhere within a code block, all uses of the name within the block

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I think still needs to be done. * FormatParagraph.py: As near as I can tell from the patch, the comments are correct except that one is needed for reformat_paragraph. I gather that the substantive code change allows reformatting of a comment block when

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am dubious that the current code will work with tkinter. Marks name slice positions. Tags name 0 to many pairs of slice positions, with 'sel' predefined as corresponding to a mouse selection and limited to one pair. According to my tests, tag_add(

[issue18453] There are unused variables inside DateTimeTestCase class in test_xmlrpc.py

2013-07-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +belopolsky ___ Python tracker <http://bugs.python.org/issue18453> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18460] .chm documentation files advertised in download.html but not there.

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The files are built and included with the Windows installer. Perhaps they can be installed without installing anything else. In any case, unless they are (again?) made available as a separate download, "HTML Help (.chm) files are made available i

[issue18484] No unit test for iso2time function from http.cookiejar module

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Alexander, I added you for possible review because of your interest in time functions. I wonder a bit if this function is redundant with functions in other modules. -- nosy: +belopolsky, terry.reedy stage: -> patch rev

[issue18473] some objects pickled by Python 3.x are not unpicklable in Python 2.x because of incorrect REVERSE_IMPORT_MAPPING

2013-07-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +alexandre.vassalotti, pitrou ___ Python tracker <http://bugs.python.org/issue18473> ___ ___ Python-bugs-list mailin

[issue18466] Spelling mistakes in various code comments.

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'everytime' is not an English word and should be corrected; hardcoded should be hard-coded. Could you at least describe your script. My fantasy is being able to check text parts of files with the help of a program such as LibreOffice. -

[issue18492] Add test.support.regrtest_run flag, simplify support.requires

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Currently, all requires() tests pass when the file they occur in is run as '__main__'. This is especially needed when the file ends with the now standard boilerplate. if __name__ == '__main__': ... unittest.main(...) as there

[issue18492] Add test.support.regrtest_run flag, simplify support.requires

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: #18441 is partly related in that it also suggests (eventually) moving check code (for guis) from multiple test files to support and regrtest. I do not believe there would be any conflict. -- ___ Python tracker

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Further changes should be aimed at actual idlelib uses. Wordstart and wordend are used once each in AutoExpand.py (and wordstart a couple of times for tag.start positions). So forget them. Does idlelib really have indexes like "2.3 + 1c" ('

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Resolution is for when the issue is closed, and I expect this to be closed as 'fixed'. -- assignee: -> terry.reedy resolution: works for me -> stage: -> patch review ___ Python tracker <

[issue18439] Patchcheck for ACKS, NEWS does not work on Windows.

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ronald or Ned, is the attached patch OK for Macs? -- assignee: -> terry.reedy keywords: +patch nosy: +ned.deily, ronaldoussoren stage: needs patch -> commit review Added file: http://bugs.python.org/file30999/patchchec

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I took a look. Not fun ;-). Pending a more permanent fix, I am applying a revised patch, first to 2.7 to make sure it works. -- ___ Python tracker <http://bugs.python.org/issue18

[issue18439] Patchcheck for ACKS, NEWS does not work on Windows.

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, I forgot to paste the patch diff into Notepad++ rather than Idle in order to save it without \r. (That would be a useful option for Idle too.) Good to know that I can forget about Classic Mac. I deleted the debug print

[issue18439] Patchcheck for ACKS, NEWS does not work on Windows.

2013-07-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: (The fix was incomplete because 'delete' in the except clause should be 'remove'.) I finally realized that I could test the except clause by raising TclError explicitly just before it. I reverted both changes because they do not seem to

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: More noise. Much of what I said above was incorrect due to version mixup. The one extra fix I did not commit might have been enough, but I will wait until I have tested it. -- stage: commit review -> patch rev

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.3.2, 3.4.0 the traceback says that the invalid continuation byte (immediately, when '𐒢' is pasted) is ED. Snipped version is File "F:\Python\dev\py33\lib\tkinter\__init__.py", line 1071, self.tk.mainloop(n) UnicodeDecodeError:

[issue18533] Avoid error from repr() of recursive dictview

2013-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixing 3.3 is more likely that 3.4. I can view RuntimeError as a bug less obnoxious than crash, but others may differ. Ultimately, the release managers can decide. This is definitely appropriate for 3.4, so please add tests. If the patch is for 2.7, please

[issue18538] `python -m dis ` should use argparse

2013-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: `python -m dis ` relying on argparse -> `python -m dis ` should use argparse versions: +Python 3.4 -Python 3.5 ___ Python tracker <http://bugs.python.org/issu

[issue791968] Arguments tooltip wrong if def contains tuple

2013-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: If someone pushes a patch and closes the issue and the buildbots break, reopening the issue is the appropriate response. Too much later and the pool of potentially interested people will have changed. Anyway, the new issue is #18539. -- nosy

[issue18539] Idle 2.7: Calltip wrong if def contains float default value

2013-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue18548] In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()

2013-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord stage: -> patch review versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue18558] Iterable glossary entry needs clarification

2013-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Stephen, your class, or rather instances thereof when initialized with a sequence, follow the old iteration protocol. You might call them iterators in the generic sense, though I cannot remember whether we used 'iterator' much before the introduct

[issue18553] os.isatty() is not Unix only

2013-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch type: -> behavior versions: -Python 3.1, Python 3.2, Python 3.5 ___ Python tracker <http://bugs.python.org/i

[issue18572] Remove redundant note about surrogates in string escape doc

2013-07-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch type: -> behavior versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue18572> ___ ___

[issue18573] In unittest.TestCase.assertWarns doc there is some text about assertRaises()

2013-07-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue18573> ___ ___ Python-

[issue18572] Remove redundant note about surrogates in string escape doc

2013-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3.2: >>> '\uD80C\uDC80' == '\U00013080' False The statement that surrogate code units can be encoded this way is still true. Indeed, it is now the only way to get such code units into a string. The suggestion that a pair wi

[issue18573] In unittest.TestCase.assertWarns doc there is some text about assertRaises()

2013-07-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy nosy: +terry.reedy ___ Python tracker <http://bugs.python.org/issue18573> ___ ___ Python-

<    77   78   79   80   81   82   83   84   85   86   >