* Karl Williamson <public@khwilliamson.com> [2015-12-14T21:05:27] > Ok. I'd like ideas on how to word the deprecation message that gets raised. > I don't like what I've come up with: > > "It is deprecated to '%s' a string containing non-byte data", > > where %s is PL_op_name[PL_op->op_type]); > > I don't like it because it uses the passive voice, but more importantly, the > name becomes something like 'bit_xor', which I don't > think will necessarily make sense to the reader. Evantually fatal as: Strings with code points over 0xFF may not be used as arguments to %s operator So warning as: Use of strings with code points over 0xFF as arguments to %s operator is deprecated Matches the warning on opening ref to string with wide characters. I don't think "bit_xor operator" is so bad, in the case that we can't just get & or | etc. -- rjbsThread Previous | Thread Next