pcdshub / pcdshub/hutch-python
Namespace Creation Creates Invalid Names
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 18
- Avg merge
- 7d 9h
- Merged PRs (30d)
- 1
Description
Related to #147 but slightly different. If a device is named mfx_gige_01, we place this in a namespace accessed by mfx.gige.01 the only issue is this is an invalid Python attribute name.
I think this requires a different fix than #147. That issue has to with an invalid input into the system, this takes a valid Python identifier and deconstructs it until it is no longer usable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare this report with related issue #147, then trace the namespace-creation path in the repository to find where the valid device name is decomposed. Confirm how Python attribute names are produced and define a result that preserves usability without treating the original device name as invalid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100