Path: csiph.com!4.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#943083: Help needed (Was: Bug#943083: libncl: Python2 removal in sid/bullseye) Date: Mon, 16 Dec 2019 09:30:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Dec 16 08:21:10 2019 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.95 Reply-To: Andreas Tille , 943083@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Med Packaging Team X-Debian-Pr-Message: followup 943083 X-Debian-Pr-Package: src:libncl X-Debian-Pr-Keywords: bullseye sid X-Debian-Pr-Source: libncl X-Spam-Bayes: score:0.0000 Tokens: new, 39; hammy, 117; neutral, 33; spammy, 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--H*u:1.10.1, 0.000-+--H*UA:1.10.1, 0.000-+--H*u:2018-07-13, 0.000-+--H*UA:2018-07-13 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Debian-Message: from BTS X-Mailing-List: archive/latest/1574029 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 27 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 16 Dec 2019 09:17:50 +0100 X-Original-Message-ID: <20191216081750.GN13090@an3as.eu> X-Original-References: Xref: csiph.com linux.debian.bugs.dist:987401 linux.debian.maint.python:12154 Control: tags -1 help Hi, I tried 2to3 on the Python files belonging to libncl test suite. Upstream is using a somehow complex method to read config files. Before trying a complete rewrite I wonder whether someone might be able to make some sense out of: ... make check-local make[4]: Entering directory '/build/libncl-2.1.21+git20190531.feceb81/example/ncltest' /usr/bin/python3 ../../test/roundTripNCLTest.py ../../example/ncltest/ncltest ../../test/OldValidIn ../../test/OldValidOut Traceback (most recent call last): File "../../test/roundTripNCLTest.py", line 243, in inputParentPath = lineIter.next().strip() AttributeError: '_io.StringIO' object has no attribute 'next' make[4]: *** [Makefile:626: check-local] Error 1 ... Kind regards Andreas. -- http://fam-tille.de