FS#47364 - [python2-chardet] chardet/chardetect.py uses #!/usr/bin/env python

Attached to Project: Arch Linux
Opened by DJ Lucas (DJ_Lucas) - Sunday, 13 December 2015, 19:11 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 08 September 2017, 20:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Uses python in shebang rather than python2

Additional info:
* package version(s)
2.3.0-2
* config and/or log files etc.
N/A
Steps to reproduce:
N/A
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Friday, 08 September 2017, 20:38 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Sunday, 13 December 2015, 19:18 GMT
Does it matter? Unless you're calling it directly, it shouldn't.
Comment by DJ Lucas (DJ_Lucas) - Monday, 14 December 2015, 04:08 GMT
No, given these are not executable, it doesn't affect operation. I just happened to notice the inconsistency given the other 40 or so python2-* packages I have installed and reported it (it should be noted that around half of those are AUR and a sprinkle of local packages). As to whether it matters, that's up to you, but you did get a bug report on it. :-/ It might get reported again in the future, or might not. The only problem for me is that it was an unknown (quickly dismissed) while drudging through some unrelated errors in another package. I went ahead and reported for all four (one was an AUR package). I didn't bother bugging for docu or ez_setup templates, figuring that Arch users should be intelligent enough to dismiss these (including the ones I bugged now that I think about it...inconsistency on my own part I suppose). This is a one line fix in the PKGBUILD. For tevent it is also a one liner. python2-chardet is only slightly more involved, a for in do loop works nicely enough. IMO, it's not worth a new package release, but in the next package update(s) it would probably be nice if it were consistent. If it's not important, then feel free to close notabug/wontfix or equivalent.

Loading...