Fokko commented on a change in pull request #29110:
URL: https://github.com/apache/spark/pull/29110#discussion_r458719410
##########
File path: python/pyspark/_globals.py
##########
@@ -59,10 +59,6 @@ def __new__(cls):
cls.__instance = super(_NoValueType, cls).__new__(cls)
return cls.__instance
- # needed for python 2 to preserve identity through a pickle
- def __reduce__(self):
- return (self.__class__, ())
-
Review comment:
Thanks for clearing up, lets keep it for now.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]