[issue43026] Missing words renders meaning unclear in fcntl.html
New submission from Ezra : At https://docs.python.org/3/library/fcntl.html the docs read: the fcntl module exposes the F_OFD_GETLK, F_OFD_SETLK and F_OFD_SETLKW constants, which working with open file description locks. The exact intended meaning is unclear, perhaps: the fcntl module exposes the F_OFD_GETLK, F_OFD_SETLK and F_OFD_SETLKW constants, which are used for working with open file description locks. -- assignee: docs@python components: Documentation files: meaning_unclear.png messages: 385680 nosy: EzraBC, docs@python priority: normal severity: normal status: open title: Missing words renders meaning unclear in fcntl.html type: behavior versions: Python 3.9 Added file: https://bugs.python.org/file49766/meaning_unclear.png ___ Python tracker <https://bugs.python.org/issue43026> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43026] Missing words renders meaning unclear in fcntl.html
Change by Ezra : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue43026> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()
Ezra Berch added the comment: I've created a patch using the conditional expression in msg151945. The one problem I found with it is that when the input string is terminated by a newline it removes that newline. I've added an optional third argument: a function which determines which lines are indented. If omitted, the default behavior is to indent non-empty lines. -- keywords: +patch nosy: +ezberch Added file: http://bugs.python.org/file24374/indent.patch ___ Python tracker <http://bugs.python.org/issue13857> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()
Ezra Berch added the comment: Sorry, I guess I wasn't clear. The trailing-newlines issue was an issue with the conditional expression ncoghlan suggested. It's fixed in the patch I submitted (and covered by the tests). -- ___ Python tracker <http://bugs.python.org/issue13857> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13370] test_ctypes fails on osx 10.7
Ezra Berch added the comment: The reason for this issue appears to be a bug in the clang optimizer. This is why it only shows up with debug disabled. When I compile with -O0 instead of -O3, the test passes. This issue from the clang tracker may be the same issue: http://llvm.org/bugs/show_bug.cgi?id=9524 -- nosy: +ezberch ___ Python tracker <http://bugs.python.org/issue13370> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16203] Proposal: add re.fullmatch() method
Ezra Berch added the comment: Patch attached. I've taken a slightly different approach than what has been discussed here: rather than define a new fullmatch() function and method, I've defined a new re.FULLMATCH flag for match(). So an example would be re.match('abc','abc',re.FULLMATCH) The implementation is basically what has been discussed here, except done when the regular expression is compiled rather than at the user level. -- keywords: +patch nosy: +ezberch Added file: http://bugs.python.org/file28140/issue16203.patch ___ Python tracker <http://bugs.python.org/issue16203> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15045] Make textwrap.dedent() consistent with str.splitlines(True) and str.strip()
Ezra Berch added the comment: Here's a patch to do this, including some tests for the changed behavior. -- keywords: +patch nosy: +ezberch Added file: http://bugs.python.org/file28285/issue15045.patch ___ Python tracker <http://bugs.python.org/issue15045> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com