Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425090 - dev-lang/python should ship a pdb symlink
Summary: dev-lang/python should ship a pdb symlink
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-06 18:37 UTC by Ben Longbons
Modified: 2012-07-09 18:40 UTC (History)
0 users

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 Ben Longbons 2012-07-06 18:37:05 UTC
specifically, each python:${SLOT} should ship
/usr/bin/pdb${SLOT} -> /usr/lib/python${SLOT}/pdb.py
and 'eselect python' should manage the pdb and pdb3 symlinks as slaves.

This will require changing the shebang at the top of pdb.py
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-07-09 15:34:44 UTC
I think that symlinks for each module are not needed.

You can use:
python -m pdb ...
python2 -m pdb ...
python3 -m pdb ...
python2.5 -m pdb ...
python2.6 -m pdb ...
python2.7 -m pdb ...
python3.1 -m pdb ...
python3.2 -m pdb ...
Comment 2 Ben Longbons 2012-07-09 18:19:08 UTC
Sure, it's *possible* to do without, but it would be nice, e.g. what Debian does.
Comment 3 Jesus Rivero (RETIRED) gentoo-dev 2012-07-09 18:40:35 UTC
(In reply to comment #2)
> Sure, it's *possible* to do without, but it would be nice, e.g. what Debian
> does.

Dont take this the wrong way, but is there a more compelling reason than 'nice' and 'debian' to do this?