#2141: commands.py file conflicts with python standard library
------------------------+---------------------------------------------------
Reporter: zafy | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: 1.1
Component: TurboGears | Version: 1.0.8
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by Chris Arndt):
Arguably, with Python >= 2.4 (2.3 is not supported by TG >= 1.1) you could
use the `subprocess` module for everything that the `commands` module
does, but I guess third-party code that uses `commands` might still break
because of the name conflict.
I don't like the name `commands_tg.py` though, it goes against PEP8 naming
rules and the module contents are not really TG specific, the general
pattern could be used for all kinds of command line commands your app
supplies.
Any suggestions for a better module name anyone?
--
Ticket URL: <http://trac.turbogears.org/ticket/2141#comment:3>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---