[issue19479] textwrap.dedent doesn't work properly with strings containing CRLF

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Emily, do you have any opinion on the issue? The complaint seems plausible, but I have not looked at the docs, nor the code to understand the import of '[^ \t\n]' (re for 'anything but space, tab, newline') matches '\r'. Alexis, you must sign the PSF contribu

[issue30754] textwrap.dedent mishandles empty lines

2017-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the current behavior is useful, but undocumented. Otherwise a blank line starting with unmatched whitespaces (e.g. " foo\n\t\n bar") would block deindenting. This also matches the behavior of Python parser which ignores all whitespaces in blank li

[issue30784] IDLE: separate editor window and text

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Absolutely essential, as I recentlly mentioned recently on another issue: text window and text frame containing scrolled wrapped text, status bar, and left side bar. Also essential is a proper base class that has functions common to Editor, Shell, and Output,

[issue29910] Ctrl-D eats a character on IDLE

2017-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2480 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19479] textwrap.dedent doesn't work properly with strings containing CRLF

2017-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure that textwrap.dedent() should support the CRLF line separator. Usually the conversion between different line separators (CRLF, CR, LF) used in in external files and LF used internally is done at I/O level. In any case this looks to me like rathe

[issue21519] IDLE : Bug in keybinding validity check

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 44913e584bcf4e2a0e1a6372c304c2d5ea521fc6 by terryjreedy in branch 'master': bpo-21519: IDLE basic custom key entry better detects duplicates. (#2428) https://github.com/python/cpython/commit/44913e584bcf4e2a0e1a6372c304c2d5ea521fc6 -- _

[issue30763] There is functionality bug in linecache library.

2017-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Emily and Guido. This is not a bug. Maybe this should be documented more explicitly if "cache" in the name is not enough, I don't know. I have no any special relation to the linecache module, maybe just once fixed a bug or two. -- ___

[issue21519] IDLE : Bug in keybinding validity check

2017-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2481 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30754] textwrap.dedent mishandles empty lines

2017-06-26 Thread Julian Berman
Julian Berman added the comment: @Terry IMHO it conflicts with the fundamental description of the function. > Remove any common leading whitespace from every line in text. If this behavior is intentional, textwrap.dedent does not do that, it does that, but also some other stuff. As for whethe

[issue30759] [2.7] Fix python2 -m test --list-cases test_multibytecodec_support test_robotparser

2017-06-26 Thread STINNER Victor
STINNER Victor added the comment: Well, this issue is not about discovering all test methods, but just to not fail with an error on: ./python -m test --list-cases -- ___ Python tracker _

[issue29910] Ctrl-D eats a character on IDLE

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8bdc3bd3d66fefdc07d32bd19c41c6f902f16111 by terryjreedy in branch '3.6': [3.6] bpo-29910: IDLE no longer deletes a character after commenting out a region (GH-825) (#2429) https://github.com/python/cpython/commit/8bdc3bd3d66fefdc07d32bd19c41c6f90

[issue29910] Ctrl-D eats a character on IDLE

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the fix. I am now comfortable enough with the new workflow to begin making a dent in the 100+ patch backlog waiting for review. -- resolution: -> fixed stage: test needed -> resolved status: open -> closed _

[issue21519] IDLE : Bug in keybinding validity check

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 93b88e995373c48713c9f7d4b32fe1d0166709e5 by terryjreedy in branch '3.6': [3.6] bpo-21519: IDLE basic custom key entry better detects duplicates. (GH-2428) (#2433) https://github.com/python/cpython/commit/93b88e995373c48713c9f7d4b32fe1d0166709e5

[issue21519] IDLE : Bug in keybinding validity check

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the patch. The F3-missing bug has been fixed. -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue30674] IDLE: add docstrings to grep.py

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 65474b9d7a230943d4d3f1d7d51f77bb141240f0 by terryjreedy (csabella) in branch 'master': bpo-30674: IDLE: add docstrings to grep.py (#2213) https://github.com/python/cpython/commit/65474b9d7a230943d4d3f1d7d51f77bb141240f0 -- _

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-06-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 305f333a447bc8cff62eece16fab7fe4a9bef71c by Victor Stinner in branch '2.7': bpo-30283: Add NEWS entry for backported regrtest (#2398) https://github.com/python/cpython/commit/305f333a447bc8cff62eece16fab7fe4a9bef71c -- _

[issue30674] IDLE: add docstrings to grep.py

2017-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2482 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28572] IDLE: add tests for config dialog.

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The macOS issue appears to be fixed. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ _

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tests should be tested on MacOS before being pushed. A possible issue is including constants that are different on different systems. See #28572 -- ___ Python tracker __

<    1   2   3