Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706218 - dev-python/epydoc is python2 only
Summary: dev-python/epydoc is python2 only
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-02-28
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on: 707036
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-01-24 02:49 UTC by Alessandro Barbieri
Modified: 2020-02-07 13:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-01-24 02:49:18 UTC
looking at upstream code here
https://sourceforge.net/p/epydoc/code/HEAD/tree/trunk/epydoc/src/epydoc/cli.py#l507
it uses print without parenthesis
Comment 1 penguinolog 2020-01-28 11:10:43 UTC
Code is extremally old (python 2.4) and looks like not updated for years.

Just fix of printing will be waste of time:
1. stdlib changes (import __builtin__, exceptions, popen2,cStringIO|StringIO,thread,Tkinter,tkFileDialog), 
2. exceptions (old raise syntax, except Exception, value)
3. print function
4. long type usage
5. manual backports for python 2.2 present
6. sys.stderr write string (for py3 bytes is required)
7. backquotes (`num_lines+1`)
8. exec pysrc in globals(), localdict
Comment 2 penguinolog 2020-01-28 11:11:34 UTC
Last code change in 2009 - more, than 10 years ago - looks like abandoned
Comment 3 Larry the Git Cow gentoo-dev 2020-01-29 07:23:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b2187afee5a25e52b1fde09a8f8e1e3d2db545

commit 55b2187afee5a25e52b1fde09a8f8e1e3d2db545
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-01-29 07:16:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-01-29 07:23:23 +0000

    package.mask: Last rite dev-python/epydoc
    
    Bug: https://bugs.gentoo.org/706218
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 4 penguinolog 2020-02-07 13:10:13 UTC
Should we fork and fix this dead code?