Change by Terry J. Reedy :
--
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Verified
Traceback (most recent call last):
File "F:\Python\a\tem4.py", line 5, in
style.map('Custom.TNotebook.Tab', **style.map('TNotebook.Tab'))
File "C:\Program Files\Python310\lib\tkinter\ttk.py", line 403,
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +22182
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23291
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
tcl/tk 8.5, likely used in 2012 test, was by default compiled without thread
support. 8.6, used now for sure on psf Windows and Macs installs and I believe
on most *nixes, the default is *with* thread support. Given the comments, this
might affect results
Terry J. Reedy added the comment:
So, is anything more needed, or should PR-22798 and this issue be closed?
--
nosy: +orsenthil
___
Python tracker
<https://bugs.python.org/issue2
Terry J. Reedy added the comment:
locale.getlocale(category=LC_CTYPE)
Returns the current setting for the given locale category as sequence
containing language code, encoding. category may be one of the LC_* values
except LC_ALL. It defaults to LC_CTYPE.
Except for the code
Terry J. Reedy added the comment:
Thank you. Good luck tracking down the problem.
--
___
Python tracker
<https://bugs.python.org/issue42335>
___
___
Python-bug
Terry J. Reedy added the comment:
I cannot anymore remember seeing this. So closing.
--
resolution: -> out of date
stage: test needed -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
except ... is another instance of (exception) class or tuple of classes.
--
___
Python tracker
<https://bugs.python.org/issue17
Terry J. Reedy added the comment:
> Would this not also stop a number of IDLE tests? (Terry?)
Yes, at least half of them. It took years to get us to run gui tests with the
X simulator mock. When we first added gui tests for IDLE in 2013, they (and
the t/tk gui tests) were only run
New submission from Terry J. Reedy :
Followup to PR-23393 of #1635741. Use inspect.getdoc to get docstrings.
Restore test skipped in that PR and fix two that will fail because getdoc gets
docstrings that are currently missed.
The line defining fob is only needed to get signatures for
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +22309
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/23416
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 7ddbaa7a1b3e61847ee99658be6a7268a049e302 by Terry Jan Reedy in
branch 'master':
bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)
https://github.com/python/cpython/commit/7ddbaa7a1b3e61847ee99658be6a72
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
Christian, I don't see any open PRs to be commit reviewed.
--
nosy: +terry.reedy
versions: +Python 3.10
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
What you are or should be asking for is an alternate string representation
method, perhaps called 'colon', so that for instance
myslice.colon() == '::2'
The function could take an optional length (as with .indices, but optional) to
prod
Terry J. Reedy added the comment:
I agree with Eric suggestion.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue42356>
___
___
Python-bug
Terry J. Reedy added the comment:
New changeset 6edf06b24a9335a2b0d44634a95e4f5ba0d586d9 by ArioA in branch
'master':
bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)
https://github.com/python/cpython/commit/6edf06b24a9335a2b0d44634a95e4f5ba0d586d9
-
Terry J. Reedy added the comment:
Documenting dataclass fields strikes me as a reasonable request. Since most
most field values cannot have a .__doc__ attribute...
> It could be stored in the dataclass-specific data attached to a class,
The obvious place.
> but then you'd ha
Terry J. Reedy added the comment:
New changeset aa3a3521cef3998d4f9e7f7ff721163b6e3e5f39 by Quentin Hibon in
branch 'master':
bpo-42419: Correct 'deprecatations' is What's New 3.9 (GH-23421)
https://github.com/python/cpython/commit/aa3a3521cef3998d4f9e7f7ff721163b6
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset ed0201805c036e4bc26670ec7ccffefb8e219f78 by Miss Islington (bot)
in branch '3.9':
bpo-42419: Correct 'deprecatations' is What's New 3.9 (GH-23421) (GH-23435)
https://github.com/python/cpython/commit/ed0201805c036e4
Terry J. Reedy added the comment:
I am opposed to more prefix characters.
Are any string literal optimizations done now at compile time, like for
'abc'.upper? It does not exactly make sense to me to do just .dedent. But
without the optimization, adding str.dedent withou
Terry J. Reedy added the comment:
I read to the end of the patch and found astfold_dedent.
A small point in favor of textwrap.dedent is immediately announcing that the
string will be dedented.
--
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
The confusion about error.args is this:
BaseException.args is documented as "The tuple of arguments given to the
exception constructor."
https://docs.python.org/3/library/exceptions.html#base-classes
args[0] is usually and I would expect it to alw
Terry J. Reedy added the comment:
New changeset 453bc1da2023d6cbe362637a2e0b06d0521f013c by Serhiy Storchaka in
branch 'master':
bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447)
https://github.com/python/cpython/commit/453bc1da2023d6cbe362637a2e0b06
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f by Ram Rachum in branch
'master':
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
https://github.com/python/cpython/commit/bd8c22e1fa8f8f6e31ee083a8b9321a2c324f02f
-
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
I took a look at the module and its doc. It is based on a 1980s model of
document processing that has been somewhat superseded by html, xml, and pdf.
The module itself has been pretty well superseded by stdlib and external
moudles. IDLE, for instance
Terry J. Reedy added the comment:
'Intermittent' appears to mean under 1%, but to much to ignore. Serhiy's patch
is based on some definite hypothesis as to the reason. The test of his patch
would be to merge it and see if failure re-occurs or not. Doing so seems bette
Terry J. Reedy added the comment:
A coda on my 'obsolete and superseded' claim: text formatting events have 2
sources -- the text being displayed and user actions while reading. formatter
somewhat mixes these together.
html.parser.HTMLParser generates events from the text in t
Terry J. Reedy added the comment:
Something seems wrong somewhere. First,
codecs.open(filename, mode[, encoding[, errors[, buffering]]])
in the doc, should be, to match the code, in the current sytle
codecs.open(filename, mode='rb', encoding=None, errors='strict', bu
Terry J. Reedy added the comment:
What I described is the behavior of codecs.StreamReader. However, the
streamreader associated with a particular encoding(codec) might do differently.
My understanding is that StreamReader is an example that a particular codec can
use, derive from, or merely
Terry J. Reedy added the comment:
I see the two as really one issue -- minor corrections to the string section of
stdtype.rst -- that py.user happened to have filed as two.
But I could have left out the closes and done at least one explicitly.
Or I could have closed this and said I was
Changes by Terry J. Reedy :
--
stage: needs patch -> patch review
versions: +Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue1
Terry J. Reedy added the comment:
By 'update', do you mean to change
+Due to the way releases are made on different platforms, we sometimes test
+files on a *nix system with Windows file endings. Unfortunately, that leaves
+some of the test files broken:
to something like
+Issue
Terry J. Reedy added the comment:
Those lines were whitespace reformed by Antoine in 61466/61463.
They previously came from 28325 which fixed #663074 (2003).
I do not see any discussion in that issue of making the import optional.
I suspect there is no test of Python working with no encodings
Terry J. Reedy added the comment:
I believe it is a known fact that repeated repeats, like (...+)*, make for slow
matching (if they work at all) with the current re engine.
[I would not be surprised if Perl does some special casing to (in effect at
least) rewrite the re to your second version
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti, michael.foord
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue13726>
___
___
Python-
Terry J. Reedy added the comment:
unittest.test.test_program.TestCommandLineArgs has a few test functions that do
at least a minimal test of help and verbosity options and command line args.
Should more be added for other options, like this and #13726?
--
nosy: +ezio.melotti
Terry J. Reedy added the comment:
Thanks for the report.
--
nosy: +terry.reedy
versions: +Python 2.7, Python 3.2
___
Python tracker
<http://bugs.python.org/issue13
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
versions: -Python 3.1
___
Python tracker
<http://bugs.python.org/issue13744>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
stage: -> test needed
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue13749>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
2.6 and 3.1 only get security fixes.
I am only guessing that this is still an issue for 3.2. A test with 3.2.2 would
be good. If this is really about pickling behavior w/r/t exceptions that cannot
be changed then this should be closed.
--
nosy
Terry J. Reedy added the comment:
Ezio, Raymond: is it the doc that is wrong?
--
nosy: +ezio.melotti, rhettinger, terry.reedy
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
--
components: +Interpreter Core
stage: -> patch review
type: -> enhancement
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/i
New submission from Terry J. Reedy :
Modules/_tkinter.py #includes Modules/tkinter.h, tcl.h, and tk.h. The latter
two #include tclDecls.h, tclPlatDecls.h, and tkDecls.h. I obtained 8.5.9
versions of all 5 and added them to Include/. Although they came from Ubuntu,
they appear to be cross
Terry J. Reedy added the comment:
If you are saying that it is better to open a blank window than to not open a
filled window, I agree.
--
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
I tested with 3.2.2 on Win7. Deletes prompt in editor window with both
backspace and delete keys, but not prompt in shell. EditorWindow.py is
identical in all three branches, at least in this area, so pushed. One nuisance
gone. Thanks Roger
Changes by Terry J. Reedy :
--
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue13039>
___
___
Terry J. Reedy added the comment:
I believe this should be closed in favor of #13122. The sidebar needs more
change than just this one thing. See my proposal for a version-independent
sidebar in msg150907, which Georg B. approved of.
--
___
Python
Terry J. Reedy added the comment:
I have read readme.txt, more than once. It seems a bit out-of-date. Parts of it
I have trouble understanding, or at least, being sure I have understood. It
seems to disagree with the devguide about whether to build debug or release
builds. I though of
Terry J. Reedy added the comment:
I just realized that there is 'another' reason not to reuse builtin names
(other than those usually given): they will be colorized as builtins even if
they have no relation to the builtin. Make_pat uses the function any() defined
just above (
Terry J. Reedy added the comment:
If there are any tests for Idle, I have not found them. No idlelib/test/, no
test/test_idle. There is a testcode.py with random code. I want to look at
tkinter/test/ someday to see if it has any models for testing Idle. Roger, do
you know of anything
Changes by Terry J. Reedy :
--
assignee: -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue6528>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Terry J. Reedy :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue11906>
___
___
Python-bugs-list mailing list
Unsubscri
Terry J. Reedy added the comment:
'All Releases' rather than 'Everything else' is both more accurate and to me,
more graceful.
--
___
Python tracker
<http://bug
Terry J. Reedy added the comment:
The library manual has chapters for
unittest: the generic testing framework (package) that any app can use
test: a package with the Python test suite; test_x tests module x
It has other modules and subpackages, probably not all documented.
The test
Terry J. Reedy added the comment:
The current indentation is a consequent of using tabs for indents.
Changing that is the subject of #7676.
#1196946 is a similar issue.
--
nosy: +terry.reedy
resolution: -> duplicate
status: open -> closed
superseder: -> IDLE shell shouldn
New submission from Terry J. Reedy :
In the Fonts/Tabs tab of the IDLE Preference dialog, the large box for examples
of the font selected shows a small square of ascii chars. I think the box
should also show 1 char for each of several alphabets so the consequence of
choosing various fonts
Terry J. Reedy added the comment:
I closed #8285 as it merely reported a consequence of using tabs.
The Command Prompt window used for interactive Python on Windows only uses
fixed-pitch fonts. Idle (tk) allows any font. I happen to use Lucida Sans
Unicode (variable pitch) for what I think
Terry J. Reedy added the comment:
I agree that modal is a nuisance. Another problem with the help text window is
that, on my system, it opens too narrow -- about 2/3rds the width of a shell or
edit window. So many line are wrapped. Is this easy to fix and include with
this patch, or does it
Terry J. Reedy added the comment:
When I click r71126 it is mapped to bc084a97318b for #1529142
KBK msg85379 says "The -e option now only opens an editor window,"
I think I agree with Tal's suggestion as long as thing still work ok on Mac. It
is trivial to open a new empty
Terry J. Reedy added the comment:
I read 'program name' as referring to 'Mercurial', not 'hg'. Perhaps Tshepang
did also. Read that way, it is not right. Reading it the intended way is not so
obvious to one who has never typed 'hg' on a command line.
Terry J. Reedy added the comment:
Proposing an expansion of the definition of product() is a *completely*
different issue from the validity of count() as an input. I answered correctly
given the current definition of product(): it is not valid input. It is also
not valid input to your
Terry J. Reedy added the comment:
A possible advantage of having the 3.3 fix available in earlier versions is
that people will be able to turn it on and have that be the *only* change --
just as with __future__ imports done one at a time
Terry J. Reedy added the comment:
> As much as the counting idea rubs me wrong,
FWIW, the original 2003 paper reported that the url-caching system that
they tested used collision-counting to evade attacks.
--
___
Python tracker
&l
Terry J. Reedy added the comment:
> You mean as a fix or that they successfully attacked a collision-counting
> system?
Successful anticipation and blocking of hash attack: after a chain of
100 DNS 'treats the request as a cache miss'. What is somewhat special
for this app
Terry J. Reedy added the comment:
A relatively simple change would be to allow the first iterable to be
'infinite', when repeat==1, by not calling tuple() on it. The reason for
turning the iterables into concrete sequences is because they might not be
reiterable. (cycle() does th
Terry J. Reedy added the comment:
Definitely out-of-scope for the tutorial. I consider this akin to monkey
patching imported modules.
--
___
Python tracker
<http://bugs.python.org/issue11
Terry J. Reedy added the comment:
I do not much like sentences starting with lowercase, so I combined our
sentences. The result is good enough, I think. Closing.
--
assignee: -> terry.reedy
resolution: -> fixed
stage: patch review -> committed/rejected
status: open
Terry J. Reedy added the comment:
Confirmed with on 3.2.2 Win7 for all three methods.
Docs say .append should raise AssertionError (see below).
However, that is unusual and TypeError is normal practice.
I am not sure what to do.
Our docs say: '''
append(subelement)
Adds the ele
Terry J. Reedy added the comment:
Doc patch attached to make sure correct. Should {} be quoted?
Eric, do you want to close off the idea of changing :d errors, or switch back
after the doc fix?
--
keywords: +patch
nosy: +terry.reedy
stage: -> test needed
Added file: h
Terry J. Reedy added the comment:
Pedro and Patrick: if you are going to respond by email rather than by typing
in the browser box, PLEASE delete the quoted text. Or on occasion, quote a line
or two if really necessary, as when responding to a previous message other than
the last one. Each
Changes by Terry J. Reedy :
--
resolution: -> duplicate
status: open -> closed
superseder: -> Pasted \n not same as typed \n
___
Python tracker
<http://bugs.python.or
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue13799>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I am closing this because map has even less chance of being made a collection
method than join. Unlike join, map takes any positive number of iterables as
args, not just one. 'Iterables' includes iterators, which intentionally need
have no methods
Changes by Terry J. Reedy :
--
nosy: +jnoller
stage: -> test needed
versions: -Python 3.4
___
Python tracker
<http://bugs.python.org/issue13812>
___
___
Py
Terry J. Reedy added the comment:
Calling g.close() is pointless for a generator used in normal pull mode and run
to completion, as in the example. The generator is already 'closed', so
g.close() does not do anything useful. See
http://docs.python.org/py3k/reference/expressions.
Terry J. Reedy added the comment:
Based on other examples in the doc, I think the note
"... and also supports iteration over its lines."
should be extended with
" It also has a dummy `flush` method, so that it can be wrapped using
:class:`io.TextIOWrapper`."
Then just ad
Terry J. Reedy added the comment:
The Chicago Manual of Style. which is perhaps the mostly widely used general
style manual in the US, uses 'th' as a suffix without ' or -.
ie, 28th, etc except for 22d ('preferred' to 22nd) and 23d ('preferred' to
23rd).
Changes by Terry J. Reedy :
--
nosy: +bethard
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue13818>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
I verified that 'as' and 'with' are in the 2.6 keyword.kwlist.
http://svn.python.org/projects/python/branches/release26-maint/Lib/keyword.py.
I verified that they work as keywords in 2.7.
http://svn.python.org/projects/python/branches
Terry J. Reedy added the comment:
OK, the example of an empty format spec should be dropped. Let people figure it
out ;-).
>>> format([], 'd')
Traceback (most recent call last):
File "", line 1, in
ValueError: Unknown format code 'd' for object of
Terry J. Reedy added the comment:
Looking further, I noticed that 'string' needed to be changed to
'specification' in the following sentence also. Then I decided that the
preceding sentence
"Most built-in types implement the following options for format specificatio
Terry J. Reedy added the comment:
Justin, if you do a new patch, put both changes in one .diff.
--
___
Python tracker
<http://bugs.python.org/issue13816>
___
___
Terry J. Reedy added the comment:
#13864 is a duplicate, where I mentioned the remedy of deleting the bad file.
This is similar to #5707, but I am not sure if exactly the same.
The patch there fixed one problem but not the bad key binding problem.
--
nosy: +serwy
versions: -Python
Terry J. Reedy added the comment:
The patch fixed a real issue, the difference return of filter in 3.x versus
2.x. Bad key bindings came up in #11437 and #13864 also.
--
nosy: +serwy, terry.reedy
versions: +Python 3.2 -Python 3.0, Python 3.1
Changes by Terry J. Reedy :
--
nosy: +serwy
___
Python tracker
<http://bugs.python.org/issue4765>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
#13071 is another duplicate closed in favor of this.
--
___
Python tracker
<http://bugs.python.org/issue11437>
___
___
Pytho
Changes by Terry J. Reedy :
--
nosy: +serwy
resolution: -> duplicate
status: open -> closed
superseder: -> IDLE crash on startup with typo in config-keys.cfg
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
What system are you running on?
I presume by 'keybindings in Python', you mean 'keybindings in IDLE'. Correct?
By 'change to control', do you mean you made a line in the IDLE Preferences
dialog, Keys tab, binding box, look like
&q
Terry J. Reedy added the comment:
Antoine, what reference other than the devguide are you referring to?
If you keep info I need out of the devguide, where am I supposed to find it?
python.org/dev now redirects to python.org/devguide.
--
___
Python
Terry J. Reedy added the comment:
IDLE has tear-off menus. From Help/IDLE Help:
"Click on the dotted line at the top of a menu to "tear it off":
a separate window containing the menu is created."
This is a feature, not a bug.
On 3.2.2, Win7, the Recent Files sub-menu canno
Terry J. Reedy added the comment:
We are aware that key-binding deletion is not working correctly.
I am pretty sure this report has the same underlying issue as #4765.
--
nosy: +serwy, terry.reedy
resolution: -> duplicate
status: open -> closed
superseder: -> IDLE fails t
Terry J. Reedy added the comment:
#13836 is another report of key-binding deletion not working correctly,
although IDLE did eventually open and allow re-deletion.
--
___
Python tracker
<http://bugs.python.org/issue4
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
stage: -> test needed
versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
--
stage: -> test needed
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issue13841>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
Do we actually yet another function, or could this be covered by adding a
parameter such as monotonic=False, perhaps to wallclock().
--
nosy: +terry.reedy
stage: -> patch review
type: -> enhancement
___
4301 - 4400 of 13135 matches
Mail list logo