[ https://issues.apache.org/jira/browse/BEAM-8964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105915#comment-17105915 ]
Udi Meiri commented on BEAM-8964: --------------------------------- Oops I fixed this in https://github.com/apache/beam/pull/11016, but forgot to close the bug. I don't this warning at all in https://builds.apache.org/job/beam_PreCommit_Python_Cron/2746/ > DeprecationWarning: Flags not at the start of the expression > ------------------------------------------------------------- > > Key: BEAM-8964 > URL: https://issues.apache.org/jira/browse/BEAM-8964 > Project: Beam > Issue Type: Bug > Components: io-py-files > Reporter: Udi Meiri > Priority: Major > Labels: beginner, easy, newbie, starter > > I see lots of these warnings in our precommits. > {code} > 19:09:37 apache_beam/io/filesystem.py:583 > 19:09:37 > /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py36/build/srcs/sdks/python/apache_beam/io/filesystem.py:583: > DeprecationWarning: Flags not at the start of the expression > '\\/tmp\\/tmp2jslxh39\\/' (truncated) > 19:09:37 re_pattern = re.compile(self.translate_pattern(pattern)) > 19:09:37 > 19:09:37 apache_beam/io/filesystem.py:583 > 19:09:37 > /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/test-suites/tox/py36/build/srcs/sdks/python/apache_beam/io/filesystem.py:583: > DeprecationWarning: Flags not at the start of the expression > '\\/tmp\\/tmp03vpdu3z\\/' (truncated) > 19:09:37 re_pattern = re.compile(self.translate_pattern(pattern)) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)