[issue14250] for string patterns regex.flags is never equal to 0

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac00531a63aa by Georg Brandl in branch '2.7': Closes #14250: regex.flags has not only explicit flags but also those from the pattern http://hg.python.org/cpython/rev/ac00531a63aa -- ___ Python tracker

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3b3a4a7d7b2 by Georg Brandl in branch '3.2': Closes #14250: regex.flags has not only explicit flags but also implicit flags and those from the pattern http://hg.python.org/cpython/rev/b3b3a4a7d7b2 -- nosy: +python-dev resolution: -> fixe

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-16 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-13 Thread Georg Brandl
Georg Brandl added the comment: There is even more wrongness here: if you give flags inline in the pattern, they also show up in .flags (since they are global, at least in the current implementation). Suggested patch attached. -- keywords: +patch nosy: +georg.brandl Added file: http:

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-12 Thread Eli Bendersky
Eli Bendersky added the comment: Oh, sorry I meant http://bugs.python.org/issue13385 -- ___ Python tracker ___ ___ Python-bugs-list m

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-12 Thread R. David Murray
R. David Murray added the comment: It doesn't look like it. Is that the right issue number? -- ___ Python tracker ___ ___ Python-bug

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-12 Thread Eli Bendersky
Eli Bendersky added the comment: Issue #13358 may be related -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mail

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-12 Thread R. David Murray
R. David Murray added the comment: Heh. Good point. Documenting this is a clear way may be non-trivial. -- ___ Python tracker ___ _

[issue14250] for string patterns regex.flags is never equal to 0

2012-03-12 Thread py.user
py.user added the comment: >>> import re >>> p = re.compile(br'') >>> p.flags 0 >>> -- title: regex.flags is never equal to 0 -> for string patterns regex.flags is never equal to 0 ___ Python tracker