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 2008年01月30日 10:59 by pitrou, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| fromhex.patch | pitrou, 2008年01月30日 11:13 | |||
| Messages (3) | |||
|---|---|---|---|
| msg61855 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年01月30日 10:59 | |
>>> bytearray.fromhex('')
bytearray(b'')
>>> bytes.fromhex('')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: Objects/stringobject.c:3131: bad argument to internal function
|
|||
| msg61858 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年01月30日 11:13 | |
Here is a patch. Unittest should be covered by removing the test_bytes workaround mentioned in #1972 :) |
|||
| msg61860 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2008年01月30日 11:28 | |
Thanks! :) Fixed in r60439 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:30 | admin | set | github: 46265 |
| 2008年01月30日 11:28:52 | christian.heimes | set | status: open -> closed nosy: + christian.heimes messages: + msg61860 priority: normal type: crash keywords: + patch resolution: fixed |
| 2008年01月30日 11:13:33 | pitrou | set | files:
+ fromhex.patch messages: + msg61858 |
| 2008年01月30日 10:59:37 | pitrou | create | |