[issue42330] Add browsh in the webbrowser module

2020-11-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-14 Thread Terry J. Reedy
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,

[issue42316] Walrus Operator in list index

2020-11-14 Thread Terry J. Reedy
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

[issue13888] test_builtin failure when run after test_tk

2020-11-15 Thread Terry J. Reedy
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

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-11-15 Thread Terry J. Reedy
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

[issue12726] explain that locale.getlocale() does not read system's locales

2020-11-16 Thread Terry J. Reedy
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 &#

[issue42335] Python Crashes Exception code 0xc0000374 ntdll.dll

2020-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you. Good luck tracking down the problem. -- ___ Python tracker <https://bugs.python.org/issue42335> ___ ___ Python-bug

[issue11604] Have type(n,b,d) check for type(b[i]) is module

2020-11-16 Thread Terry J. Reedy
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

[issue17157] issubclass() should accept iterables in 2nd arg

2020-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: except ... is another instance of (exception) class or tuple of classes. -- ___ Python tracker <https://bugs.python.org/issue17

[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-18 Thread Terry J. Reedy
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

[issue42416] IDLE calltip.get_argspec: use inspect.getdoc, comment fob

2020-11-19 Thread Terry J. Reedy
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

[issue42416] IDLE calltip.get_argspec: use inspect.getdoc, comment fob

2020-11-19 Thread Terry J. Reedy
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

[issue42416] IDLE calltip.get_argspec: use inspect.getdoc, comment fob

2020-11-19 Thread Terry J. Reedy
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

[issue42416] IDLE calltip.get_argspec: use inspect.getdoc, comment fob

2020-11-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-11-20 Thread Terry J. Reedy
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

[issue42352] A string representation of slice objects with colon syntax

2020-11-20 Thread Terry J. Reedy
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

[issue42356] Dict inline manipulations

2020-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Eric suggestion. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue42356> ___ ___ Python-bug

[issue42407] Grammatical typo in multiprocessing doc

2020-11-20 Thread Terry J. Reedy
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 -

[issue42414] unable to document fields of dataclass

2020-11-20 Thread Terry J. Reedy
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

[issue42419] Typo in "what's new in Python 3.9"

2020-11-20 Thread Terry J. Reedy
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

[issue42407] Grammatical typo in multiprocessing doc

2020-11-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42419] Typo in "what's new in Python 3.9"

2020-11-20 Thread Terry J. Reedy
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

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2020-11-21 Thread Terry J. Reedy
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

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2020-11-21 Thread Terry J. Reedy
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.

[issue42426] IDLE: Fix reporting RE error in searchengine

2020-11-21 Thread Terry J. Reedy
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

[issue42426] IDLE: Fix reporting RE error in searchengine

2020-11-21 Thread Terry J. Reedy
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

[issue42426] IDLE: Fix reporting RE error in searchengine

2020-11-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42391] Clarify documentation of TestCase.assertIs

2020-11-21 Thread Terry J. Reedy
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 -

[issue42391] Clarify documentation of TestCase.assertIs

2020-11-21 Thread Terry J. Reedy
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

[issue42299] Remove formatter module

2020-11-24 Thread Terry J. Reedy
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

[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-24 Thread Terry J. Reedy
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

[issue42299] Remove formatter module

2020-11-26 Thread Terry J. Reedy
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

[issue10344] codecs.readline doesn't care buffering=0

2012-01-13 Thread Terry J. Reedy
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

[issue10344] codecs.StreamReader.readline doc needs fix

2012-01-13 Thread Terry J. Reedy
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

[issue13753] str.join description contains an incorrect reference to argument

2012-01-13 Thread Terry J. Reedy
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

[issue1397474] timeit execution enviroment

2012-01-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1

[issue8473] doctest fails if you have inconsistent lineendings

2012-01-13 Thread Terry J. Reedy
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

[issue13722] "distributions can disable the encodings package"

2012-01-13 Thread Terry J. Reedy
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

[issue13723] Regular expressions: (?:X|\s+)*$ takes a long time

2012-01-13 Thread Terry J. Reedy
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

[issue13726] regrtest ambiguous -S flag

2012-01-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue13726> ___ ___ Python-

[issue13725] regrtest does not recognize -d flag

2012-01-13 Thread Terry J. Reedy
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

[issue13730] Grammar mistake in Decimal documentation

2012-01-13 Thread Terry J. Reedy
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

[issue13744] raw byte strings are described in a confusing way

2012-01-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue13744> ___ ___ Python-bugs-list mailin

[issue13749] socketserver can't stop

2012-01-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue13749> ___ ___ Python-bugs-list mai

[issue13751] multiprocessing.pool hangs if any worker raises an Exception whose constructor requires a parameter

2012-01-13 Thread Terry J. Reedy
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

[issue13769] json.dump(ensure_ascii=False) return str instead of unicode

2012-01-13 Thread Terry J. Reedy
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

[issue13780] make YieldFrom its own node

2012-01-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Interpreter Core stage: -> patch review type: -> enhancement versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/i

[issue13789] _tkinter does not build on Windows 7

2012-01-14 Thread Terry J. Reedy
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

[issue13495] IDLE: Regressions - Two ColorDelegator instances loaded and -e no longer edits new files.

2012-01-14 Thread Terry J. Reedy
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

[issue13039] IDLE editor: shell-like behaviour on line starting with ">>>"

2012-01-15 Thread Terry J. Reedy
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

[issue13039] IDLE editor: shell-like behaviour on line starting with ">>>"

2012-01-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue13039> ___ ___

[issue13791] Reword “Old versions” in the doc sidebar

2012-01-15 Thread Terry J. Reedy
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

[issue13789] _tkinter does not build on Windows 7

2012-01-15 Thread Terry J. Reedy
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

[issue6528] builtins colored as keyword at beginning of line

2012-01-16 Thread Terry J. Reedy
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 (

[issue13052] IDLE: replace ending with '\' causes crash

2012-01-16 Thread Terry J. Reedy
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

[issue6528] builtins colored as keyword at beginning of line

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

[issue11906] test_argparse failure in interactive mode

2012-01-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue11906> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13122] Out of date links in the sidebar of the documentation index of versions 3.1 and 3.2

2012-01-16 Thread Terry J. Reedy
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

[issue13052] IDLE: replace ending with '\' causes crash

2012-01-16 Thread Terry J. Reedy
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

[issue8285] IDLE not smart indenting correctly in nested statements

2012-01-16 Thread Terry J. Reedy
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&#

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2012-01-16 Thread Terry J. Reedy
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

[issue7676] IDLE shell shouldn't use TABs

2012-01-16 Thread Terry J. Reedy
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

[issue964437] idle help is modal

2012-01-16 Thread Terry J. Reedy
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

[issue6698] IDLE no longer opens only an edit window when configured to do so

2012-01-16 Thread Terry J. Reedy
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

[issue13763] Potentially hard to understand wording in devguide

2012-01-18 Thread Terry J. Reedy
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.

[issue10109] itertools.product with infinite iterator cause MemoryError.

2012-01-18 Thread Terry J. Reedy
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

[issue13703] Hash collision security issue

2012-01-18 Thread Terry J. Reedy
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

[issue13703] Hash collision security issue

2012-01-18 Thread Terry J. Reedy
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

[issue13703] Hash collision security issue

2012-01-18 Thread Terry J. Reedy
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

[issue10109] itertools.product with infinite iterator cause MemoryError.

2012-01-18 Thread Terry J. Reedy
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

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2012-01-19 Thread Terry J. Reedy
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

[issue13763] Potentially hard to understand wording in devguide

2012-01-19 Thread Terry J. Reedy
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

[issue13782] xml.etree.ElementTree: Element.append doesn't type-check its argument

2012-01-20 Thread Terry J. Reedy
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

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2012-01-20 Thread Terry J. Reedy
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

[issue13796] use 'text=...' to define the text attribute of and xml.etree.ElementTree.Element

2012-01-20 Thread Terry J. Reedy
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

[issue13798] Pasting and then running code doesn't work in the IDLE Shell

2012-01-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate status: open -> closed superseder: -> Pasted \n not same as typed \n ___ Python tracker <http://bugs.python.or

[issue13799] Base 16 should be hexadecimal in Unicode HOWTO

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

[issue13804] Python library structure creates hard to read code when using higher order functions

2012-01-20 Thread Terry J. Reedy
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

[issue13812] multiprocessing package doesn't flush stderr on child exception

2012-01-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +jnoller stage: -> test needed versions: -Python 3.4 ___ Python tracker <http://bugs.python.org/issue13812> ___ ___ Py

[issue13814] Generators as context managers.

2012-01-20 Thread Terry J. Reedy
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.

[issue13815] tarfile.ExFileObject can't be wrapped using io.TextIOWrapper

2012-01-20 Thread Terry J. Reedy
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

[issue13816] Two typos in the docs

2012-01-20 Thread Terry J. Reedy
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).

[issue13818] argparse: -h listening required options under optional arguments

2012-01-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +bethard stage: -> test needed ___ Python tracker <http://bugs.python.org/issue13818> ___ ___ Python-bugs-list mai

[issue13820] 2.6 is no longer in the future

2012-01-20 Thread Terry J. Reedy
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

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2012-01-20 Thread Terry J. Reedy
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

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2012-01-21 Thread Terry J. Reedy
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

[issue13816] Two typos in the docs

2012-01-22 Thread Terry J. Reedy
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> ___ ___

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2012-01-25 Thread Terry J. Reedy
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

[issue5707] IDLE will not load

2012-01-25 Thread Terry J. Reedy
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

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2012-01-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +serwy ___ Python tracker <http://bugs.python.org/issue4765> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2012-01-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: #13071 is another duplicate closed in favor of this. -- ___ Python tracker <http://bugs.python.org/issue11437> ___ ___ Pytho

[issue13071] IDLE accepts, then crashes, on invalid key bindings.

2012-01-25 Thread Terry J. Reedy
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

[issue13864] IDLE: Python 2.7.2 refuses to open

2012-01-25 Thread Terry J. Reedy
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

[issue13455] Reorganize tracker docs in the devguide

2012-01-26 Thread Terry J. Reedy
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

[issue13884] IDLE 2.6.5 Recent Files undocks

2012-01-26 Thread Terry J. Reedy
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

[issue13836] Define key failed

2012-01-27 Thread Terry J. Reedy
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

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2012-01-27 Thread Terry J. Reedy
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

[issue13839] -m pstats should combine all the profiles given as arguments

2012-01-27 Thread Terry J. Reedy
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

[issue13841] multiprocessing should use sys.exit() where possible

2012-01-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed versions: -Python 3.2 ___ Python tracker <http://bugs.python.org/issue13841> ___ ___ Python-bugs-list mai

[issue13846] Add time.monotonic() function

2012-01-27 Thread Terry J. Reedy
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 ___

<    39   40   41   42   43   44   45   46   47   48   >