[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-12 Thread Kafeel Ansari
New submission from Kafeel Ansari : I tried python3.8 for my project. But it is crashing in the beginning . When debugged , found out that "Line 145 in cloudpickle.py" is returning the value in bytes which is not expected. Code Snippet: _cell_set_template_code = _make_cell_set_template_co

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this on Python 3.8.0 ? There was a similar report in the past with cloudpickle at https://bugs.python.org/issue36886#msg342182 due to PEP 570 with which CodeType.replace was introduced. cloudpickle also added support for this with https://github

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-13 Thread Kafeel Ansari
Kafeel Ansari added the comment: Hi @xtreak , Thank you for the reply . Please find below detailed description. I was using python 3.8 and installed pyspark 2.4.4 . I encountered error related to cloudpickle file. Please find the attached snapshot. I tried to convert the value of co.co_cod

[issue38775] Cloudpickle.py file is crashing due to data type incompatibility.

2019-11-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess this was fixed upstream with https://github.com/apache/spark/commit/811d563fbf60203377e8462e4fad271c1140b4fa . Please try the latest version as per the commit details. I am closing this as third party since it's not a CPython issue. In futu