Skip to content

Ruby 2.7 warning in rbtree_modify #6

@BrianHawley

Description

@BrianHawley

With every modifying operation on Ruby 2.7, this warning is shown: "warning: rb_safe_level will be removed in Ruby 3.0". In Ruby 2.7 the entire safe level concept is deprecated, with no replacement, to be removed completely in Ruby 3.0. The same goes for object tainting, so OBJ_TAINTED is deprecated too.

The code should check the ruby version before doing that entire statement, or have some equivalent guard method or ifdef that has the same effect. I don't really know how, but if this doesn't get fixed I'm going to have to figure it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions