Changes by Terry J. Reedy :
--
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issue11205>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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.
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
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
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
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
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
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:/
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
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
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
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
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
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
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
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
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
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
Changes by Terry J. Reedy :
--
assignee: -> terry.reedy
dependencies: +Idle: mock Text class and test thereof
___
Python tracker
<http://bugs.python.org/issu
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
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
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
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
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
Terry J. Reedy added the comment:
The new 'which' should be 'that'. Other than that, looks good to me.
--
___
Python tracker
<http://bug
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
Changes by Terry J. Reedy :
--
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issue11908>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
Changes by Terry J. Reedy :
--
resolution: -> works for me
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue18360>
___
___
Pyth
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.
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)
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.
---
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
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
Changes by Terry J. Reedy :
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue18374>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue18376>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue18383>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Terry J. Reedy :
--
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue18410>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Terry J. Reedy :
--
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue18409>
___
___
Python-bugs-list mailing list
Unsubscri
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue18472>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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(
Changes by Terry J. Reedy :
--
nosy: +belopolsky
___
Python tracker
<http://bugs.python.org/issue18453>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Terry J. Reedy :
--
nosy: +alexandre.vassalotti, pitrou
___
Python tracker
<http://bugs.python.org/issue18473>
___
___
Python-bugs-list mailin
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.
-
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
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
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" ('
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
<
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
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
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
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
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
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
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:
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
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
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
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: test needed -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti, michael.foord
stage: -> patch review
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issu
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
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
Changes by Terry J. Reedy :
--
stage: -> needs patch
type: -> behavior
versions: +Python 3.4
___
Python tracker
<http://bugs.python.org/issue18572>
___
___
Changes by Terry J. Reedy :
--
stage: -> needs patch
versions: +Python 2.7, Python 3.3
___
Python tracker
<http://bugs.python.org/issue18573>
___
___
Python-
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
Changes by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue18573>
___
___
Python-
8101 - 8200 of 13135 matches
Mail list logo