Skip to content

Python: Fix (upcoming) deprecation compiler-warnings#3551

Merged
tausbn merged 2 commits into
github:masterfrom
RasmusWL:python-fix-upcoming-deprecation
May 25, 2020
Merged

Python: Fix (upcoming) deprecation compiler-warnings#3551
tausbn merged 2 commits into
github:masterfrom
RasmusWL:python-fix-upcoming-deprecation

Conversation

@RasmusWL

Copy link
Copy Markdown
Member

In a near-future release overriding a deprecated predicate without making as deprecated would give a compiler warning.

Not fixing the XML one. I can see that this shouldn't be reported anymore, and it's not safe to remove since it was only marked as deprecated in e6425bb.

/cc @ginsbach

In a near-future release overriding a deprecated predicate without making as
deprecated would give a compiler warning.

Not fixing the XML one. [I can see that this shouldn't be reported
anymore](github#3520 (comment)), and
it's not safe to remove since it was only marked as deprecated in
e6425bb.
@RasmusWL RasmusWL requested a review from a team as a code owner May 25, 2020 09:08
@ginsbach

Copy link
Copy Markdown
Contributor

Thank you for going ahead with this proactively, much appreciated!

tausbn
tausbn previously approved these changes May 25, 2020

@tausbn tausbn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I'll just double-check the compilation log on Jenkins before merging this (once the tests have passed).

@tausbn

tausbn commented May 25, 2020

Copy link
Copy Markdown
Contributor

/Variables/undefined/UndefinedExport.ql uses strValue, so the tests now produce a deprecation warning. I would suggest changing this use of strValue to getText.

@RasmusWL

Copy link
Copy Markdown
Member Author

I'll just double-check the compilation log on Jenkins before merging this (once the tests have passed).

Since the compiler changes have not been merged yet (as far as I understand), you won't be able to see any warnings in the compilation log either 😉

@tausbn tausbn merged commit 7716cff into github:master May 25, 2020
@RasmusWL RasmusWL deleted the python-fix-upcoming-deprecation branch May 25, 2020 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants