Change by Ezra :
--
versions: +Python 3.10
___
Python tracker
<https://bugs.python.org/issue43026>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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.py
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',
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
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 trac
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 w