[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, there is nothing to backport since the trunk version doesn't handle bytearrays in the first place! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-01-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : The read() method on ssl objects can take a buffer as a parameter, but the method is buggy in this case: - it only accepts bytearrays, while it should accept any object supporting the buffer protocol in write mode - when the object is not a bytearray, it retu

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Bumping to critical since the io-c branch won't be merged before this is solved. -- priority: normal -> critical ___ Python tracker ___

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-02-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm no ssl expert either, but the patch looks fine to me. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-02-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Applied the patch to py3k in r70072. Do you have a trunk backport? ___ Python tracker ___ ___ Python-bugs-

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-02-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: No, and since I don't how to test it out of running the io-c branch on test_ssl and test_poplib, I'd recommend not backporting it unless an SSL expert takes a look. ___ Python tracker _

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-02-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ok, will leave as is. -- versions: -Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-bug