mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #23681: Fixed Python 2 to 3 poring bugs.
Indexing bytes retiurns an integer, not bytes.
This commit is contained in:
commit
ee4c0b9dcf
6 changed files with 13 additions and 15 deletions
|
|
@ -154,7 +154,7 @@ class SMTPChannel(asynchat.async_chat):
|
|||
else:
|
||||
self._emptystring = b''
|
||||
self._linesep = b'\r\n'
|
||||
self._dotsep = b'.'
|
||||
self._dotsep = ord(b'.')
|
||||
self._newline = b'\n'
|
||||
self._set_rset_state()
|
||||
self.seen_greeting = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue