ipython / ipython/ipyparallel

low-frequency error on module object with `use_dill`

オープン
#113 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
2.6k
フォーク
1k
PR マージ指標
30日以内にマージされた PR はありません

説明

Apparently there's a low-frequency issue (submitted by @jakirkham) that surfaces with code similar to this:

```
from ipyparallel import Client

client = Client()
client[:].use_dill().get()

with client[:].sync_imports():
import nest
from nest import A, B
```

Which produces:

```
AttributeError: 'module' object has no attribute '__main__'
```

I have not been able to reproduce the error, however @tcwalther has -- and provides a workaround.

See https://github.com/uqfoundation/dill/issues/133.

To me, it smells like something `ipyparallel` should be handling… so, I'm punting this over to an `ipyparallel` ticket until I hear differently.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。