View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015009ParaView(No Category)public2014-09-23 03:582014-12-04 10:32
ReporterVadim SANDLER 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version4.1 
Target VersionFixed in Version 
Summary0015009: Naming conflict with gtk package
DescriptionIn Paraview 4.1, there is a python module called gtk:

[PARAVIEW_INSTALL_DIR]/lib/paraview-4.1/site-packages/vtk/gtk

Problem is that this is also the name of standard python package.
Thus, any software using the gtk module may find the ParaView module instead of the standard one.
Is it possible to rename the gtk package in the Paraview to avoid naming conflict?
TagsNo tags attached.
ProjectParaViS
Topic Name
Typeusability
Attached Files

 Relationships

  Notes
(0033882)
Joachim Pouderoux (developer)
2014-12-03 10:04

Could'nt you import it as "from vtk import gtk", or "import vtk.gtk as
gtk" ? It's under the vtk package, which is equivalent to namespace.
We don't think it makes sense to rename a package to support "from vtk
import *; import gtk" use-case which is bad style anyways.
(0033894)
Vadim SANDLER (reporter)
2014-12-04 05:33

OK, this issue can be closed.

 Issue History
Date Modified Username Field Change
2014-09-23 03:58 Vadim SANDLER New Issue
2014-09-23 03:58 Vadim SANDLER Assigned To => Tristan Coulange
2014-12-03 10:04 Joachim Pouderoux Note Added: 0033882
2014-12-03 10:16 Joachim Pouderoux Status backlog => active development
2014-12-04 05:33 Vadim SANDLER Note Added: 0033894
2014-12-04 06:28 Joachim Pouderoux Assigned To Tristan Coulange => Utkarsh Ayachit
2014-12-04 10:32 Utkarsh Ayachit Status active development => gatekeeper review
2014-12-04 10:32 Utkarsh Ayachit Resolution open => no change required
2014-12-04 10:32 Utkarsh Ayachit Status gatekeeper review => customer review
2014-12-04 10:32 Utkarsh Ayachit Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team