Hugo Shi <hugo.r....@gmail.com> added the comment:

I didn't run the unittests in windows, But I don't have the capability to do so 
at the moment.  I maybe able to do this on monday

I don't know why AuthenticationKey has security issues with being pickled, 
however in process.py


#                                                                               
                                                                                
                                  
# We subclass bytes to avoid accidental transmission of auth keys over network  
                                                                                
                                  
#                                                                               
                                                                                
                                  

class AuthenticationString(bytes):
    def __reduce__(self):
        from .forking import Popen
        if not Popen.thread_is_spawning():
            raise TypeError(
                'Pickling an AuthenticationString object is '
                'disallowed for security reasons'
                )
        return AuthenticationString, (bytes(self),)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to