This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年07月24日 14:46 by hoxily, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (5) | |||
|---|---|---|---|
| msg223842 - (view) | Author: Hoxily (hoxily) | Date: 2014年07月24日 14:46 | |
refer to http://hg.python.org/cpython/file/5d70ac83d104/Lib/asynchat.py#l123 |
|||
| msg223851 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年07月24日 15:39 | |
So you are saying that that if will never trigger and can be deleted? |
|||
| msg223857 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2014年07月24日 16:34 | |
Hoxily: It's best to spell out the bug you have found, preferably with an error/exception message and a way to reproduce it. My best guess at the problem you're reporting (after looking at that line about 4 times) is that "bytes(str, self.encoding)" should be "bytes(data, self.encoding)" and you're getting an error message like "TypeError: encoding or errors without a string argument". Is that correct? Also, note that asynchat is deprecated, you would probably be better off using asyncio. |
|||
| msg225995 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2014年08月27日 15:47 | |
Since Hoxily didn't reply the question, I suggest to close this issue as "not a bug" since we don't have enough information to understand it. |
|||
| msg225998 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年08月27日 15:58 | |
Since it is effectively a deprecated module, let's do that. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:06 | admin | set | github: 66257 |
| 2014年08月27日 15:58:01 | r.david.murray | set | status: open -> closed resolution: works for me messages: + msg225998 stage: resolved |
| 2014年08月27日 15:47:49 | vstinner | set | messages: + msg225995 |
| 2014年07月24日 16:35:06 | vstinner | set | nosy:
+ vstinner |
| 2014年07月24日 16:34:21 | zach.ware | set | nosy:
+ zach.ware messages: + msg223857 versions: + Python 3.5 |
| 2014年07月24日 15:39:20 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg223851 |
| 2014年07月24日 14:52:11 | hoxily | set | hgrepos: - hgrepo265 |
| 2014年07月24日 14:46:50 | hoxily | create | |