[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#869664: RFS: ptpython/0.39~20170703-1 [ITP]



Hi Andrey,

This package is aimed at experimental because I found
a problem by chance, when executing one of my
scripts. However the same problem won't occur when
using ipython3 or python3. So ipython3 cannot be simply
replaced by ptipython3 for me.

Due to that reason, I plan to move it to unstable if no
one complains about similar problems or other bugs.

https://github.com/jonathanslenders/ptpython/issues

~/g/w/a/digit-recognizer ❯❯❯ /usr/bin/ptipython3 mnist-th-convnet.py
[ .. omitted ... ]
Traceback (most recent call last):
  File "/usr/bin/ptpython3", line 11, in <module>
    load_entry_point('ptpython==0.39', 'console_scripts', 'ptpython3')()
  File "/usr/lib/python3/dist-packages/ptpython/entry_points/run_ptpython.py",
line 55, in run
    six.exec_(compile(open(a['<arg>'][0], "rb").read(), a['<arg>'][0], 'exec'))
  File "mnist-th-convnet.py", line 49, in <module>
    net = Net()
  File "mnist-th-convnet.py", line 24, in __init__
    super(Net, self).__init__()
NameError: name 'Net' is not defined


~/g/w/a/digit-recognizer ❯❯❯ /usr/bin/ipython3 mnist-th-convnet.py
[ .. omitted ... ]
-> Iter     1 | loss   2.196 | Bch Train Accu 0.28
-> Iter     2 | loss   1.967 | Bch Train Accu 0.47
-> Iter     3 | loss   1.853 | Bch Train Accu 0.53


On 25 July 2017 at 13:23, Andrey Rahmatullin <wrar@debian.org> wrote:
> Why is this aimed at experimental?
>
> --
> WBR, wRAR



-- 
Best,
Lumin


Reply to: