dongjoon-hyun opened a new pull request, #57055: URL: https://github.com/apache/spark/pull/57055
### What changes were proposed in this pull request? This PR removes the obsolete PEP 263 encoding declarations (`# -*- coding: utf-8 -*-` and the `# -*- encoding: utf-8 -*-` variant) from the first line of 25 hand-written Python files. The auto-generated protobuf files (`*_pb2.py`) are excluded because they are regenerated by the codegen script, and their declarations are already no-ops (placed after the license header, beyond the first two lines required by PEP 263). ### Why are the changes needed? Since Python 3, the default source encoding is UTF-8 (PEP 3120), so these declarations are redundant. Most of the codebase already dropped them; this cleans up the remaining stragglers for consistency. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Fable 5 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
