Message342182
remark: I get a similar error from two packages, when experimenting with Python-3.8.0a4 on Windows
````
import asyncio
await asyncio.sleep(0)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
C:\WinP\bd38\bu\WPy64-3800a4\python-3.8.0a4.amd64\lib\site-packages\IPython\core\interactiveshell.py in removed_co_newlocals(function)
139 CO_NEWLOCALS = 0x0002
140 code = function.__code__
--> 141 new_code = CodeType(
142 code.co_argcount,
143 code.co_kwonlyargcount,
TypeError: an integer is required (got type bytes)
````
or else:
````
import cloudpickle
````
````
import cloudpickle
1 0 1 3 19 b'\x87\x00f\x01d\x01d\x02\x84\x08\x01\x00|\x00\x89\x00d\x00S\x00' (None, <code object <lambda> at 0x000001B36B7D49B0, file "C:\WinP\bd38\bu\WPy64-3800a4\python-3.8.0a4.amd64\lib\site-packages\cloudpickle\cloudpickle.py", line 107>, '_make_cell_set_template_code.<locals>.inner.<locals>.<lambda>') () ('value',) C:\WinP\bd38\bu\WPy64-3800a4\python-3.8.0a4.amd64\lib\site-packages\cloudpickle\cloudpickle.py inner 106 b'\x00\x01\x0c\x01' ('cell',)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-316e5ca2d1c8> in <module>
----> 1 import cloudpickle
C:\WinP\bd38\bu\WPy64-3800a4\python-3.8.0a4.amd64\lib\site-packages\cloudpickle\__init__.py in <module>
1 from __future__ import absolute_import
2
----> 3 from cloudpickle.cloudpickle import *
4
5 __version__ = '1.0.0'
C:\WinP\bd38\bu\WPy64-3800a4\python-3.8.0a4.amd64\lib\site-packages\cloudpickle\cloudpickle.py in <module>
165
166
--> 167 _cell_set_template_code = _make_cell_set_template_code()
168
169
C:\WinP\bd38\bu\WPy64-3800a4\python-3.8.0a4.amd64\lib\site-packages\cloudpickle\cloudpickle.py in _make_cell_set_template_code()
146 co.co_lnotab,
147 co.co_cellvars)
--> 148 return types.CodeType(
149 co.co_argcount,
150 co.co_kwonlyargcount,
TypeError: an integer is required (got type bytes) |
|
Date |
User |
Action |
Args |
2019-05-11 10:35:09 | Big Stone | set | recipients:
+ Big Stone, paul.moore, tim.golden, zach.ware, steve.dower |
2019-05-11 10:35:09 | Big Stone | set | messageid: <1557570909.72.0.695431824181.issue36886@roundup.psfhosted.org> |
2019-05-11 10:35:09 | Big Stone | link | issue36886 messages |
2019-05-11 10:35:09 | Big Stone | create | |
|